MicrolearnENPTES

Tokens

Lesson 1 of 20 · AI.Micro

Models do not read letters or words: they read tokens, small pieces of text with an id.

Before a model sees your text, a tokenizer cuts it into tokens and gives each one a number (hover a token to see it). The model only ever works with these numbers.

Check yourself

What does a tokenizer do?

Do it in the browser: a real generative AI tool, a short mission and instant feedback. No install.

Start this lesson — free
Predicting the next word →

All lessons · AI.Micro