Qwen3-1.7B
Collection
Collection of pruned models based on Qwen/Qwen3-1.7B
β’
51 items
β’
Updated
π― LINUX-optimized | π¦ Extra Heavy pruning | β‘ 35% weights pruned
This model is a extremely pruned version of Qwen/Qwen3-1.7B, specialized for LINUX tasks using activation-aware weight pruning (Wanda-style).
| Category | Original | Pruned | Change |
|---|---|---|---|
| Python | 40.0% | 0.0% | β 40.0% |
| Html | 0.0% | 0.0% | β |
| Trivia | 100.0% | 46.7% | β 53.3% |
| Math | 100.0% | 73.3% | β 26.7% |
| Reasoning | N/A | N/A | |
| Medical | 93.3% | 60.0% | β 33.3% |
| Linux | 100.0% | 33.3% β | β 66.7% |
| Writing | 73.3% | 13.3% | β 60.0% |
Average: 72.4% β 32.4% (-40.0%)
Linux Retention: 33.3% of original performance
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/Qwen3-1.7B-linux-extra-heavy")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/Qwen3-1.7B-linux-extra-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))
| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3-1.7B |
| Specialization | Linux |
| Prune Mode | Extra Heavy |
| Pruning Method | Activation-based weight pruning (Wanda) |
| Weight Reduction | 35% weights pruned |
This model is part of the Qwen3-1.7B pruned model collection. Other variants:
This model inherits the license from the base model Qwen/Qwen3-1.7B.
Generated by ZANNPS [Zeto Automatic Neural Network Pruning System]