File size: 783 Bytes
8fa0b7d
 
 
5623abe
8fa0b7d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6ddea2a
 
5e5ef59
6ddea2a
 
 
8fa0b7d
 
5623abe
8fa0b7d
 
 
5623abe
8fa0b7d
 
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
---
library_name: pxia
tags:
- gpt2
- model_hub_mixin
- pxia
- pytorch_model_hub_mixin
- text-generation
---

This model has been pushed to the Hub using the [PytorchModelHubMixin](https://huggingface.co/docs/huggingface_hub/package_reference/mixins#huggingface_hub.PyTorchModelHubMixin) integration.

Library: [pxia](https://github.com/not-lain/pxia)

## how to load
```
pip install pxia
```

use the AutoModel class 
```python
from pxia AutoModel
model = AutoModel.from_pretrained("phxia/gpt2")
```
or you can use the model class directly
```python
from pxia import GPT2
model = GPT2.from_pretrained("phxia/gpt2")
```

## Contributions
Any contributions are welcome at https://github.com/not-lain/pxia

<img src="https://huggingface.co/spaces/phxia/README/resolve/main/logo.png"/>