arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2611.07797cs.CL
收藏

用于德英翻译的NLLB数据集收集与微调

Dataset Collection and Fine-Tuning of NLLB for German--English Translation

Sardar Vallabhbhai National Institute of Technology(萨达尔·瓦拉巴伊国家理工学院)

SK Deeraj, Yash Ingle, Pruthwik Mishra

AI总结:

本文从OPUS Books整理德英翻译高质量平行语料库,微调Meta的NLLB-200模型,优化消费级GPU的微调方法,微调的NLLB-600M模型在翻译任务上性能显著提升,集成到LinguaHaru实现格式保留翻译,相关资源可复现获取。

摘要:

本文介绍了从OPUS Books整理高质量平行语料库,以及对Meta的NLLB-200模型进行德英翻译微调的工作。我们详细说明了一个数据集提取流程,该流程通过编码验证、长度过滤、语言识别、去重和质量评分,将45000条原始OPUS句子对筛选为25000条高质量样本。我们提出了一种针对消费级GPU优化的可复现微调方法,采用混合精度、梯度累积和梯度检查点技术。我们的微调后的NLLB-600M模型在文学和技术德英翻译任务上,较基础模型取得了统计显著的提升:BLEU值提升3.4,chrF++值提升2.6,TER值降低3.2。我们通过将微调模型集成到现有开源文档翻译系统LinguaHaru中,展示了实际部署效果,实现了PDF和Office文档的格式保留翻译。所有数据集准备脚本、训练代码和评估工具均已提供以确保可复现性,微调后的模型可在HuggingFace获取。

英文摘要:

This paper describes the curation of a high-quality parallel corpus from OPUS Books and the fine-tuning of Meta's NLLB-200 models for German--English translation. We detail a dataset extraction pipeline that filters 45k raw OPUS sentence pairs to 25k high-quality examples through encoding validation, length filtering, language identification, deduplication, and quality scoring. We present a reproducible fine-tuning methodology optimized for consumer GPUs using mixed precision, gradient accumulation, and gradient checkpointing. Our fine-tuned NLLB-600M model achieves statistically significant improvements (+3.4 BLEU, +2.6 chrF++, -3.2 TER) over the base model on literary and technical German-English translation. We demonstrate practical deployment by integrating the fine-tuned model into LinguaHaru, an existing open-source document translation system, achieving format-preserving translation across PDF and Office documents. All dataset preparation scripts, training code, and evaluation tools are provided for reproducibility. The fine-tuned model is available at HuggingFace.

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

↑