YoNER: A New Yor\`ub\'a Multi-domain Named Entity Recognition Dataset
About
Named Entity Recognition (NER) is a foundational NLP task, yet research in Yor\`ub\'a has been constrained by limited and domain-specific resources. Existing resources, such as MasakhaNER (a manually annotated news-domain corpus) and WikiAnn (automatically created from Wikipedia), are valuable but restricted in domain coverage. To address this gap, we present YoNER, a new multidomain Yor\`ub\'a NER dataset that extends entity coverage beyond news and Wikipedia. The dataset comprises about 5,000 sentences and 100,000 tokens collected from five domains including Bible, Blogs, Movies, Radio broadcast and Wikipedia, and annotated with three entity types: Person (PER), Organization (ORG) and Location (LOC), following CoNLL-style guidelines. Annotation was conducted manually by three native Yor\`ub\'a speakers, with an inter-annotator agreement of over 0.70, ensuring high quality and consistency. We benchmark several transformer encoder models using cross-domain experiments with MasakhaNER 2.0, and we also assess the effect of few-shot in-domain data using YoNER and cross-lingual setups with English datasets. Our results show that African-centric models outperform general multilingual models for Yor\`ub\'a, but cross-domain performance drops substantially, particularly for blogs and movie domains. Furthermore, we observed that closely related formal domains, such as news and Wikipedia, transfer more effectively. In addition, we introduce a new Yor\`ub\'a-specific language model (OyoBERT) that outperforms multilingual models in in-domain evaluation. We publicly release the YoNER dataset and pretrained OyoBERT models to support future research on Yor\`ub\'a natural language processing.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Sentiment Analysis | Yorùbá Movie Sentiment (test) | F1 Score92.6 | 6 | |
| Topic Classification | Yorùbá Topic Classification (test) | F1 Score82.5 | 6 | |
| Sentiment Analysis | Yorùbá Twitter Sentiment (test) | F1 Score74.9 | 6 | |
| News topic classification | Yorùbá News Topic Classification (test) | F1 Score0.94 | 6 | |
| Part-of-Speech Tagging | Yorùbá POS (test) | F1 Score94.6 | 6 | |
| Named Entity Recognition | MasakhaNER Yorùbá 2.0 | F1 Score87.4 | 6 |