Glossary · Term

tokenizer

← all terms

Definition

Plain language

The part of the system that chops text into the small chunks a model actually reads.

As stated in the literature

Component mapping raw text to a sequence of discrete token IDs (typically via subword schemes such as BPE) and back; its segmentation determines sequence length, cost, and several character-level failure modes.

Also called: tokenizers, tokenization, tokenize, tokenized, tokenizing

Why it matters: Because it processes raw characters without caring whether they're visible, invisible text still gets fed to the model just like normal words.

For example, the word 'unbelievable' might be split into smaller chunks like 'un', 'believ', and 'able' before the AI reads it.

Heard on the show

“… have five minutes of wall-clock training on a single GPU to minimize validation bits-per-byte on a tokenized web corpus. …”
Episode 053 — An AI Agent Swapped In Focal Loss And Beat A Human-Tuned Training Script

Related concepts

Related terms