Qwen3-1.7B
Collection
Collection of pruned models based on Qwen/Qwen3-1.7B
β’
16 items
β’
Updated
π― HTML-optimized | π¦ Safe pruning | β‘ 1% weights pruned
This model is a conservatively pruned version of Qwen/Qwen3-1.7B.
| Category | Original | Pruned | Change |
|---|---|---|---|
| Python | 0.0% | 0.0% | β |
| Html | 0.0% | 0.0% β | β |
| Trivia | 57.1% | 57.1% | β |
| Math | 66.7% | 73.3% | β 6.7% |
| Reasoning | 20.0% | 20.0% | β |
| Medical | 50.0% | 50.0% | β |
| Linux | 20.0% | 20.0% | β |
| Writing | 16.7% | 0.0% | β 16.7% |
Average: 28.8% β 27.6% (-1.2%)
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/Qwen3-1.7B-html-safe")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/Qwen3-1.7B-html-safe")
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 | Html |
| Prune Mode | Safe |
| Weight Reduction | 1% weights pruned |
This model inherits the license from the base model.