Search papers, labs, and topics across Lattice.
The paper introduces ByteKaz, a method for adapting large language models to low-resource languages like Kazakh by using a byte-level adapter to bypass inefficient tokenization. This adapter learns to map raw bytes to the internal representations of a frozen Qwen2.5-7B model, followed by fine-tuning only the attention layers on Kazakh text. The hypothesis is that this two-stage approach will improve accuracy and efficiency compared to direct fine-tuning with existing tokenizers.
Adapting LLMs to low-resource languages might be as simple as teaching them to "speak" bytes, sidestepping the tokenization bottleneck.
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.