1base_model: timarni/qwen3_pretrain_wiki
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_dataset_mmlu_train
12 type: alpaca
13 split: train
14 - path: timarni/sciq_alpaca
15 type: alpaca
16 split: train
17
18val_set_size: 0.1
19output_dir: ./outputs/qwen3_wiki_sciq_mmlu
20dataset_prepared_path: last_run_prepared
21
22sequence_len: 4096 #2048
23sample_packing: true # was true -> need to check if it actually learns on the samples or not (better understand te hyperparam and event. install axolotl to debug)
24eval_sample_packing: true
25pad_to_sequence_len: true
26
27# To be sure that no LORA is done
28adapter: null
29lora: false
30merge_lora: false
31
32wandb_project: mnlp_project
33wandb_entity: tim-arni
34wandb_watch:
35wandb_name: qwen3_wiki_sciq_mmlu
36wandb_log_model:
37
38gradient_accumulation_steps: 16 # 2
39micro_batch_size: 2 # 1
40num_epochs: 3
41optimizer: adamw_torch
42lr_scheduler: cosine
43learning_rate: 0.00005 # 0.00005
44
45bf16: auto
46tf32: true
47
48gradient_checkpointing: offload
49gradient_checkpointing_kwargs:
50 use_reentrant: false
51resume_from_checkpoint:
52logging_steps: 1
53gradient_clipping: 1.0
54flash_attention: true
55
56warmup_steps: 20
57evals_per_epoch: 4
58saves_per_epoch: 1
59weight_decay: 0.01
60special_tokens:
61