paper-with-me

Papers

Impact of Tokenization on LLaMa Russian Adaptation

2023-12-05 · Mikhail Tikhomirov, Daniil Chernyshev

Latest instruction-tuned large language models (LLM) show great results on various tasks, however, they often face performance degradation for non-English input. There is evidence that the reason lies in inefficient tokenization caused by low language representation in pre-training data which hinders the comprehension of non-English instructions, limiting the potential of target language instruction-tuning. In this work we investigate the possibility of addressing the issue with vocabulary substitution in the context of LLaMa Russian language adaptation. We explore three variants of vocabulary adaptation and test their performance on Saiga instruction-tuning and fine-tuning on Russian Super Glue benchmark. The results of automatic evaluation show that vocabulary substitution not only improves the model's quality in Russian but also accelerates fine-tuning (35%) and inference (up to 60%) while reducing memory consumption. Additional human evaluation of the instruction-tuned models demonstrates that models with Russian-adapted vocabulary generate answers with higher user preference than the original Saiga-LLaMa model.

📄 PDF Abstract BibTeX arXiv:2312.02598

Code (1)

RefalMachine/ruadapt pytorch

Similar Papers 제목 키워드 기반

How Much is Enough? The Diminishing Returns of Tokenization Training Data

2025-02-27 · Varshini Reddy, Craig W. Schmidt, Yuval Pinter, Chris Tanner

Tokenization, a crucial initial step in natural language processing, is governed by several key parameters, such as the tokenization algorithm, vocabulary size, pre-tokenization strategy, inference strategy, and training…

Attribute

Facilitating large language model Russian adaptation with Learned Embedding Propagation

2024-12-30 · Mikhail Tikhomirov, Daniil Chernyshev

Rapid advancements of large language model (LLM) technologies led to the introduction of powerful open-source instruction-tuned LLMs that have the same text generation quality as the state-of-the-art counterparts such as…

Language ModelingLanguage ModellingLarge Language ModelText Generation

Self-tuning hyper-parameters for unsupervised cross-lingual tokenization

2023-03-04 · Anton Kolonin

We explore the possibility of meta-learning for the language-independent unsupervised tokenization problem for English, Russian, and Chinese. We implement the meta-learning approach for automatic determination of hyper-p…

Meta-Learning

How Different Tokenization Algorithms Impact LLMs and Transformer Models for Binary Code Analysis

2025-11-05 · Ahmed Mostafa, Raisul Arefin Nahid, Samuel Mulder arxiv

Tokenization is fundamental in assembly code analysis, impacting intrinsic characteristics like vocabulary size, semantic coverage, and extrinsic performance in downstream tasks. Despite its significance, tokenization in…

Tokenization counts: the impact of tokenization on arithmetic in frontier LLMs

2024-02-22 · Aaditya K. Singh, DJ Strouse

Tokenization, the division of input text into input tokens, is an often overlooked aspect of the large language model (LLM) pipeline and could be the source of useful or harmful inductive biases. Historically, LLMs have …

Inductive BiasLanguage ModellingLarge Language Model