0.11.01base_model: Qwen/Qwen3-1.7B
2
3# plugins:
4# - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
5strict: false
6
7# plugins:
8# - axolotl.integrations.liger.LigerPlugin
9
10# liger_rope: true
11# liger_rms_norm: true
12# liger_glu_activation: true
13# liger_layer_norm: true
14# liger_fused_linear_cross_entropy: true
15
16datasets:
17 - path: sumuks/essential-web-v1.0-sample-100M-with-cleaned-responses-sft
18 type: chat_template
19 field_messages: conversations
20 split: train
21val_set_size: 0.05
22dataset_prepared_path: dataset/prepared_dataset_1.7b
23
24train_on_inputs: false
25output_dir: ./output/1.7B-Instruct-Tuned-New-Data
26chat_template: qwen3
27sequence_len: 8192
28sample_packing: true
29eval_sample_packing: true
30# pad_to_sequence_len: true
31
32wandb_project: essential-web-sft
33wandb_name: qwen3-1.7b-sft-new-data
34
35gradient_accumulation_steps: 4
36gradient_checkpointing: true
37gradient_checkpointing_kwargs:
38 use_reentrant: false
39flash_attention: true
40micro_batch_size: 1
41optimizer: paged_adamw_8bit
42lr_scheduler: cosine
43learning_rate: 2e-5
44num_epochs: 1
45
46load_best_model_at_end: true
47metric_for_best_model: loss
48greater_is_better: false
49
50early_stopping_patience: 3
51bf16: auto
52tf32: true
53
54logging_steps: 5
55
56deepspeed: ./configs_prod/zero3.json
57
58save_steps: 500
59eval_steps: 500
60
61warmup_ratio: 0.05
62# save_first_step: true| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| No log | 0 | 0 | 0.8829 |
| 0.3689 | 0.1517 | 500 | 0.4088 |
| 0.3919 | 0.3033 | 1000 | 0.3952 |
| 0.386 | 0.4550 | 1500 | 0.3839 |
| 0.409 | 0.6066 | 2000 | 0.3755 |
| 0.3473 | 0.7583 | 2500 | 0.3694 |
| 0.3518 | 0.9099 | 3000 | 0.3669 |