SmolLM3-3B-math-medium-light

🎯 MATH-optimized | 📦 Medium Light pruning | ⚡ 12% weights pruned

This model is a moderate-lightly pruned version of HuggingFaceTB/SmolLM3-3B, 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: 12% weights pruned
  • Use Case: Noticeable compression with good performance

📊 Performance Comparison

Category Original Pruned Change
Python 80.0% 80.0%
Html 0.0% 0.0%
Trivia 100.0% 100.0%
Math 100.0% 100.0% ⭐
Reasoning N/A N/A
Medical 100.0% 100.0%
Linux 100.0% 86.7% ↓ 13.3%
Writing 93.3% 86.7% ↓ 6.7%

Average: 81.9% → 79.0% (-2.9%)

Math Retention: 100.0% of original performance

Comparison Graph

🚀 Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("CompactAI/SmolLM3-3B-math-medium-light")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/SmolLM3-3B-math-medium-light")

# 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 HuggingFaceTB/SmolLM3-3B
Specialization Math
Prune Mode Medium Light
Pruning Method Activation-based weight pruning (Wanda)
Weight Reduction 12% weights pruned

🔗 Related Models

This model is part of the SmolLM3-3B 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 HuggingFaceTB/SmolLM3-3B.


Generated by ZANNPS [Zeto Automatic Neural Network Pruning System]

Downloads last month
-
Safetensors
Model size
3B params
Tensor type
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for CompactAI/SmolLM3-3B-math-medium-light

Finetuned
(146)
this model

Collection including CompactAI/SmolLM3-3B-math-medium-light