π QwOpus-4.6-Coder-3B β Claude Opus 4.6 Reasoning Distilled
(a.k.a. qwen2.5-coder-3b-claude_opus_4.6-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
QwOpus-4.6-Coder-3B (full name: 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.
Naming note: QwOpus is the short, spoken name for this model (Qw = Qwen, Opus = Claude Opus). The Hugging Face repo and file names use the longer, fully descriptive
qwen2.5-coder-3b-claude_opus_4.6-distilledfor clarity and searchability. Both refer to the same model.
π§ 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
βΌ
QwOpus-4.6-Coder-3B
(qwen2.5-coder-3b-claude_opus_4.6-distilled)
π Training Details
| Parameter | Value |
|---|---|
| Base Model | Qwen/Qwen2.5-Coder-3B-Instruct |
| Framework | Unsloth 2026.3 |
| LoRA rank | 16 |
| LoRA alpha | 16 |
| Trainable params | 29,933,568 (0.96%) |
| Batch size | 16 (4 Γ 4 grad accum) |
| Learning rate | 2e-4 |
| Epochs | 1 |
| Max seq length | 4096 |
| Final train loss | 0.88 |
| GPU | Tesla T4 (16GB) |
| Training time | ~46 mins |
π Datasets Used
| Dataset | Samples | Purpose |
|---|---|---|
| nohurry/Opus-4.6-Reasoning-3000x-filtered | 2,326 | Claude 4.6 Opus reasoning trajectories |
| TeichAI/claude-4.5-opus-high-reasoning-250x | 250 | High-intensity structured reasoning |
| Jackrong/Qwen3.5-reasoning-700x | 633 | Step-by-step reasoning diversity |
| Total | 3,209 |
π Running Locally
Via Ollama (easiest)
ollama run hf.co/ryzdfm/qwen2.5-coder-3b-claude_opus_4.6-distilled
Via llama.cpp (for GPU acceleration)
./llama-cli.exe \
-m qwen2.5-coder-3b-claude_opus_4.6-distilled.Q4_K_M.gguf \
-ngl 99 \
--flash-attn on \
--jinja \
-cnv \
--repeat-penalty 1.1 \
-p "You are a helpful assistant that thinks step by step."
Tip: feel free to rename your local
.gguffile toqwopus-4.6-coder-3b.Q4_K_M.ggufif you prefer the short name day-to-day β it's the same weights either way.
π Core Capabilities
- Structured Reasoning β thinks through problems step by step in
<think>blocks before answering - Code Generation β built on Qwen2.5-Coder, strong at Python, JavaScript, algorithms
- Math & Logic β correctly solves multi-step problems with verification
- Fast Local Inference β 88 t/s on RTX 3050 4GB, fully GPU-accelerated
β‘ Hardware Requirements
| Quantization | VRAM | Speed (RTX 3050) |
|---|---|---|
| Q4_K_M (this file) | ~2.1 GB | ~88 t/s |
| Q3_K_M | ~1.7 GB | ~95 t/s |
| Q8_0 | ~3.3 GB | ~70 t/s |
Runs comfortably on 4GB VRAM laptops and desktops.
β οΈ Limitations
- 3B scale β will struggle with very long multi-file code generation or complex system design
- 1 epoch training β reasoning style is distilled but not as deep as larger models
- Hallucination risk β like all LLMs, may produce incorrect facts; always verify outputs
π Acknowledgements
- Unsloth AI for making fine-tuning accessible on consumer hardware
- nohurry, TeichAI, and Jackrong for the high-quality distillation datasets
- Qwen team for the excellent Qwen2.5-Coder base model
π Citation
@misc{ryzdfm_qwopus_4_6_coder_3b,
title = {QwOpus-4.6-Coder-3B (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}}
}