Downloads · 30 days
4
18% of all-time downloads
MAnveer29605/gpt2-poetry-manveer
gpt2-poetry-manveer is a machine learning model from MAnveer29605. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This model is a fine-tuned version of GPT-2 on a small custom poetry dataset written in English. It was trained using the Hugging Face Trainer API on Google Colab.
Downloads · 30 days
4
18% of all-time downloads
All-time downloads
22
Public
Parameters
124M
498 MB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
This model is a fine-tuned version of GPT-2 on a small custom poetry dataset written in English.
It was trained using the Hugging Face Trainer API on Google Colab.
from transformers import pipeline
generator = pipeline("text-generation", model="MAnveer29605/gpt2-poetry-manveer")
output = generator("In twilight's hush", max_new_tokens=50)
print(output[0]["generated_text"])