Multilingual Tokenization and Vocabulary Allocation › Key Parameters

Michael BrenndoerferNovember 25, 20261 min read
Language AI HandbookAll chapters
Part 26 of 67Multilingual Language Models and Cross-Lingual Transfer
Chapter 184Multilingual Tokenization and Vocabulary Allocation › Key Parameters
Reading section 6 of 11 · Key Parameters · 1 minSection 6 of 11 · 1 min

Section 6 of 11 · 1 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

The key parameters for multilingual tokenizer training are:

  • vocab_size sets the target number of pieces, including reserved IDs. If training ends below that target, use the realized vocabulary size to count the embedding rows needed for its token IDs.
  • character_coverage sets the occurrence mass used to select the training alphabet. Inspect the final alphabet and held-out coverage for each language.
  • model_type selects the SentencePiece tokenizer family. BPE merges frequent adjacent pairs, and unigram training uses a probabilistic segmentation objective.
  • byte_fallback keeps 256 byte pieces available to represent unsupported characters after normalization.
  • normalization_rule_name controls which text distinctions survive before encoding.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy