Downloads · 30 days
47
5% of all-time downloads
keshan/sinhala-roberta-oscar
sinhala-roberta-oscar is a fill-mask model from keshan. Use it when you need the model to fill a missing word. It is set up for transformers.
This is a slightly smaller model trained on OSCAR Sinhala dedup 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 tra…
Downloads · 30 days
47
5% of all-time downloads
All-time downloads
1K
Public
Repo size
6.5 GB
Likes
0
Public
Click a slice to open those files.
.bin499 MB · 50%
From the Hugging Face model README
This is a slightly smaller model trained on OSCAR Sinhala dedup 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 Roberta with the following specifications:
You can use this model directly with a pipeline for masked language modeling:
from transformers import AutoTokenizer, AutoModelWithLMHead, pipeline
model = AutoModelWithLMHead.from_pretrained("keshan/sinhala-roberta-oscar")
tokenizer = AutoTokenizer.from_pretrained("keshan/sinhala-roberta-oscar")
fill_mask = pipeline('fill-mask', model=model, tokenizer=tokenizer)
fill_mask("මම ගෙදර <mask>.")