QamoosTech
AI & DataBeginner

Tokenization

PronunciationTOH-kuh-nih-ZAY-shun

Definition

Tokenization is the process of breaking down raw text into smaller units called tokens, such as words, sub-words, or characters. These tokens serve as the fundamental building blocks that large language models use to process and understand input data.

Where you hear it

In discussions about LLM input limits, data preprocessing pipelines, and model training configurations.

Examples

  • The model failed because the input text exceeded the maximum tokenization limit.
  • Our preprocessing script handles tokenization before sending the data to the API.
  • Tokenization splits the word unbelievable into several pieces before the model reads it.

Common mistake

Assuming that one token always equals one word, whereas many modern tokenizers break words into smaller sub-word units to handle complex vocabulary.

Don't confuse with

Tokenization is often confused with stemming; while tokenization breaks text into discrete units, stemming reduces words to their root or base form.

Say it at work

  • In a meeting or chatWe need to check if our current tokenization strategy is efficient enough for these long documents.
  • In an email or ticketPlease review the updated configuration to ensure the tokenization process correctly handles special characters.