Downloads · 30 days
25
15% of all-time downloads
adamwhite625/distilgpt2-finetuned-wikitext2
distilgpt2-finetuned-wikitext2 is a text generation model from adamwhite625. 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 is a fine-tuned version of DistilGPT2 trained on the WikiText-2 dataset. It is lighter and faster than GPT-2, suitable for text generation tasks on devices with limited resources.
Downloads · 30 days
25
15% of all-time downloads
All-time downloads
166
Public
Parameters
81.9M
2.9 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors328 MB · 100%
From the Hugging Face model README
This is a fine-tuned version of DistilGPT2 trained on the WikiText-2 dataset. It is lighter and faster than GPT-2, suitable for text generation tasks on devices with limited resources.
from transformers import pipeline
generator = pipeline("text-generation", model="adamwhite625/distilgpt2-finetuned-wikitext2")
print(generator("Once upon a time", max_length=50))