SozKZ: 从头开始训练高效的哈萨克语小型语言模型
SozKZ: Training Efficient Small Language Models for Kazakh from Scratch
AI总结:
本文提出SozKZ,通过从头训练哈萨克语模型,在90亿个token上使用专用的50K BPE分词器,实现了在文化问答、阅读理解及主题分类任务上的高性能表现,证明了小型专用模型在低资源语言技术中的可行性。
摘要:
哈萨克语是一种使用人数超过2200万的突厥语,现有多语言模型对低资源语言支持不足,分配极少容量且使用不适用于黏着形态的分词器。我们提出SozKZ,一个基于Llama架构的语言模型家族(50M-600M参数),完全从头训练于90亿个哈萨克语文本,使用专用的50K BPE分词器。我们评估了所有模型在三个哈萨克语基准测试——多选文化问答、阅读理解(Belebele)和主题分类(SIB-200)——以及五个多语言基线模型(参数范围从500M到3B)上的表现。我们的600M模型在哈萨克语文化问答任务上达到30.3%的准确率,接近Llama-3.2-1B(2倍大)的32.0%;在SIB-200主题分类任务上达到25.5%的准确率,超过所有评估的多语言模型(最大到2B参数)。我们观察到从50M到600M的持续扩展,MC问答准确率从22.8%提升到30.3%,表明进一步扩展仍有益。这些结果表明,使用语言专用分词器从头训练的小型专用模型在低资源语言技术中具有可行性,能够在计算成本大幅降低的情况下实现竞争力表现。所有模型和分词器均以开放许可发布。
英文摘要:
Kazakh, a Turkic language spoken by over 22 million people, remains underserved by existing multilingual language models, which allocate minimal capacity to low-resource languages and employ tokenizers ill-suited to agglutinative morphology. We present SozKZ, a family of Llama-architecture language models (50M-600M parameters) trained entirely from scratch on 9 billion tokens of Kazakh text with a dedicated 50K BPE tokenizer. We evaluate all models on three Kazakh benchmarks -- multiple-choice cultural QA, reading comprehension (Belebele), and topic classification (SIB-200) -- alongside five multilingual baselines ranging from 500M to 3B parameters. Our 600M model achieves 30.3% accuracy on Kazakh cultural QA, approaching the 32.0% of Llama-3.2-1B (2x larger), and 25.5% on SIB-200 topic classification, surpassing all evaluated multilingual models up to 2B parameters. We observe consistent scaling from 50M to 600M, with MC QA accuracy rising from 22.8% to 30.3%, suggesting that further scaling remains beneficial. These results demonstrate that small, dedicated models trained from scratch with a language-appropriate tokenizer offer a viable path for low-resource language technology, achieving competitive performance at a fraction of the computational cost. All models and the tokenizer are released under open licenses.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。