File size: 1,026 Bytes
487a5b6
 
 
 
 
 
 
 
 
5d6f36b
487a5b6
efb2721
487a5b6
 
 
 
 
efb2721
487a5b6
 
 
 
 
 
109c02d
 
 
 
 
487a5b6
 
 
 
 
 
 
 
5d6f36b
 
487a5b6
 
 
 
 
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
---
license: apache-2.0
tags:
- pruned
- python
- optimized
base_model: Qwen/Qwen3-0.6B
---

# Qwen3-0.6B-python-light-prune

This model is a **light** pruned version of [Qwen/Qwen3-0.6B](https://huggingface.co/Qwen/Qwen3-0.6B), specialized for **PYTHON** tasks.

## Pruning Details

- **Base Model**: Qwen/Qwen3-0.6B
- **Specialization**: Python
- **Prune Mode**: Light
- **Method**: Activation-based weight pruning

## Performance Comparison

| Category | Original | Pruned |
|----------|----------|--------|
| Python | 13.3% | 20.0% |
| HTML | 53.3% | 33.3% |
| Trivia | 53.3% | 60.0% |
| Math | 40.0% | 46.7% |
| Reasoning | 33.3% | 40.0% |

![Comparison Graph](comparison_graph.png)

## Usage

```python
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("CompactAI/Qwen3-0.6B-python-light-prune-prune")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/Qwen3-0.6B-python-light-prune-prune")
```

## License

This model inherits the license from the base model.