Downloads · 30 days
16
2% of all-time downloads
Ransaka/sinhala-gpt2
sinhala-gpt2 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 Sinhala NEWS from various sources.
Downloads · 30 days
16
2% of all-time downloads
All-time downloads
667
Public
Repo size
64.8 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 Sinhala NEWS from various sources.
The model was trained for 12+ hours on Kaggle GPUs.
from transformers import AutoTokenizer, AutoModelForCausalLM,pipeline
tokenizer = AutoTokenizer.from_pretrained("Ransaka/sinhala-gpt2")
model = AutoModelForCausalLM.from_pretrained("Ransaka/sinhala-gpt2")
generator("දුර")
or using git
git lfs install
git clone https://huggingface.co/Ransaka/sinhala-gpt2
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss |
|---|---|---|---|
| 2.0233 | 1.0 | 15323 | 2.3348 |
| 1.6938 | 2.0 | 30646 | 1.8377 |
| 1.4938 | 3.0 | 45969 | 1.6498 |