Views
No views yet
| Parameter | Value |
|---|---|
| Base model | Qwen/Qwen2.5-1.5B-Instruct |
| Method | QwQ-32B Distillation |
| Framework | LLaMA-Factory (SFT stage) |
| LoRA rank | 64 |
| LoRA target | all linear layers |
| Learning rate | 1e-4 |
| Epochs | 3 |
| Batch size | 1 (grad accum 16) |
| Cutoff length | 32,768 tokens |
| Training data | 5,000 QwQ-32B reasoning traces (d4, filtered). Teacher solve rate: 43.8% |
| Split | Accuracy |
|---|---|
| Test (in-distribution) | 90.6% |
| Harder variant | 8.4% |
| Structural OOD | 6.8% |
1from peft import PeftModel
2from transformers import AutoModelForCausalLM, AutoTokenizer
3
4base = AutoModelForCausalLM.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")
5model = PeftModel.from_pretrained(base, "reasoning-degeneration-dev/algo-sft-long-arithmetic-distill-qwq")
6tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen2.5-1.5B-Instruct")