SozKZ: Training Efficient Small Language Models for Kazakh from Scratch
Organizations: Independent Researcher
Abstract
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.
Figures & tables
| Model | Params | Layers | Hidden | Heads | Intermediate |
|---|---|---|---|---|---|
| SozKZ -50M | 50.3M | 8 | 576 | 8 | 1,536 |
| SozKZ -150M | 151.9M | 16 | 768 | 12 | 2,048 |
| SozKZ -300M | 325M | 18 | 1,024 | 16 | 3,584 |
| SozKZ -600M | 587M | 22 | 1,280 | 20 | 4,480 |
| Model | Params | MC QA | Belebele | SIB-200 |
|---|---|---|---|---|
| sozkz-50m | 50M | – | 27.0 | 25.5 |
| sozkz-150m | 150M | 24.7 | 27.0 | 25.5 |
| sozkz-300m | 300M | 28.3 | 27.8 | 25.5 |
| sozkz-600m | 600M | 30.3 | 27.0 | 25.5 |
| qwen-0.5b | 500M | 31.5 | 30.0 | 19.1 |
| llama-3-1b | 1B | 32.0 | 26.7 | 20.1 |