1base_model: Qwen/Qwen3-0.6B-Base
2# Automatically upload checkpoint and final model to HF
3# hub_model_id: username/custom_model_name
4
5plugins:
6 - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
7strict: false
8
9chat_template: qwen3
10datasets:
11 - path: timarni/mmlu-stem-alpaca
12 type: alpaca
13 split: train
14
15val_set_size: 0.15
16output_dir: ./outputs/qwen3_mmlu_alpaca_lr_5e-5
17dataset_prepared_path: last_run_prepared
18
19sequence_len: 4096 #2048
20sample_packing: true
21eval_sample_packing: true
22pad_to_sequence_len: true
23
24wandb_project: mnlp_project
25wandb_entity: tim-arni
26wandb_watch:
27wandb_name: qwen3-0.6B-mmlu_alpaca_style_lr_5e-5
28wandb_log_model:
29
30gradient_accumulation_steps: 2
31micro_batch_size: 1
32num_epochs: 5
33optimizer: adamw_torch
34lr_scheduler: cosine
35learning_rate: 0.00005 # 0.0002
36
37bf16: auto
38tf32: true
39
40gradient_checkpointing: offload
41gradient_checkpointing_kwargs:
42 use_reentrant: false
43resume_from_checkpoint:
44logging_steps: 1
45flash_attention: true
46
47warmup_steps: 10
48evals_per_epoch: 4
49saves_per_epoch: 1
50weight_decay: 0.0
51special_tokens:
52