Downloads · 30 days
31
3% of all-time downloads
keithtwesigye/lunyoro-lun2en
lunyoro-lun2en is a translation model from keithtwesigye. Use it when you need text moved from one language to another. The card lists the license as mit.
Fine-tuned MarianMT model for Lunyoro/Rutooro → English translation.
Downloads · 30 days
31
3% of all-time downloads
All-time downloads
937
Public
Parameters
77.1M
11.4 GB on disk
Likes
0
Public
Click a slice to open those files.
.onnx926 MB · 60%
From the Hugging Face model README
Fine-tuned MarianMT model for Lunyoro/Rutooro → English translation.
Lunyoro-Rutooro is a Bantu language spoken by the Bunyoro-Kitara and Tooro kingdoms in western Uganda.
Helsinki-NLP/opus-mt-mul-enThe training data was compiled from:
from transformers import MarianMTModel, MarianTokenizer
model_name = "keithtwesigye/lunyoro-lun2en"
tokenizer = MarianTokenizer.from_pretrained(model_name)
model = MarianMTModel.from_pretrained(model_name)
text = "Oraire ota?"
inputs = tokenizer(text, return_tensors="pt", truncation=True)
output = model.generate(**inputs, num_beams=4, max_length=256)
print(tokenizer.decode(output[0], skip_special_tokens=True))
| Model | Description |
|---|---|
| lunyoro-en2lun | MarianMT English → Lunyoro |
| lunyoro-lun2en | MarianMT Lunyoro → English |
| lunyoro-nllb_en2lun | NLLB-200 English → Lunyoro |
| lunyoro-nllb_lun2en | NLLB-200 Lunyoro → English |
Source code: chriskagenda/TRANSLATOR