Qwen3-0.6B-math-heavy
π― MATH-optimized | π¦ Heavy pruning | β‘ 30% weights pruned
This model is a aggressively pruned version of Qwen/Qwen3-0.6B, specialized for MATH tasks using activation-aware weight pruning (Wanda-style).
β¨ Key Features
- Specialization: Optimized for Math tasks
- Pruning Method: Wanda-style (|W| Γ |activation|) importance scoring
- Size Reduction: 30% weights pruned
- Use Case: Maximum compression while maintaining usability
π Performance Comparison
| Category | Original | Pruned | Change |
|---|---|---|---|
| Python | 40.0% | 0.0% | β 40.0% |
| Html | 0.0% | 0.0% | β |
| Trivia | 80.0% | 86.7% | β 6.7% |
| Math | 100.0% | 100.0% β | β |
| Reasoning | N/A | N/A | |
| Medical | 93.3% | 80.0% | β 13.3% |
| Linux | 100.0% | 80.0% | β 20.0% |
| Writing | 33.3% | 6.7% | β 26.7% |
Average: 63.8% β 50.5% (-13.3%)
Math Retention: 100.0% of original performance
π Quick Start
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/Qwen3-0.6B-math-heavy")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/Qwen3-0.6B-math-heavy")
# Example usage
inputs = tokenizer("Your prompt here", return_tensors="pt")
outputs = model.generate(**inputs, max_new_tokens=100)
print(tokenizer.decode(outputs[0], skip_special_tokens=True))
π Technical Details
| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3-0.6B |
| Specialization | Math |
| Prune Mode | Heavy |
| Pruning Method | Activation-based weight pruning (Wanda) |
| Weight Reduction | 30% weights pruned |
π Related Models
This model is part of the Qwen3-0.6B pruned model collection. Other variants:
- Extra-light (minimal pruning)
- Light
- Medium-light
- Medium
- Medium-heavy
- Heavy
- Extra-heavy (maximum compression)
π License
This model inherits the license from the base model Qwen/Qwen3-0.6B.
Generated by ZANNPS [Zeto Automatic Neural Network Pruning System]
- Downloads last month
- -
