sft_v4.yaml 724 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. # SFT Training Config for QMD Query Expansion v4
  2. # Uses Qwen3-0.6B with LoRA, trained with key term preservation
  3. model:
  4. base: "Qwen/Qwen3-0.6B"
  5. output: "tobil/qmd-query-expansion-0.6B-v4"
  6. dataset:
  7. name: "tobil/qmd-query-expansion-train-v2"
  8. text_field: "text"
  9. split: "train"
  10. eval_split: 0.1
  11. training:
  12. epochs: 3
  13. batch_size: 4
  14. gradient_accumulation_steps: 4
  15. learning_rate: 2e-4
  16. max_length: 512
  17. warmup_ratio: 0.03
  18. lr_scheduler: "cosine"
  19. lora:
  20. rank: 16
  21. alpha: 32
  22. dropout: 0.0
  23. target_modules:
  24. - "q_proj"
  25. - "k_proj"
  26. - "v_proj"
  27. - "o_proj"
  28. - "gate_proj"
  29. - "up_proj"
  30. - "down_proj"
  31. tracking:
  32. project: "qmd-query-expansion"
  33. run_name: "sft-v4-key-term-preservation"