File size: 481 Bytes
0164fab |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
---
base_model:
- gpt2
---
# gpt2 (Quantized)
## Description
This model is a quantized version of the original model `gpt2`. It has been quantized using int8_weight_only quantization with torchao.
## Quantization Details
- **Quantization Type**: int8_weight_only
- **Group Size**: None
## Usage
You can use this model in your applications by loading it directly from the Hugging Face Hub:
```python
from transformers import AutoModel
model = AutoModel.from_pretrained("gpt2") |