Index Ai Academy
Glossary · Phase 5 · Transformers

Pre-tokenization

Splitting text into rough chunks, such as words and spaces, before the tokenizer merges pieces inside each chunk.

Try it now

Common words end up as one token and rare ones as several, which explains a lot of odd LLM behavior.

Learn it properly

Tokenization and BPE · How tokenizers are built from data. About 35 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write