From a prompt to the next token
Swipe to change step
Step 1 of 9. A model never reads letters the way you do. It starts from a prompt, here The cat sat on the, and its only job is to continue it. .
In this chapter
- 2.1From text to tokens6 min read
- 2.2Next-token prediction6 min read
- 2.3The transformer and attention, in pictures8 min read
- 2.4Why the same prompt can give different answers5 min read
- 2.5Tokenizer algorithms: BPE, WordPiece and SentencePiece7 min read
- 2.6Lab: compare token counts across tokenizers6 min read
Chapter check
Already know this? Score 80% or more and you can skip ahead. Each attempt draws 4 questions from 12.
Loading check…