Foundations
Tokenization, sampling and decoding
How text becomes tokens, how a model picks the next token, and how speculation makes decoding faster.
22 of 15 planned
L1 3L2 9L3 7L4 3
RolesLLM Product EngineeringAgent Systems EngineeringAI Evaluation and ReliabilityAI Data SystemsCustomer AI DeploymentInference Engineering
- One step of byte-pair training and what it leaves behind
- The same prompt costs more tokens in Korean
- Why models read subwords and start from bytes
- Count the windows a token stream gives you
- How a grammar edits the logits and why it can be faster
- Put numbers on growing the vocabulary to 128K
- Speculation flies on code and stalls on creative writing
- The notebook works and the service never stops talking
- Three ways to build a subword vocabulary
- Two decoders, one breaks on an emoji
- What the split before the merges is for
- Why the encoder replays the merge list in order
- Every output validates and the answers are wrong
- From acceptance rate to tokens per pass
- Read one speculative step and defend each line
- Take-home, a byte-level tokenizer with tests
- The weights did not change and the score fell
- Which multi-token design gives a free draft
- Why a draft that reads hidden states accepts more
- Bake in the draft, train it after, or borrow a small model
- Design the tokenizer for a multilingual coding model
- Mean latency improved and the tail got worse
No item matches this level.
Taught in
The answers on this card come from these lessons.
- Subword Tokenization
- Structured Outputs & Constrained Decoding
- GPT
- Speculative Decoding
- Tokenizers: BPE, WordPiece, SentencePiece
- Building a Tokenizer from Scratch
- Speculative Decoding and EAGLE-3
- Multi-Token Prediction (MTP)
- Speculative Decoding and EAGLE
- EAGLE-3 Speculative Decoding in Production
- Capstone 14
- BPE Tokenizer From Scratch
- Tokenized Dataset with Sliding Window