File size: 1,110 Bytes
1dafd4c |
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: openai-community/openai-gpt
---
# openai-gpt-python-heavy
This model is a **heavy** pruned version of [openai-community/openai-gpt](https://huggingface.co/openai-community/openai-gpt), specialized for **PYTHON** tasks.
## Pruning Details
- **Base Model**: openai-community/openai-gpt
- **Specialization**: Python
- **Prune Mode**: Heavy
- **Method**: Activation-based weight pruning
## Performance Comparison
| Category | Original | Pruned |
|----------|----------|--------|
| Python | 0.0% | 0.0% |
| HTML | 0.0% | 0.0% |
| Trivia | 0.0% | 0.0% |
| Math | 0.0% | 0.0% |
| Reasoning | 0.0% | 0.0% |
| Medical | 0.0% | 0.0% |
| Linux | 0.0% | 0.0% |
| Writing | 0.0% | 0.0% |

## Usage
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("CompactAI/openai-gpt-python-heavy")
tokenizer = AutoTokenizer.from_pretrained("CompactAI/openai-gpt-python-heavy")
```
## License
This model inherits the license from the base model.
|