Buckets:
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| .gitattributes | 2.46 kB xet | 19463de8 | |
| README.md | 1.64 kB xet | 3f7bb566 | |
| yor_dev.csv | 3.03 kB xet | e9a1c079 | |
| yor_train.csv | 41.7 kB xet | 40e93bdc |
Are LLMs Good Text Diacritizers? An Arabic and Yorùbá Case Study
We investigate the effectiveness of large language models (LLMs) for text diacritization in two typologically distinct languages: Arabic and Yoruba. To enable a rigorous evaluation, we introduce a novel multilingual dataset MultiDiac , with diverse samples that capture a range of diacritic ambiguities. We evaluate 14 LLMs varying in size, accessibility, and language coverage, and benchmarked them against 6 specialized diacritization models. Additionally, we fine-tune four small open-source models using LoRA for Yoruba. Our results show that many off-the-shelf LLMs outperform specialized diacritiztion models for both Arabic and Yoruba, but smaller models suffer from hallucinations. Fine-tuning on a small dataset can help improve diacritization performance and reduce hallucination rates.
Cite this work:
@misc{toyin2025llmsgoodtextdiacritizers,
title={Are LLMs Good Text Diacritizers? An Arabic and Yor\`ub\'a Case Study},
author={Hawau Olamide Toyin and Samar M. Magdy and Hanan Aldarmaki},
year={2025},
eprint={2506.11602},
archivePrefix={arXiv},
primaryClass={cs.CL},
url={https://arxiv.org/abs/2506.11602},
}
- Total size
- 48.9 kB
- Files
- 4
- Last updated
- Jun 10
- Pre-warmed CDN
- US EU US EU