Views
No views yet
0.13.0.dev01# ====== Model Configuration ======
2base_model: Qwen/Qwen3-1.7B
3load_in_8bit: false
4load_in_4bit: true
5strict: false
6
7# LoRA
8adapter: qlora
9lora_r: 32
10lora_alpha: 32
11lora_target_linear: true
12lora_qkv_kernel: true
13lora_o_kernel: true
14lora_mlp_kernel: true
15embeddings_skip_upcast: true
16
17# Integration
18xformers_attention: true
19plugins:
20 - axolotl.integrations.cut_cross_entropy.CutCrossEntropyPlugin
21 - axolotl.integrations.liger.LigerPlugin
22liger_rope: true
23liger_rms_norm: true
24liger_glu_activation: true
25liger_layer_norm: true
26liger_fused_linear_cross_entropy: true
27flash_attention: false
28
29# DeepSpeed
30# deepspeed: "/kaggle/working/axolotl/deepspeed_configs/zero2_torch_compile.json"
31
32# ====== Hyperparameter Configuration ======
33sample_packing: true
34learning_rate: 1.8e-4
35sequence_len: 4096
36micro_batch_size: 8
37gradient_accumulation_steps: 1
38gradient_checkpointing: true
39gradient_checkpointing_kwargs:
40 use_reentrant: false
41
42optimizer: adamw_8bit
43lr_scheduler: cosine_with_min_lr
44lr_scheduler_kwargs: {"min_lr_rate": 0.1}
45
46warmup_ratio: 0.03
47weight_decay: 0.01
48fp16: true
49
50max_grad_norm: 1.0
51num_epochs: 1
52save_total_limit: 2
53saves_per_epoch: 1
54logging_steps: 1
55
56output_dir: ./outputs/qwen-sft-mt-kmvi
57chat_template: qwen3
58
59# Dataset
60datasets:
61 - path: Tung177/km-vi-translation
62 type: chat_template
63 split: "train"
64 roles_to_train: ["assistant"]
65dataset_prepared_path: last_run_prepared
66
67dataloader_prefetch_factor: 8
68dataloader_num_workers: 2
69dataloader_pin_memory: true
70
71# ====== Tracking ======
72wandb_project: MT-V1
73wandb_name: qwen3-1.7B-mt-kmvi
74wandb_log_model: "false"
75