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/MNLP_M3_mcqa_dataset
12 name: stem_instruction_tuning_hard
13 type: alpaca
14 split: train
15
16val_set_size: 0.1
17output_dir: ./outputs/base_it_hard
18dataset_prepared_path: last_run_prepared
19
20sequence_len: 2048 # 4096
21sample_packing: true
22eval_sample_packing: true
23pad_to_sequence_len: true
24
25# To be sure that no LORA is done
26adapter: null
27lora: false
28merge_lora: false
29
30wandb_project: mnlp_project
31wandb_entity: tim-arni
32wandb_watch:
33wandb_name: base_it_hard
34wandb_log_model:
35
36gradient_accumulation_steps: 4 # 2
37micro_batch_size: 2 # 1
38num_epochs: 5
39optimizer: adamw_torch
40lr_scheduler: cosine
41learning_rate: 0.00001 # 0.00005
42cosine_min_lr_ratio: 0.1
43
44bf16: auto
45tf32: true
46
47gradient_checkpointing: offload
48gradient_checkpointing_kwargs:
49 use_reentrant: false
50resume_from_checkpoint:
51logging_steps: 1
52flash_attention: true
53
54warmup_ratio: 0.05
55evals_per_epoch: 4
56saves_per_epoch: 2
57save_total_limit: 10
58weight_decay: 0.01
59special_tokens:
60