I write backends, and the iOS, Android and web clients in front of them — less “full-stack” than an unwillingness to only do half of it.
INDEX45
Where History Lives: Sliding Windows, Linear States, Gates and MLAHow a Token Selects Its Experts: Top-2 Routing, Shared Experts, and Load BalancingOne New Token, All the History: How a KV Cache Reuses Each Layer's ResultsArchitecture Companion · One Input, Two Projections: SiLU and SwiGLUMath Catch-Up · Same Length, Different Dot Product: Rotation and RoPEOne Forward Route: Reading Llama 3 Through GPT-2Inside One Training Update: Compilation, FlashAttention and AdamWOne GPT, Two Complete Paths: Training Updates and Token-by-Token GenerationA Vocabulary Does More Than Split Text: Model Costs, Multimodality and Token BoundariesA few input rows, a full vocabulary of outputs: from token IDs to samplingAlgorithms Catch-Up · The Index Is an Amount, the Value Is a Count: Dynamic Programming and BacktrackingThe same abc, a different split: training and encoding with Unigram