One Token at a Time
A Word Can Be Several Tokens
A language model processes tokens, which need not be whole words. A tokenizer splits text into pieces and gives each piece an identifier. The word “playing” can become “play” and “ing”.
Text in
"playing"
2 tokens · in order
- "play"V1
- "ing"V2
Join the pieces
"playing"
By the end of this lesson
You’ll read a token split, preserve spaces and punctuation, and explain why the same text can have different token counts.