Essays, explainers, and notes
Writing
Longer pieces on machine-learning systems: derivations of known methods, notes from implementing them, and readings of papers. Each one is labelled by the kind of evidence it offers.
Series and reading paths
Start here Foundations · 3 parts
Transformer Internals
Attention, positional encoding, and the full forward pass, derived and then implemented with tests.
Series · 5 partsReinforcement learning for LLMs
From policy gradients and PPO to GRPO, GDPO, and a map of the GRPO family.
Series · 5 partsContextual bandits
When to use them, the theory, four algorithms side by side, and offline evaluation.
Archive
16 piecesWhat the labels mean
- Explainer
- A synthesis or derivation of a known method. Needs: references, clear math or intuition, and correct attribution.
- Engineering note
- An implementation decision, bug, test, or performance trade-off. Needs: code or a reproducible example, and the exact conditions.
- Paper note
- A reading and critique of one paper. Needs: the reference, its core claim, limitations, and my interpretation.
Nothing in the archive matches. Try a broader word, or reset the kind and topic.