Large Vocabulary Size Improves Large Language Models

Sho Takase, Ryokan Ri, Shun Kiyono, Takuya Kato
6/24/2024
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

This paper empirically investigates the relationship between subword vocabulary size and the performance of large language models (LLMs) to provide insights on how to define the vocabulary size. Experimental results show that larger vocabulary sizes lead to better performance in LLMs. Moreover, we consider a continual training scenario where a pre-trained language model is trained on a different target language. We introduce a simple method to use a new vocabulary instead of the pre-defined one. We show that using the new vocabulary outperforms the model with the vocabulary used in pre-training.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{takase2024large,
  title  = {Large Vocabulary Size Improves Large Language Models},
  author = {Sho Takase and Ryokan Ri and Shun Kiyono and Takuya Kato},
  year   = {2024},
  eprint = {2406.16508},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.16508v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2406.16508.svg)](https://codeofpaper.com/paper/2406.16508)

Discussion