arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.09373cs.CL
收藏

AfriNLLB:用于非洲语言的高效翻译模型

AfriNLLB: Efficient Translation Models for African Languages

Trinity College Dublin(都柏林三一学院)

Yasmin Moslem, Aman Kassahun Wassie, Amanuel Gizachew Abebe

AI总结:

AfriNLLB通过轻量级模型和知识蒸馏技术,为非洲语言提供高效翻译解决方案,支持15种语言对,实现高效部署与推断。

摘要:

在本工作中,我们提出了AfriNLLB,一系列轻量级模型,用于高效地从和向非洲语言进行翻译。AfriNLLB支持15种语言对(30种翻译方向),包括斯瓦希里语、豪萨语、约鲁巴语、阿姆哈拉语、索马里语、祖鲁语、林加拉语、阿弗里卡语、沃洛夫语以及其他非洲联盟官方语言,如阿拉伯语(标准阿拉伯语)、法语、葡萄牙语和西班牙语。我们的训练数据涵盖了英语与13种语言之间的双向翻译,以及法语与两种语言(林加拉语和沃洛夫语)之间的翻译。AfriNLLB模型基于NLLB-200 600M,我们通过迭代层剪枝和量化进行压缩。我们对平行语料库进行了微调,以训练非洲语言的模型,采用从更大教师模型的知识蒸馏。我们的工作旨在使非洲语言的翻译模型在资源受限的环境中能够高效部署。我们的评估结果表明,AfriNLLB模型在性能上与基线模型相当,但显著更快。我们发布了AfriNLLB模型的两个版本,一个Transformers版本允许进一步微调,一个CTranslate2版本用于高效推断。此外,我们发布了用于微调基线和剪枝模型的所有训练数据,以促进进一步研究。

英文摘要:

In this work, we present AfriNLLB, a series of lightweight models for efficient translation from and into African languages. AfriNLLB supports 15 language pairs (30 translation directions), including Swahili, Hausa, Yoruba, Amharic, Somali, Zulu, Lingala, Afrikaans, Wolof, and Egyptian Arabic, as well as other African Union official languages such as Arabic (MSA), French, Portuguese, and Spanish. Our training data covers bidirectional translation between English and 13 languages, and between French and two languages (Lingala and Wolof). AfriNLLB models are based on NLLB-200 600M, which we compress using iterative layer pruning and quantization. We fine-tune the pruned models on parallel corpora we curated for African languages, employing knowledge distillation from a larger teacher model. Our work aims at enabling efficient deployment of translation models for African languages in resource-constrained settings. Our evaluation results demonstrate that AfriNLLB models achieve performance comparable to the baseline while being significantly faster. We release two versions of the AfriNLLB models, a Transformers version that allows further fine-tuning and a CTranslate2 version for efficient inference. Moreover, we release all the training data that we used for fine-tuning the baseline and pruned models to facilitate further research.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑