Day
1
3 to 4 h
See inside the machine
Know what a token is and how attention moves information between positions.
- Tokenization and byte-pair encodingIntermediate · about 4 h
- Embeddings and self-attentionIntermediate · about 6 h
Build: Train the 25-line BPE on any text you have, then write causal attention from memory and check it against PyTorch's fused version.
Check: You can explain why attention costs O(T²) and why we divide by √d.