Views
No views yet
0.5.21base_model: meta-llama/Llama-3.1-8B
2model_type: AutoModelForCausalLM
3tokenizer_type: AutoTokenizer
4tokenizer_use_fast: false
5resize_token_embeddings_to_32x: false
6
7flash_attention: true
8xformers_attention:
9
10load_in_8bit: false
11load_in_4bit: false
12strict: false
13
14datasets:
15 - path: skymizer/Llama3.1-base-tokenized-dolma-v1_7-50B
16 train_on_split: train
17 type: completion
18
19test_datasets:
20 - path: skymizer/Llama3.1-tokenized-dolma-v1_7-test
21 split: test
22 type: completion
23
24is_preprocess: true
25skip_prepare_dataset: true
26
27dataset_prepared_path: /mnt/home/model-team/datasets/pretokenized/Llama3.1-8B-base-tokenized-dolma-v1_7_50B-4096
28
29hf_use_auth_token: true
30output_dir: /mnt/home/model-team/models/Llama3.1-8B-relu-stage-2-dolma-50B-4096
31resume_from_checkpoint:
32auto_resume_from_checkpoints: true
33
34sequence_len: 4096
35sample_packing: true
36sample_packing_group_size: 100000
37sample_packing_bin_size: 200
38pad_to_sequence_len: true
39
40eval_sample_packing: false
41# eval_causal_lm_metrics: ["perplexity"]
42
43wandb_project: "sparse-tuning-cpt"
44wandb_entity:
45wandb_watch:
46wandb_name: "Llama3.1-8B-relu-stage-1-dolma-50B-4096"
47wandb_log_model:
48
49# global batch size = 2 * 8 * 8 GPUs * 8 Nodes * 4096 = 4M
50gradient_accumulation_steps: 8
51micro_batch_size: 2
52 # eval_batch_size: 2
53num_epochs: 1
54optimizer: adamw_torch
55learning_rate: 0.000015
56lr_scheduler: cosine
57cosine_min_lr_ratio: 1.0
58weight_decay: 0.0
59adam_beta1: 0.9
60adam_beta2: 0.95
61adam_eps: 0.000001
62max_grad_norm: 1.0
63
64train_on_inputs: false
65group_by_length: false
66bf16: true
67fp16:
68tf32: false
69
70hub_model_id: "skymizer/Llama3.1-8B-relu-stage-2-dolma-v1_7-50B-4096"
71
72save_strategy: "steps"
73save_steps: 500
74
75gradient_checkpointing: true
76gradient_checkpointing_kwargs:
77 use_reentrant: false
78early_stopping_patience:
79resume_from_checkpoint:
80local_rank:
81logging_steps: 1
82
83warmup_steps: 1
84eval_steps: 500
85eval_table_size:
86debug:
87deepspeed: /root/train/axolotl/deepspeed_configs/zero3_bf16.json
88fsdp:
89fsdp_config:
90seed: 42
91
92special_tokens:
93 pad_token: "<|end_of_text|>"
94| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 14.2348 | 0.0001 | 1 | 14.2931 |
| 2.9296 | 0.0414 | 500 | 3.0717 |
| 2.6209 | 0.0829 | 1000 | 2.7409 |
| 2.4945 | 0.1243 | 1500 | 2.6571 |
| 2.5314 | 0.1657 | 2000 | 2.6148 |
| 2.4494 | 0.2072 | 2500 | 2.5855 |
| 2.4257 | 0.2486 | 3000 | 2.5569 |
| 2.4346 | 0.2901 | 3500 | 2.5402 |
| 2.4243 | 0.3315 | 4000 | 2.5284 |
| 2.3699 | 0.3729 | 4500 | 2.5134 |
| 2.4072 | 0.4144 | 5000 | 2.5064 |
| 2.4064 | 0.4558 | 5500 | 2.4953 |
| 2.3683 | 0.4972 | 6000 | 2.4950 |
| 2.3811 | 0.5387 | 6500 | 2.4804 |
| 2.3494 | 0.5801 | 7000 | 2.4734 |
| 2.3444 | 0.6215 | 7500 | 2.4663 |
| 2.3578 | 0.6630 | 8000 | 2.4626 |
| 2.344 | 0.7044 | 8500 | 2.4557 |
| 2.3284 | 0.7458 | 9000 | 2.4529 |
| 2.3086 | 0.7873 | 9500 | 2.4488 |
| 2.321 | 0.8287 | 10000 | 2.4443 |
| 2.3339 | 0.8702 | 10500 | 2.4409 |
| 2.3236 | 0.9116 | 11000 | 2.4391 |
| 2.3404 | 0.9530 | 11500 | 2.4387 |
| 2.3103 | 0.9945 | 12000 | 2.4342 |