Downloads · 30 days
57
5% of all-time downloads
echarlaix/distilgpt2-openvino
distilgpt2-openvino is a text generation model from echarlaix. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
This model was converted to OpenVINO from distilbert/distilgpt2 using optimum-intel via the export space.
Downloads · 30 days
57
5% of all-time downloads
All-time downloads
1.2K
Public
Repo size
983 MB
Likes
0
Public
Click a slice to open those files.
.bin328 MB · 99%
From the Hugging Face model README
This model was converted to OpenVINO from distilbert/distilgpt2 using optimum-intel
via the export space.
First make sure you have optimum-intel installed:
pip install optimum[openvino]
To load your model you can do as follows:
from optimum.intel import OVModelForCausalLM
model_id = "echarlaix/distilgpt2-openvino"
model = OVModelForCausalLM.from_pretrained(model_id)