File size: 2,516 Bytes
76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 76b9c5b 3058f64 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 |
---
license: apache-2.0
tags:
- pruned
- linux
- optimized
- wanda
- activation-pruning
base_model: LGAI-EXAONE/EXAONE-4.0-1.2B
pipeline_tag: text-generation
---
# EXAONE-4.0-1.2B-linux-medium
> 🎯 **LINUX-optimized** | 📦 **Medium** pruning | ⚡ **15% weights pruned**
This model is a **moderately pruned** version of [LGAI-EXAONE/EXAONE-4.0-1.2B](https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-1.2B), specialized for **LINUX** tasks using activation-aware weight pruning (Wanda-style).
## ✨ Key Features
- **Specialization**: Optimized for Linux tasks
- **Pruning Method**: Wanda-style (|W| × |activation|) importance scoring
- **Size Reduction**: 15% weights pruned
- **Use Case**: Balanced trade-off between size and accuracy
## 📊 Performance Comparison
| Category | Original | Pruned | Change |
|----------|----------|--------|--------|
| Python | 20.0% | 20.0% | → |
| Html | 6.7% | 6.7% | → |
| Trivia | 86.7% | 86.7% | → |
| Math | 60.0% | 60.0% | → |
| Reasoning | N/A | N/A | |
| Medical | 93.3% | 86.7% | ↓ 6.7% |
| **Linux** | 93.3% | 93.3% ⭐ | → |
| Writing | 46.7% | 40.0% | ↓ 6.7% |
**Average**: 58.1% → 56.2% (-1.9%)
**Linux Retention**: 100.0% of original performance

## 🚀 Quick Start
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/EXAONE-4.0-1.2B-linux-medium")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/EXAONE-4.0-1.2B-linux-medium")
# 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](https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-1.2B) |
| Specialization | Linux |
| Prune Mode | Medium |
| Pruning Method | Activation-based weight pruning (Wanda) |
| Weight Reduction | 15% weights pruned |
## 🔗 Related Models
This model is part of the **EXAONE-4.0-1.2B** 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 [LGAI-EXAONE/EXAONE-4.0-1.2B](https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-1.2B).
---
*Generated by ZANNPS [Zeto Automatic Neural Network Pruning System]*
|