KazByte: Adapting Qwen models to Kazakh via Byte-level Adapter

Fuente: arXiv
Saved in:
Bibliographic Details
Main Author: Akylzhanov, Rauan
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911552374833152
author Akylzhanov, Rauan
author_facet Akylzhanov, Rauan
contents Large language models fragment Kazakh text into many more tokens than equivalent English text, because their tokenizers were built for high-resource languages. This tokenizer tax inflates compute, shortens the effective context window, and weakens the model's grip on Kazakh morphology. We propose to bypass the tokenizer entirely by feeding raw bytes through a small adapter that learns to speak the internal language of a frozen Qwen2.5-7B. Once the adapter is trained, we freeze it and fine-tune only the attention layers of Qwen on Kazakh text. Our central hypothesis is that this two-stage process -- first teach the interface, then adapt the model -- should match or exceed the accuracy of the original Qwen2.5-7B on standard Kazakh benchmarks. This report describes the ByteKaz architecture and training protocol. Empirical validation is ongoing; this version stakes the design and hypotheses for the record.
format Preprint
id arxiv_https___arxiv_org_abs_2603_27859
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle KazByte: Adapting Qwen models to Kazakh via Byte-level Adapter
Akylzhanov, Rauan
Computation and Language
Numerical Analysis
Large language models fragment Kazakh text into many more tokens than equivalent English text, because their tokenizers were built for high-resource languages. This tokenizer tax inflates compute, shortens the effective context window, and weakens the model's grip on Kazakh morphology. We propose to bypass the tokenizer entirely by feeding raw bytes through a small adapter that learns to speak the internal language of a frozen Qwen2.5-7B. Once the adapter is trained, we freeze it and fine-tune only the attention layers of Qwen on Kazakh text. Our central hypothesis is that this two-stage process -- first teach the interface, then adapt the model -- should match or exceed the accuracy of the original Qwen2.5-7B on standard Kazakh benchmarks. This report describes the ByteKaz architecture and training protocol. Empirical validation is ongoing; this version stakes the design and hypotheses for the record.
title KazByte: Adapting Qwen models to Kazakh via Byte-level Adapter
topic Computation and Language
Numerical Analysis
url https://arxiv.org/abs/2603.27859