Vocabulary Size: The Perplexity Sweet Spot

Achieving optimal perplexity on WikiText-2 requires balancing vocabulary size; too small a vocabulary leads to longer sequences and potentially higher perplexity, while an excessively large one increases data sparsity and embedding size, with studies suggesting many LLMs use suboptimal, smaller vocabularies.

Sources

Open the full topic