This model has been pushed to the Hub using the PytorchModelHubMixin integration.
Library: pxia
how to load
pip install pxia
use the AutoModel class
from pxia AutoModel
model = AutoModel.from_pretrained("phxia/gpt2")
or you can use the model class directly
from pxia import GPT2
model = GPT2.from_pretrained("phxia/gpt2")
Contributions
Any contributions are welcome at https://github.com/not-lain/pxia

- Downloads last month
- 5
Inference Providers
NEW
This model is not currently available via any of the supported Inference Providers.
The model cannot be deployed to the HF Inference API:
The HF Inference API does not support text-generation models for pxia library.