ML glossary › Vocabulary
What is vocabulary in machine learning?
The fixed list of all tokens a model knows, each with its own ID number.
Where it shows up
Sequences and text
Tokenization
Splitting on spaces is a start. But English has hundreds of thousands of words, plus names, typos and new slang. A word-only vocabulary would be huge and still miss things.
See vocabulary in motion. The lesson animates it step by step, free.
Open the lessonRelated terms
- Token: A small piece of text, like a word or part of a word, that a language model reads.