Dataset Collection and Fine-Tuning of NLLB for German--English Translation
Abstract
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.
Create a lesson
Related papers
Weight-Space Programming Writes In-Context Learning and Matches Fine-Tuning in Language Models
Shared title terminology · Konstantinos Skianis, Aristidis Likas
Guardrail Erosion in Domain Fine-Tuned Large Language Models: A Paired Audit of Knowledge-Centric Abstention in Biomedical LLMs
Shared title terminology · Stephen Peng, Vineet Jagadeesan Nair, Noah Broestl et al.
Fine-Tuning a Transducer for Impaired Speech: Where the Gains Appear and What They Mean for Evaluation
Shared title terminology · Kien Nguyen, Tuan Dinh, Bao Phan
Large Language Models or AI Agents for English to Arabic Translation? An assessment on WikiEn-Ar190
Shared title terminology · Fatima Zahra Iguenfer, Yousra Chtouki
Dialect Matters: A Dialect-Aware Baseline for Igala-English Machine Translation
Shared title terminology · Etuh E., Eli. A. Jiya
Hy-MT3: More Accurate, Robust and Practical Multilingual Translation Models in the Wild
Shared title terminology · Mao Zheng, Zheng Li, Fangxu Liu et al.