Downloads · 30 days
15
9% of all-time downloads
Shreyansh327/Qwen3-0.6B-Reasoning-Opus
Qwen3-0.6B-Reasoning-Opus is a machine learning model from Shreyansh327. Use it for the machine learning task on the model card, and read the license before you ship it in a product. The card lists the license as apache-2.0.
This is a fine-tuned version of Qwen3-0.6B optimized for multi-step reasoning. It was trained using QLoRA exclusively on a filtered dataset of reasoning traces distilled from Claude 4.6 Opus.
Downloads · 30 days
15
9% of all-time downloads
All-time downloads
165
Public
Parameters
596M
1.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.2 GB · 99%
From the Hugging Face model README
This is a fine-tuned version of Qwen3-0.6B optimized for multi-step reasoning. It was trained using QLoRA exclusively on a filtered dataset of reasoning traces distilled from Claude 4.6 Opus.
The goal of this project was to induce "System 2" (deliberate) thinking in a sub-1B parameter model and study the resulting "Alignment Tax"—specifically, how behavioral cloning of reasoning traces affects pre-trained factual knowledge.
This model was evaluated on both reasoning capabilities (GSM8K) and factual knowledge retention (ARC-Challenge) to measure the impact of training exclusively on reasoning data.
| Benchmark | Base Qwen3-0.6B | Qwen3-0.6B-Reasoning-Opus | Impact |
|---|---|---|---|
| GSM8K Accuracy (n=50) | 26.0% | 32.0% | +6.0% Absolute Gain |
| ARC-Challenge (Factual) | Baseline | Degraded | -24.31% Absolute Loss |
<think> block for complex queries, effectively decomposing multi-step arithmetic that the base model failed on.<think>...**Answer: B**) but frequently filled the reasoning traces with overconfident, factually incorrect statements.nohurry/Opus-4.6-Reasoning-3000x-filtered (100% split)This model is published primarily for research purposes to demonstrate the catastrophic forgetting effects of pure-SFT reasoning distillation on small models. For production use cases or factual stability, we strongly recommend using our data-mixed SFT model or our GRPO-optimized checkpoints instead.
When running inference, a repetition penalty is required to prevent loop degeneration.
from transformers import AutoModelForCausalLM, AutoTokenizer
model_name = "Shreyansh327/Qwen3-0.6B-Reasoning-Opus"
model = AutoModelForCausalLM.from_pretrained(model_name)
tokenizer = AutoTokenizer.from_pretrained(model_name)
prompt = "If a train travels 60 mph for 2.5 hours, how far does it go?"
messages = [
{"role": "system", "content": "You are a helpful AI assistant. Please reason through the problem inside <think> tags, and then output your final answer inside <answer> tags."},
{"role": "user", "content": prompt}
]
inputs = tokenizer.apply_chat_template(messages, add_generation_prompt=True, return_tensors="pt").to(model.device)
outputs = model.generate(
inputs,
max_new_tokens=1024,
temperature=0.6,
top_p=0.9,
repetition_penalty=1.15 # Required to prevent degenerate loops
)
print(tokenizer.decode(outputs, skip_special_tokens=True))