Jul 6, 2026
How the Jacobian Matrix Works
.jacobian-matrix-post .math-block { display: block; max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; margin: 1rem 0; padding: 0.85rem 1rem; border: 1...
Read post →Tagged With
9 posts connected to this tag.
Jul 6, 2026
.jacobian-matrix-post .math-block { display: block; max-width: 100%; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; margin: 1rem 0; padding: 0.85rem 1rem; border: 1...
Read post →
Jun 11, 2026
Lab note Previously: Attention: The Core Of The Transformer. The previous post showed how attention routes information sideways across a sequence. This post is about the architectural trick ...
Read post →
Jun 10, 2026
Attention is the core transformer mechanism: Q/K/V projections, head splitting, RoPE, scaled dot-products, masking, softmax, weighted value sums, GQA, Flash Attention, and the full backward ...
Read post →
Jun 9, 2026
Lab note Companion post to the Tokenization carousel. Previously: Positional Encoding: Teaching Transformers Where To Look. Tokenization is the first place where text stops being human langu...
Read post →
Jun 8, 2026
Lab note Companion post to the Positional Encoding carousel. Previously: LayerNorm And RMSNorm: Stabilizing The Signal. Transformers are brilliant at reading an entire sequence in parallel, ...
Read post →Jun 7, 2026
Lab note Companion post to the LayerNorm & RMSNorm carousel. Watch the companion video: Why LayerNorm and RMSNorm Matter in a C LLM Runtime. Previously: Activation Functions: The Nonlinearit...
Read post →Jun 6, 2026
Lab note Companion post to the Activation Functions carousel. Previously: Softmax: The Probability Engine. The previous Softmax post ended with a strange contrast. Softmax was beautifully sm...
Read post →Jun 5, 2026
Lab note Companion post to the Softmax carousel. Previously: Matrix Wx+b: From Scalars To Transformers. The previous post was about the moment a scalar weighted sum grew into a matrix multip...
Read post →
Jun 4, 2026
A step-by-step explanation of how scalar wx+b becomes matrix Wx+b, how shape rules govern transformer layers, and why GEMM is the physical kernel underneath modern models.
Read post →I write about the maths, the kernels, and what happens when I try to make them work. Join me for the investigations, including the bits that go wrong.
Get the illustrated field guide by email, followed by engineering notes as I write them.