- Glossary
- Tokenizer
Glossary term
Tokenizer
The component that splits text into tokens and maps each token to an id the model can process.
Open lesson 2.1
From text to tokens · Chapter 2, and 1 more lesson below
In plain words
Different model families use different tokenizers, so the same text can have a different token count on different models.
Taught in
Also in these lessons
Autoregressive generationContext windowInput tokensLarge language model (LLM)Messages APINext-token predictionParametersPDF supportToken countingVisionVocabulary