Til-Qazyna

Қазақша. Ш. Шаяхметов атындағы «Тіл-Қазына» ұлттық ғылыми-практикалық орталығы қазақ тіліне арналған деректер мен модельдерді әзірлейді. Бұл парақта мәтін, сөйлеу, OCR, морфология, терминология және тілдік модель репозиторийлері жинақталған.

По-русски. Национальный научно-практический центр «Тіл-Қазына» имени Ш. Шаяхметова выпускает данные и модели для казахского языка. Здесь собраны репозитории текстов, речи, OCR, морфологии, терминологии и языковых моделей.

The National Scientific and Practical Centre 'Til-Qazyna' named after Sh. Shayakhmetov (Ш. Шаяхметов атындағы «Тіл-Қазына» ұлттық ғылыми-практикалық орталығы) develops datasets and models for Kazakh. Its repositories link source corpora, curated datasets, tokenizers, base models and task-specific fine-tunes, allowing researchers to trace training data and developers to work with the released resources.

What's here

Models Datasets Data on the Hub
42 57 2.2 TB

The total includes all branches and revision history. Repository cards are available in Kazakh, Russian and English.

Flagship datasets

Dataset Records Size Contents
Til-Corpus 58,850,639 204.20 GB Tiered multilingual text for language-model pretraining.
Til-Instruct 6,259,769 8.35 GB Judged instruction records grouped into raw, clean and premium configs.
Til-Parallel 23,294,865 72.16 GB Tiered parallel text centered on Kazakh.
Til-Books 16,847 books 2.02 GB Full-text books extracted from digital files or recovered with OCR.
Til-Audio 380,068 249.77 GB Speech and transcripts in the downloadable config for ASR, TTS and audio tasks.
Til-GEC 4,624,548 1.23 GB Error-to-correction pairs for Kazakh GEC training.
Til-Morphology 3,767,518 207.8 MB Kazakh words with morpheme segmentation and context.
Til-Terminology 317,277 5.7 MB Judged terminology records across subject areas.
Til-Classification 91,766 15.1 MB Labeled text for classification tasks.

Model families

Til Core

Kazakh-only models trained from scratch with a 256,000-token morpheme-aware BPE vocabulary.

Model Size Role
Til-Core-0.5B 2.02 GB Base model; Qwen2, 18 layers and 32,768-token context.
Til-Core-0.5B-Instruct 2.02 GB Instruction fine-tune of the 0.5B base with the same architecture and context.
Til-Core-0.5B-QazGramma-GEC 1.02 GB GEC fine-tune of the 0.5B base for grammar, spelling and punctuation correction.
Til-Core-1B 7.11 GB Base model; Llama architecture, 16 layers and 2,048-token context.
Til-Core-1B-Instruct 3.57 GB Instruction version of the 1B base for Kazakh chat and tasks.
Til-Core-1B-GEC 5.01 GB GEC version of the 1B base for minimal-edit correction.

Til multilingual

Kazakh-first models covering Russian, English, code and mathematics with a 131,072-token vocabulary.

Model Size Role
Til-mini-1B 3.84 GB Base model; DeepSeek-V3 architecture, 24 layers and 2,048-token context.
Til-mini-1B-GEC 1.93 GB GEC fine-tune of Til-mini-1B.
Til-2B 7.92 GB Base model; DeepSeek-V3 architecture, 30 layers and 4,096-token context.
Til-2B-instruct 3.97 GB Instruction fine-tune of Til-2B for chat, QA, writing and rewriting.
Til-2B-GEC 3.97 GB GEC fine-tune of Til-2B for Kazakh correction.
Til-0.5B-multilingual-base 952.8 MB Base model with 24 layers and 4,096-token context.
Til-1B-multilingual-base 1.89 GB 1B base model with 24 layers and 4,096-token context.
Til-1B-multilingual-base-GEC 1.89 GB GEC fine-tune of the 1B multilingual base.

Til 256k research ladder

The exp080–exp085 sequence follows a Kazakh model through pretraining, instruction tuning and GEC.

Repository Size Role
Til-kk-0.5B-256k-exp080 7.55 GB per checkpoint Pretrained base; weights are in epoch-1, epoch-2 and epoch-3, while main has no weights.
Til-kk-0.5B-256k-sft-exp081 4.75 GB per checkpoint Instruction-tuned model; weights are in epoch-1, epoch-2 and epoch-3, while main has no weights.
Til-kk-0.5B-256k-gec-exp082 4.75 GB per checkpoint GEC model; weights are in epoch-1, epoch-2 and epoch-3, while main has no weights.
Til-kk-0.5B-256k-gec-rlaif-exp083 4.75 GB RLAIF-trained GEC model; weights are in epoch-1, while main has no weights.
Til-kk-0.5B-256k-gec-exp085 1.72 GB Published GEC model; DeepSeek-V3 architecture, 24 layers and 4,096-token context.
Til-Corpus-exp078 139.07 GB Corpus snapshot used alongside the experimental ladder.

Collections

Start here

Run an instruction model

from transformers import pipeline
generate = pipeline("text-generation", model="TilQazyna/Til-2B-instruct")
print(generate("Қазақ тілінде қысқаша жауап бер:", max_new_tokens=80)[0]["generated_text"])

Stream the pretraining corpus

from datasets import load_dataset
ds = load_dataset("TilQazyna/Til-Corpus", "premium", split="train", streaming=True)
print(next(iter(ds)))

Prepare corpus records with the released tokenizer

from datasets import load_dataset
from transformers import AutoTokenizer
ds = load_dataset("TilQazyna/Til-Corpus", "premium", split="train", streaming=True)
tokenizer = AutoTokenizer.from_pretrained("TilQazyna/Til-Tokenizer-128k")
tokenized = ds.map(lambda row: tokenizer(row["text"], truncation=True))

Access

All repositories require access approval. Cards and file lists are public; files can be downloaded after the TilQazyna team approves a request submitted through Request access.

Citation

@misc{tilqazyna2026,
  author = {{Ш. Шаяхметов атындағы «Тіл-Қазына» ұлттық ғылыми-практикалық орталығы}},
  title = {Til-Qazyna on Hugging Face},
  year = {2026},
  url = {https://huggingface.co/TilQazyna}
}