Back to topics

Language Models

Tokenization

Turning text into model input

Discussedbeginner

About

How language is split into tokens before a model sees it. Vocabulary size, subword units, and the tradeoffs that show up later in prompting and RAG.

Prerequisites