Skip to content

TechnicalAI glossary

Tokenizer

The program that splits text into tokens before a model reads it, using fragments learned according to how frequent they are. Its effects are very concrete: switching tokenizer can make the same text consume noticeably more tokens (and therefore cost more), French is often split into more pieces than English, and numbers get chopped up with no regard for their value.

In other words

The guillotine cutter that slices a page into strips before handing it over to be read: depending on the blade, the same page yields more or fewer pieces.

Alyriaz articles that mention it

See also

More in this family: Technical

Find it in the full glossary →All the terms