File size: 1,155 Bytes
3fb1db6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
102b10a
3fb1db6
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
---
license: apache-2.0
tags:
- pruned
- python
- optimized
base_model: LGAI-EXAONE/EXAONE-4.0-1.2B
---

# EXAONE-4.0-1.2B-python-extra-heavy

This model is a **extra-heavy** pruned version of [LGAI-EXAONE/EXAONE-4.0-1.2B](https://huggingface.co/LGAI-EXAONE/EXAONE-4.0-1.2B), specialized for **PYTHON** tasks.

## Pruning Details

- **Base Model**: LGAI-EXAONE/EXAONE-4.0-1.2B
- **Specialization**: Python
- **Prune Mode**: Extra-heavy
- **Method**: Activation-based weight pruning

## Performance Comparison

| Category | Original | Pruned |
|----------|----------|--------|
| Python | 20.0% | 20.0% |
| HTML | 6.7% | 0.0% |
| Trivia | 86.7% | N/A |
| Math | 60.0% | N/A |
| Reasoning | N/A | N/A |
| Medical | 93.3% | N/A |
| Linux | 93.3% | N/A |
| Writing | 46.7% | N/A |

![Comparison Graph](comparison_graph.png)

## Usage

```python
from transformers import AutoModelForCausalLM, AutoTokenizer

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

## License

This model inherits the license from the base model.