What is tokenization?
- User
What is tokenization?
Assistant
Tokenization is the process of breaking down text into smaller units called tokens, which are the basic building blocks that language models use to process and understand text.
In natural language processing, tokens can be:
- Individual words ("cat", "running")
- Subwords or word pieces ("un" + "believable")
- Characters (individual letters or symbols)
- Even phrases in some systems
For modern language models like GPT or Claude, tokenization typically uses subword tokenization methods. This means common words might be single tokens, while rare or complex words get split into multiple tokens. For example:
- "running" might be one token
- "unbelievable" might be split into "un" + "believ" + "able"
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.