Vocabulary
What is Vocabulary?
In one sentence: A model's vocabulary is the complete list of tokens it knows, each with its own ID number.
What does Vocabulary look like?
A model with a 100,000-token vocabulary can choose from 100,000 options every time it picks the next token.
Why does Vocabulary matter?
Vocabulary size affects how efficiently a model handles different languages, code and symbols.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/vocabulary/">Vocabulary, explained simply</a> (The AI Math Dictionary)