1base_model: Qwen/Qwen2.5-3B-Instruct
2load_in_8bit: false
3load_in_4bit: false
4strict: false
5
6# Liger Kernel
7plugins:
8 - axolotl.integrations.liger.LigerPlugin
9liger_rope: true
10liger_rms_norm: true
11liger_glu_activation: true
12liger_layer_norm: true
13liger_fused_linear_cross_entropy: true
14
15# Dataset (Qwen2.5 는 thinking 모드 없음 → enable_thinking 불필요)
16chat_template: qwen_25
17datasets:
18 - path: train_sl_v1.jsonl
19 type: chat_template
20 field_messages: messages
21 message_property_mappings:
22 role: role
23 content: content
24dataset_prepared_path: last_run_prepared
25val_set_size: 0.03
26
27# Output
28output_dir: ./outputs/qwen2.5-3b-sl
29
30# Full finetuning (no adapter)
31adapter:
32lora_model_dir:
33
34# Sequence (SL 데이터 max ~493 chars / ~800 tokens → 1024 로 충분)
35sequence_len: 1024
36sample_packing: true
37eval_sample_packing: false
38pad_to_sequence_len: true
39
40# Attention
41flash_attention: true
42
43# W&B
44wandb_project: wizl-base-m
45wandb_entity:
46wandb_watch:
47wandb_name: 3b-base-sl-v1
48wandb_log_model:
49
50# Hub
51hub_model_id: jadechoi/wizl_base_sl-3b
52
53# Training hyperparams (1 x H200)
54micro_batch_size: 24 # 3B + seq 1024 → H200 에서 여유 → 배치 더 크게
55gradient_accumulation_steps: 4 # 1GPU × 24bs × 4accum ≈ effective batch 96
56num_epochs: 3
57optimizer: adamw_torch_fused
58lr_scheduler: cosine
59learning_rate: 2e-5
60warmup_ratio: 0.05
61weight_decay: 0.01
62
63# Precision
64bf16: true
65fp16: false
66tf32: true
67gradient_checkpointing: false # 3B + 짧은 seq → 비활성화로 속도 확보
68
69# Logging & Saving
70logging_steps: 1
71evals_per_epoch: 1
72saves_per_epoch: 1
73
74# DeepSpeed ZeRO-2
75deepspeed: ds_config.json
76
77special_tokens: