Downloads · 30 days
5
4% of all-time downloads
tidelganesh/gpt2-astro-finetuned
gpt2-astro-finetuned is a text generation model from tidelganesh. Use it when you need the model to write or continue text. The card lists the license as mit.
GPT-2 (small) fine-tuned on the karthiksagarn/astrohoroscope dataset to generate horoscope-style text.
Downloads · 30 days
5
4% of all-time downloads
All-time downloads
117
Public
Parameters
124M
1.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors498 MB · 99%
From the Hugging Face model README
GPT-2 (small) fine-tuned on the karthiksagarn/astro_horoscope dataset to generate horoscope-style text.
This model is a causal language model fine-tuned via full fine-tuning on ~22K horoscope text samples. It learns the general style, tone, and phrasing patterns of horoscope writing, rather than being conditioned on a specific zodiac sign, date, or category.
The following hyperparameters were used during training:
| Epoch | Training Loss | Validation Loss |
|---|---|---|
| 1 | 2.888 | 2.765 |
| 2 | 2.693 | 2.628 |
| 3 | 2.664 | 2.582 |
from transformers import pipeline
generator = pipeline("text-generation", model="tidelganesh/gpt2-astro-finetuned")
output = generator("Today your career", max_length=100, do_sample=True, temperature=0.8)
print(output[0]["generated_text"])
Educational / experimental — this was a first fine-tuning project to learn the end-to-end training workflow (tokenization, Trainer API, Hub push).
https://colab.research.google.com/drive/1r6b5xyY_5mlb6-LksoUWjWuxa4R1HQGp?usp=sharing