🌟 Qwen2.5-Coder-3B — Claude Opus 4.6 Reasoning Distilled
A compact, fast, locally-runnable coding model fine-tuned on top of Qwen2.5-Coder-3B-Instruct using high-quality reasoning trajectories distilled from Claude 4.6 Opus. Designed to run efficiently on consumer hardware with as little as 4GB VRAM at ~88 tokens/sec.
💡 Model Introduction
Qwen2.5-Coder-3B-Claude-Opus-4.6-Distilled combines the strong code generation foundation of Qwen2.5-Coder with the structured, step-by-step reasoning style of Claude 4.6 Opus. Through Supervised Fine-Tuning (SFT) with LoRA, the model learns to think through problems carefully inside <think> tags before delivering precise, well-structured answers.
Unlike larger distilled models, this 3B model is built for real local inference — fast, private, and fits comfortably in 4GB VRAM.
🧠 Reasoning Style
The model adopts Claude Opus's structured reasoning pattern:
<think>
Let me analyze this carefully.
1. Identify the core objective.
2. Break down into subcomponents.
3. Consider edge cases and constraints.
4. Formulate and verify the solution.
</think>
[Final clean answer here]
🗺️ Training Pipeline
Base Model (Qwen/Qwen2.5-Coder-3B-Instruct)
│
▼
Supervised Fine-Tuning (SFT) + LoRA (r=16)
│ • 3,209 high-quality Claude reasoning samples
│ • Unsloth 2x faster training
│ • 1 epoch on T4 GPU (~46 mins)
│ • Final loss: 0.88
▼
Qwen2.5-Coder-3B-Claude-Opus-4.6-Distilled
Qwen team for the excellent Qwen2.5-Coder base model
📖 Citation
@misc{ryzdfm_qwen25coder_claude_distilled,title={Qwen2.5-Coder-3B Claude Opus 4.6 Reasoning Distilled},author={ryzdfm},year={2026},publisher={Hugging Face},howpublished={\url{https://huggingface.co/ryzdfm/qwen2.5-coder-3b-claude_opus_4.6-distilled}}}