mats-sql-bundle / code /bundle_recipes /validator-condition-fft-v3.yaml
thanhdath's picture
Push code: scripts, slurm sbatch, recipes, utils (v3 + selector series)
778d47d verified
Raw
History Blame Contribute Delete
1.19 kB
# SFT Qwen3-0.6B Validator-Condition (v_c) on section-specific data.
# Per paper §Combined Validator, v_c critiques only the WHERE/HAVING/CASE conditions.
model_name_or_path: /home/datht/huggingface/Qwen/Qwen3-0.6B
model_revision: main
torch_dtype: bfloat16
use_flash_attention_2: false
response_template: "<|im_start|>assistant"
dataset_mixer:
../data/multi-agents/fixed/sft-validator-condition-v3: 1.0
dataset_splits:
- train
- test
preprocessing_num_workers: 24
chat_template: "{{'<|im_start|>user\n' + messages['prompt'] + '<|im_end|>\n'}}{{'<|im_start|>assistant\n' + messages['completion'] + '<|im_end|>\n'}}"
bf16: true
do_eval: false
eval_strategy: "no"
gradient_accumulation_steps: 8
gradient_checkpointing: true
learning_rate: 2.0e-05
log_level: info
logging_steps: 10
logging_strategy: steps
lr_scheduler_type: cosine
max_seq_length: 5120
truncation_side: left
max_steps: -1
num_train_epochs: 2
optim: adamw_torch
output_dir: output/qwen3-0.6b-bird-validator-condition-sft-v3
overwrite_output_dir: true
per_device_train_batch_size: 4
push_to_hub: false
remove_unused_columns: true
report_to:
- tensorboard
save_strategy: "epoch"
save_total_limit: 1
seed: 42
tf32: true