为哈萨克语训练小型专用模型,性能媲美大模型且成本更低。
SozKZ: Training Efficient Small Language Models for Kazakh from Scratch
- 从零训练50M-600M参数模型,使用专为黏着语设计的5万词表分词器。
- 600M模型在文化问答任务中达30.3%准确率,接近10亿参数大模型表现。
- 小模型持续受益于规模扩展,适合资源有限但需本地化语言技术的场景。
哈萨克语是超过2200万人使用的突厥语族语言,现有多语言模型对其支持不足,因容量分配少且分词器不适应黏着语构词。我们提出SozKZ,一套基于Llama架构、参数量50M至600M的语言模型,完全从头训练于90亿哈萨克语文本,并配备专用5万词表的BPE分词器。在三个哈萨克语基准上评估:多项选择文化问答、阅读理解(Belebele)与主题分类(SIB-200),并与五种多语言基线(500M至3B参数)对比。600M模型在文化问答任务中达到30.3%准确率,接近10亿参数的Llama-3.2-1B(32.0%),在SIB-200主题分类中达25.5%,超越所有≤2B参数的多语言模型。从50M到600M模型的性能持续提升,文化问答准确率由22.8%升至30.3%,表明进一步扩展仍具潜力。结果表明,从头训练的小型专用模型结合语言适配分词器,可在极低计算成本下实现有竞争力的低资源语言技术表现。所有模型及分词器均已开源。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。