karthiksagarn/astro_horoscope
Viewer • Updated • 22k • 295 • 2
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
Base model
openai-community/gpt2