Views
No views yet
0.6.01# We train the exact same as 02-llama31 but we swap gradient accum and micro bs (should be same but faster?)
2
3base_model: meta-llama/Meta-Llama-3.1-8B-Instruct
4model_type: LlamaForCausalLM
5tokenizer_type: AutoTokenizer
6
7load_in_8bit: false
8load_in_4bit: false
9strict: false
10
11# User Liger
12plugins:
13 - axolotl.integrations.liger.LigerPlugin
14liger_rope: true
15liger_rms_norm: true
16liger_glu_activation: true
17liger_fused_linear_cross_entropy: true
18
19chat_template: llama3
20datasets:
21 - path: /fsx/ubuntu/meti/data/shisa-v1-bestseqshuffle42-reannoatated-filtered
22 # type: sharegpt deprecated
23 type: chat_template
24 field_messages: conversations
25 message_field_role: from
26 message_field_content: value
27dataset_prepared_path: last_run_prepared
28val_set_size: 0.05
29output_dir: ./outputs/ablation-19-rafbestseqshuffle-shisa-v2-llama-3.1-8b-lr8e6
30
31sequence_len: 8192
32sample_packing: true
33pad_to_sequence_len: true
34
35# marginal difference
36neftune_noise_alpha: 5
37
38use_wandb: true
39wandb_project: shisa-v2
40wandb_entity: augmxnt
41wandb_name: ablation-19-rafbestseqshuffle-shisa-v2-llama-3.1-8b-lr8e6
42
43gradient_accumulation_steps: 2
44micro_batch_size: 4
45num_epochs: 3
46optimizer: paged_adamw_8bit
47lr_scheduler: linear
48learning_rate: 8e-6
49
50train_on_inputs: false
51group_by_length: false
52bf16: auto
53fp16:
54tf32: false
55
56gradient_checkpointing: true
57gradient_checkpointing_kwargs:
58 use_reentrant: false
59early_stopping_patience:
60resume_from_checkpoint:
61logging_steps: 1
62xformers_attention:
63flash_attention: true
64
65warmup_steps: 100
66evals_per_epoch: 2
67eval_table_size:
68saves_per_epoch: 0
69save_total_limit: 1 # Only store a single checkpoint
70debug:
71deepspeed: zero3_bf16.json
72weight_decay: 0.00
73fsdp:
74fsdp_config:
75special_tokens:
76 pad_token: <|end_of_text|>| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 0.7874 | 0.0019 | 1 | 0.8008 |
| 0.6386 | 0.5009 | 268 | 0.6177 |
| 0.5713 | 1.0019 | 536 | 0.5855 |
| 0.5718 | 1.5028 | 804 | 0.5784 |
| 0.438 | 2.0037 | 1072 | 0.5701 |
| 0.4763 | 2.5047 | 1340 | 0.5757 |