Downloads · 30 days
124
15% of all-time downloads
Ransaka/sinhala-gpt-lyrics
sinhala-gpt-lyrics is a text generation model from Ransaka. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as mit.
This particular model has undergone fine-tuning based on the gpt2 architecture, utilizing a dataset of around 500k Sinhala lyrics from various sources. This Model is not sophisticated at all. Created while following o…
Downloads · 30 days
124
15% of all-time downloads
All-time downloads
824
Public
Repo size
49.5 GB
Likes
0
Public
Click a slice to open those files.
.bin510 MB · 99%
From the Hugging Face model README
This particular model has undergone fine-tuning based on the gpt2 architecture, utilizing a dataset of around 500k Sinhala lyrics from various sources. This Model is not sophisticated at all. Created while following one of fine-tuning docs.
from transformers import AutoTokenizer, AutoModelForCausalLM,pipeline
tokenizer = AutoTokenizer.from_pretrained("Ransaka/sinhala-gpt-lyrics")
model = AutoModelForCausalLM.from_pretrained("Ransaka/sinhala-gpt-lyrics")
generator = pipeline('text-generation',model=model, tokenizer=tokenizer)
generator("දුර") #දුර ඈත පාසැල් වියේ.
or using git
git lfs install
git clone https://huggingface.co/Ransaka/sinhala-gpt-lyrics
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.3015 | 1.0 | 15323 | 2.3498 |
| 1.8582 | 2.0 | 30646 | 1.9921 |
| 1.5491 | 3.0 | 45969 | 1.9376 |