Downloads · 30 days
2
22% of all-time downloads
akera/xlm-roberta-uganda-languages
xlm-roberta-uganda-languages is a fill-mask model from akera. Use it when you need the model to fill a missing word. It is set up for transformers. The card lists the license as mit.
This model is XLM-RoBERTa-base fine-tuned on a comprehensive dataset of Ugandan languages.
Downloads · 30 days
2
22% of all-time downloads
All-time downloads
9
Public
Repo size
23.4 GB
Likes
0
Public
Click a slice to open those files.
.md902 B · 100%
From the Hugging Face model README
This model is XLM-RoBERTa-base fine-tuned on a comprehensive dataset of Ugandan languages.
from transformers import AutoTokenizer, AutoModelForMaskedLM, pipeline
tokenizer = AutoTokenizer.from_pretrained("xlm-roberta-uganda-languages")
model = AutoModelForMaskedLM.from_pretrained("xlm-roberta-uganda-languages")
fill_mask = pipeline("fill-mask", model=model, tokenizer=tokenizer)
result = fill_mask("Abantu b'omubyalo tibatera kwikiriza [MASK] muyaaka.")
print(result)