ML glossary › Token
What is token in machine learning?
A small piece of text, like a word or part of a word, that a language model reads.
Where it shows up
Sequences and text
Tokenization
Modern models split text into tokens: common words stay whole, rarer ones break into familiar pieces like “un” + “believ” + “ably”. Any text at all can be built from a vocabulary of tens of thousands of pieces.
See token in motion. The lesson animates it step by step, free.
Open the lessonRelated terms
- Vocabulary: The fixed list of all tokens a model knows, each with its own ID number.