EXAONE-4.0-1.2B-python-aggressive

🎯 PYTHON-optimized | 📦 Aggressive pruning | ⚡ 7% weights pruned

This model is a aggressively pruned version of LGAI-EXAONE/EXAONE-4.0-1.2B, specialized for PYTHON tasks using activation-aware weight pruning (Wanda-style).

✨ Key Features

  • Specialization: Optimized for Python tasks
  • Pruning Method: Wanda-style (|W| × |activation|) importance scoring
  • Size Reduction: 7% weights pruned
  • Use Case: Maximum compression for edge deployment

📊 Performance Comparison

Category Original Pruned Change
Python 20.0% 20.0% ⭐
Html 6.7% 6.7%
Trivia 26.7% 53.3% ↑ 26.7%
Math 60.0% 46.7% ↓ 13.3%
Reasoning 60.0% 73.3% ↑ 13.3%
Medical 73.3% 73.3%
Linux 93.3% 93.3%
Writing 60.0% 53.3% ↓ 6.7%

Average: 50.0% → 52.5% (+2.5%)

Python Retention: 100.0% of original performance

Comparison Graph

🚀 Quick Start

from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("CompactAI/EXAONE-4.0-1.2B-python-aggressive")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/EXAONE-4.0-1.2B-python-aggressive")

# 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 LGAI-EXAONE/EXAONE-4.0-1.2B
Specialization Python
Prune Mode Aggressive
Pruning Method Activation-based weight pruning (Wanda)
Weight Reduction 7% weights pruned

🔗 Related Models

This model is part of the EXAONE-4.0-1.2B 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 LGAI-EXAONE/EXAONE-4.0-1.2B.


Generated by ZANNPS [Zeto Automatic Neural Network Pruning System]

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

Model tree for CompactAI/EXAONE-4.0-1.2B-python-aggressive

Finetuned
(19)
this model

Collection including CompactAI/EXAONE-4.0-1.2B-python-aggressive