1base_model: Qwen/Qwen3-14B
2# Automatically upload checkpoint and final model to HF
3hub_model_id: JustQuiteMadMax/Qwen3-14B-ZNO
4
5plugins:
6 - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
7strict: false
8
9chat_template: qwen3
10datasets:
11 - path: JustQuiteMadMax/ZNO_Test_Conversations
12 type: chat_template
13 split: train
14 field_messages: messages
15 message_property_mappings:
16 role: from
17 content: value
18val_set_size: 0.2
19output_dir: ./outputs/out
20dataset_prepared_path: last_run_prepared
21
22sequence_len: 3072
23sample_packing: true
24eval_sample_packing: true
25pad_to_sequence_len: true
26
27load_in_4bit: true
28adapter: qlora
29lora_r: 16
30lora_alpha: 32
31lora_target_modules:
32 - q_proj
33 - k_proj
34 - v_proj
35 - o_proj
36 - down_proj
37 - up_proj
38lora_mlp_kernel: true
39lora_qkv_kernel: true
40lora_o_kernel: true
41
42use_wandb: true
43wandb_project: genai-hw3-zno-train
44wandb_entity: m-rudko-pn-ukrainian-catholic-university
45wandb_watch:
46wandb_name:
47wandb_log_model: checkpoint
48
49gradient_accumulation_steps: 2
50micro_batch_size: 1
51num_epochs: 1
52optimizer: adamw_torch_4bit
53lr_scheduler: cosine
54learning_rate: 0.0002
55
56bf16: auto
57tf32: true
58
59gradient_checkpointing: offload
60gradient_checkpointing_kwargs:
61 use_reentrant: false
62resume_from_checkpoint:
63logging_steps: 1
64flash_attention: true
65
66warmup_steps: 10
67evals_per_epoch: 4
68saves_per_epoch: 1
69weight_decay: 0.0
70special_tokens:
71