AI GLOSSARY

Tokenization and Vocabulary Design

The model does not read words directly; it works with token IDs chosen by a tokenizer.

Simple explanation

Subword tokenizers represent common pieces efficiently while decomposing rare words into smaller units. Vocabulary design affects sequence length, multilingual behavior, and compute.

Technical explanation

Subword tokenizers represent common pieces efficiently while decomposing rare words into smaller units. Vocabulary design affects sequence length, multilingual behavior, and compute.

Example

Trace how Text becomes Token IDs through tokenizer.

Related lesson

Tokenization and Vocabulary Design: visual lesson →

Browse all glossary terms →