Downloads · 30 days
689
24% of all-time downloads
Davlan/mT5_base_yoruba_adr
mT5_base_yoruba_adr is a machine learning model from Davlan. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for transformers.
Hugging Face's logo --- language: yo datasets: - JW300 + Menyo-20k --- mT5baseyorubaadr is a automatic diacritics restoration model for Yorùbá language based on a fine-tuned mT5-base model. It achieves the state-of-th…
Downloads · 30 days
689
24% of all-time downloads
All-time downloads
2.9K
Public
Repo size
7 GB
Likes
1
Public
Click a slice to open those files.
.bin2.3 GB · 100%
From the Hugging Face model README
language: yo datasets:
mT5_base_yoruba_adr is a automatic diacritics restoration model for Yorùbá language based on a fine-tuned mT5-base model. It achieves the state-of-the-art performance for adding the correct diacritics or tonal marks to Yorùbá texts.
Specifically, this model is a mT5_base model that was fine-tuned on JW300 Yorùbá corpus and Menyo-20k
You can use this model with Transformers pipeline for ADR.
from transformers import AutoTokenizer, AutoModelForTokenClassification
from transformers import pipeline
tokenizer = AutoTokenizer.from_pretrained("")
model = AutoModelForTokenClassification.from_pretrained("")
nlp = pipeline("", model=model, tokenizer=tokenizer)
example = "Emir of Kano turban Zhang wey don spend 18 years for Nigeria"
ner_results = nlp(example)
print(ner_results)
This model is limited by its training dataset of entity-annotated news articles from a specific span of time. This may not generalize well for all use cases in different domains.
This model was fine-tuned on on JW300 Yorùbá corpus and Menyo-20k dataset
This model was trained on a single NVIDIA V100 GPU
64.63 BLEU on Global Voices test set 70.27 BLEU on Menyo-20k test set
By Jesujoba Alabi and David Adelani