Sailor: Open Language Models for South-East Asia
Longxu Dou, Qian Liu, Guangtao Zeng, Jia Guo, Jiahui Zhou, Wei Lu, Min Lin
TL;DR
Sailor addresses the challenge of building open large language models that perform well across South-East Asian languages by combining continual pre-training from Qwen1.5 with a SEA-focused SailCraft corpus of roughly $200$B tokens and a replay corpus. The approach integrates data-centric techniques (merging adjacent short examples, document-level code-switching, aggressive cleaning and deduplication), tokenization strategies (BPE dropout), and data-mix optimization via proxy models and a linear-regression-based search, while navigating the curse of multilinguality through careful learning-rate and data-proportion tuning expressed through the magic metric $\log( ext{Source Proportion}) - \log(\text{Learning Rate})$. The framework yields Sailor variants from 0.5B to 7B that outperform baselines on SEA benchmarks across QA, commonsense, reading, and exams, and is released openly to spur further multilingual SEA research and development. This work demonstrates practical strategies to improve multilinguality in low- to mid-resource languages and highlights the importance of robust data curation, code-switching techniques, and data-mixture simulation for future SEA-focused LLMs.
Abstract
We present Sailor, a family of open language models ranging from 0.5B to 7B parameters, tailored for South-East Asian (SEA) languages. These models are continually pre-trained from Qwen1.5, a great language model for multilingual use cases. From Qwen1.5, Sailor models accept 200B to 400B tokens, primarily covering the languages of English, Chinese, Vietnamese, Thai, Indonesian, Malay, and Lao. The training leverages several techniques, including BPE dropout for improving the model robustness, aggressive data cleaning and deduplication, and small proxy models to optimize data mixture. Experimental results on four typical tasks indicate that Sailor models demonstrate strong performance across different benchmarks, including commonsense reasoning, question answering, reading comprehension and examination. Embracing the open-source spirit, we share our insights through this report to spark a wider interest in developing large language models for multilingual use cases.
