Llama-3.1-Sherkala-8B-Chat: An Open Large Language Model for Kazakh

Fajri Koto, Rituraj Joshi, Nurdaulet Mukhituly, Yuxia Wang, Zhuohan Xie, Rahul Pal, Daniil Orel, Parvez Mullah, Diana Turmakhan, Maiya Goloburda, Mohammed Kamran, Samujjwal Ghosh, Bokang Jia, Jonibek Mansurov, Mukhammed Togmanov, Debopriyo Banerjee, Nurkhan Laiyk, Akhmed Sakip, Xudong Han, Ekaterina Kochmar, Alham Fikri Aji, Aaryamonvikram Singh, Alok Anil Jadhav, Satheesh Katipomu, Samta Kamboj, Monojit Choudhury, Gurpreet Gosal, Gokul Ramakrishnan, Biswajit Mishra, Sarath Chandran, Avraham Sheinin, Natalia Vassilieva, Neha Sengupta, Larry Murray, Preslav Nakov · OpenReview

Abstract: Llama-3.1-Sherkala-8B-Chat, or Sherkala-Chat (8B) for short, is a state-of-the-art instruction-tuned open generative large language model (LLM) designed for Kazakh. Sherkala-Chat (8B) aims to enhance the inclusivity of LLM advancements for Kazakh speakers. Adapted from the LLaMA-3.1-8B model, Sherkala-Chat (8B) is trained on 45.3B tokens across Kazakh, English, Russian, and Turkish. With 8 billion parameters, it demonstrates strong knowledge and reasoning abilities in Kazakh, significantly outperforming existing open Kazakh and multilingual models of similar scale while achieving competitive performance in English. We release Sherkala-Chat (8B) as an open-weight instruction-tuned model and provide a detailed overview of its training, fine-tuning, safety alignment, and evaluation, aiming to advance research and support diverse real-world applications.

Introduction

Despite being spoken by approximately 80% of Kazakhstan's 20 million people, the Kazakh language remains significantly underrepresented in Natural Language Processing (NLP) research. Most modern LLMs are English-centric, and even multilingual models often struggle with the linguistic and cultural nuances of Kazakh. Sherkala-Chat (8B) addresses this "moderately resourced" gap by leveraging the powerful Llama-3.1-8B foundation and augmenting it with high-quality native and translated data.

Methodology and Adaptation

The development of Sherkala-Chat (8B) followed a two-pronged strategy: continual pretraining and vocabulary expansion. The model underwent continual pretraining on 45.3 billion tokens. Empirical testing determined that the optimal data mixture for this stage was a 3:1:3 ratio of Kazakh to (Russian + Turkish) to English.

Vocabulary Expansion and Efficiency

Standard tokenizers are often inefficient for Kazakh, breaking simple words into numerous sub-tokens. To address this, the researchers expanded the Llama-3.1 vocabulary by 25%, adding Kazakh-specific tokens. This modification significantly reduced the "fertility" (the average number of tokens per word) for Kazakh from 4.73 to 2.04, effectively doubling the model's computational efficiency and extending its effective context window for the language.

Comparison of vocabulary size and fertility between Llama-3.1 and Sherkala (8B).

To ensure the model could immediately utilize these new tokens, the team used the WECHSEL method for embedding initialization, mapping new Kazakh embeddings to existing English/multilingual ones based on semantic similarity.

Instruction Tuning and Safety

The model was further refined through Supervised Fine-Tuning (SFT) using a mix of 3.5 million instruction pairs. This included translated datasets like ORCA and JAIS, as well as native Kazakh datasets (CultSet and GovSet) derived from cultural and government sources. A dedicated safety alignment stage was implemented to ensure the model respects the ethical and cultural norms specific to Kazakhstan, covering 17 harm categories.

Key Results

Sherkala-Chat (8B) sets a new state-of-the-art benchmark for open-source Kazakh models. In comprehensive evaluations across world knowledge, commonsense reasoning, and misinformation benchmarks, it achieved an average accuracy of 47.6. This performance significantly exceeds the base Llama-3.1-Instruct (40.4) and the previous specialized leader, KazLLM-1.0-8B (43.7).

Performance comparison of Sherkala-Chat (8B) against other open-source models on Kazakh benchmarks.

Beyond its gains in Kazakh, the model maintains strong performance in English and narrows the gap with specialized Russian models. This demonstrates that targeted optimization for a specific language like Kazakh does not necessarily degrade general multilingual capabilities.

Conclusion and Future Work

Sherkala-Chat (8B) represents a major step forward for the Kazakh NLP community. By releasing the model weights openly, the authors aim to foster further innovation. Future work will focus on closing the reasoning gap with proprietary models like GPT-4o and improving the model's handling of regional dialects and informal speech.

Summary updated

BibTeX
@inproceedings{koto2025llama,
  author = {Fajri Koto and Rituraj Joshi and Nurdaulet Mukhituly and Yuxia Wang and Zhuohan Xie and Rahul Pal and Daniil Orel and Parvez Mullah and Diana Turmakhan and Maiya Goloburda and Mohammed Kamran and Samujjwal Ghosh and Bokang Jia and Jonibek Mansurov and Mukhammed Togmanov and Debopriyo Banerjee and Nurkhan Laiyk and Akhmed Sakip and Xudong Han and Ekaterina Kochmar and Alham Fikri Aji and Aaryamonvikram Singh and Alok Anil Jadhav and Satheesh Katipomu and Samta Kamboj and Monojit Choudhury and Gurpreet Gosal and Gokul Ramakrishnan and Biswajit Mishra and Sarath Chandran and Avraham Sheinin and Natalia Vassilieva and Neha Sengupta and Larry Murray and Preslav Nakov},
  title = {{Llama-3.1-Sherkala-8B-Chat: An Open Large Language Model for Kazakh}},
  booktitle = {COLM},
  year = {2025},
  url = {https://openreview.net/forum?id=wRcTCcb0H5},
}
Figure