metadata
license: apache-2.0
tags:
- pruned
- writing
- optimized
- wanda
- activation-pruning
base_model: Qwen/Qwen3-0.6B
pipeline_tag: text-generation
Qwen3-0.6B-writing-safe
π― WRITING-optimized | π¦ Safe pruning | β‘ 1% weights pruned
This model is a conservatively pruned version of Qwen/Qwen3-0.6B, specialized for WRITING tasks using activation-aware weight pruning (Wanda-style).
β¨ Key Features
- Specialization: Optimized for Writing tasks
- Pruning Method: Wanda-style (|W| Γ |activation|) importance scoring
- Size Reduction: 1% weights pruned
- Use Case: High accuracy retention, ideal for production use
π Performance Comparison
| Category | Original | Pruned | Change |
|---|---|---|---|
| Python | 30.0% | 30.0% | β |
| Html | 0.0% | 0.0% | β |
| Trivia | 90.0% | 90.0% | β |
| Math | 96.7% | 100.0% | β 3.3% |
| Reasoning | 36.7% | 36.7% | β |
| Medical | 83.3% | 83.3% | β |
| Linux | 93.3% | 93.3% | β |
| Writing | 53.3% | 56.7% β | β 3.3% |
Average: 60.4% β 61.2% (+0.8%)
Writing Retention: 106.2% of original performance
π Quick Start
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/Qwen3-0.6B-writing-safe")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/Qwen3-0.6B-writing-safe")
# 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 | Writing |
| Prune Mode | Safe |
| Pruning Method | Activation-based weight pruning (Wanda) |
| Weight Reduction | 1% weights pruned |
π Related Models
This model is part of the Qwen3-0.6B pruned model collection. Variants:
- Safe - Conservative pruning (~10-20%), high accuracy retention
- Aggressive - Maximum compression (~40-50%), best for edge deployment
π License
This model inherits the license from the base model Qwen/Qwen3-0.6B.
Generated by ZANNPS [Zeto Automatic Neural Network Pruning System]
