



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Why LLM’S doesn't actually read your words.
Understanding the magic of Tokenization.
Byte Pair Encoding: The AI's favorite tool.
It groups the most common letter pairs together. "t" + "h"
becomes "th". "th" + "e" becomes "the".
The "Phonebook" (Vocabulary)
Every piece has a secret ID.
Once text is sliced, it’s matched to a fixed list
Example: "Hello" = 15496. " world" = 995.
Understanding tokenization helps you prompt better and manage costs.