Views
No views yet
0.8.0.dev01# 16-bit QAT Training Configuration for IasoQL
2base_model: XGenerationLab/XiYanSQL-QwenCoder-7B-2504
3model_type: AutoModelForCausalLM
4tokenizer_type: AutoTokenizer
5trust_remote_code: true
6
7# 16-bit QAT Configuration
8qat: true
9qat_config:
10 bits: 16
11 group_size: 128
12 desc_act: false
13
14# LoRA Configuration
15adapter: lora
16lora_r: 32
17lora_alpha: 64
18lora_dropout: 0.05
19lora_target_linear: true
20lora_target_modules:
21 - q_proj
22 - k_proj
23 - v_proj
24 - o_proj
25 - gate_proj
26 - up_proj
27 - down_proj
28
29# Dataset Configuration
30datasets:
31 - path: json
32 data_files: xiyan-sql-clickhouse-training-dataset-enhanced.jsonl
33 type: chat_template
34 chat_template: qwen_25
35
36# Training Configuration
37sequence_len: 4096
38sample_packing: true
39pad_to_sequence_len: true
40
41# Training Hyperparameters
42micro_batch_size: 2
43gradient_accumulation_steps: 4
44num_epochs: 2
45optimizer: adamw_bnb_8bit
46lr_scheduler: cosine
47learning_rate: 0.00002
48
49# Memory optimization
50gradient_checkpointing: true
51bf16: auto
52tf32: false
53load_in_4bit: true
54load_in_8bit: true
55flash_attention: true
56
57# Logging
58logging_steps: 10
59save_steps: 25
60save_total_limit: 2
61warmup_steps: 10
62output_dir: ./iasoql-16bit-outputs
63
64# HuggingFace Hub - will upload manually after training
65# hub_model_id: vivekkrishnan/iasoql-16bit-qat-lora
66# push_to_hub: true
67# hub_strategy: checkpoint
68
69# Chat Template
70chat_template: qwen_25
71
72# Special Tokens
73special_tokens:
74 bos_token: "<|im_start|>"
75 eos_token: "<|im_end|>"
76 pad_token: "<|im_end|>"
77
78# Settings
79seed: 42