1base_model: Qwen/Qwen2.5-Math-7B
2
3plugins:
4 - axolotl.integrations.liger.LigerPlugin
5
6liger_rope: true
7liger_rms_norm: true
8liger_swiglu: true
9liger_fused_linear_cross_entropy: true
10
11strict: false
12
13chat_template: chatml
14datasets:
15
16 - path: arcee-ai/orcamath_evol_85k
17 type: chat_template
18 split: train
19 field_messages: conversations
20 message_field_role: from
21 message_field_content: value
22
23 - path: allenai/tulu-3-sft-personas-math
24 type: chat_template
25 split: train[:10%]
26 field_messages: messages
27 message_field_role: role
28 message_field_content: content
29
30 - path: allenai/tulu-3-sft-personas-algebra
31 type: chat_template
32 split: train
33 field_messages: messages
34 message_field_role: role
35 message_field_content: content
36
37dataset_prepared_path: ./axolotl-datasets/math-evol-prepared
38val_set_size: 0.02
39output_dir: ./axolotl-outputs/Arcee-7B-Mathy-7B-6e
40
41sequence_len: 4096
42sample_packing: true
43eval_sample_packing: false
44pad_to_sequence_len: true
45
46wandb_project: "Arcee-Mathy-7B"
47wandb_entity:
48wandb_watch:
49wandb_name:
50wandb_log_model:
51
52gradient_accumulation_steps: 8
53micro_batch_size: 4
54num_epochs: 6
55optimizer: adamw_torch_fused #adamw_torch_fused # if you have OOM errors you can use adamw_8bit
56lr_scheduler: linear
57learning_rate: 5e-6
58
59train_on_inputs: false
60group_by_length: false
61bf16: auto
62fp16:
63tf32: false
64
65gradient_checkpointing: true
66gradient_checkpointing_kwargs:
67 use_reentrant: true
68early_stopping_patience:
69resume_from_checkpoint:
70logging_steps: 1
71xformers_attention:
72flash_attention: true
73
74warmup_steps: 50
75evals_per_epoch: 1
76eval_table_size:
77saves_per_epoch: 1
78debug:
79deepspeed: deepspeed_configs/zero3_bf16.json
80weight_decay: 0.0
81
82special_tokens:
83 pad_token: <|endoftext|>
84 eos_token: <|im_end|>
85