Downloads · 30 days
33
0% of all-time downloads
keshan/sinhala-gpt2
sinhala-gpt2 is a text generation model from keshan. Use it when you need the model to write or continue text. It is set up for transformers.
This is a smaller GPT2 model trained on MC4 Sinhala dataset. As Sinhala is one of those low resource languages, there are only a handful of models been trained. So, this would be a great place to start training for mo…
Downloads · 30 days
33
0% of all-time downloads
All-time downloads
8.5K
Public
Repo size
21.2 GB
Likes
1
Public
Click a slice to open those files.
.bin510 MB · 33%
From the Hugging Face model README
This is a smaller GPT2 model trained on MC4 Sinhala dataset. As Sinhala is one of those low resource languages, there are only a handful of models been trained. So, this would be a great place to start training for more downstream tasks.
The model chosen for training is GPT2 with the following specifications:
You can use this model directly with a pipeline for casual language modeling:
from transformers import pipeline
generator = pipeline('text-generation', model='keshan/sinhala-gpt2')
generator("මම", max_length=50, num_return_sequences=5)