The Transformer, One Attention Head at a Time
A ground-up walk through self-attention — queries, keys, values, and why scaled dot-product attention became the backbone of modern AI.

Explore by topic
Filter the archive by research area — from LLMs and fine-tuning to evals, embeddings, and inference infrastructure — and go straight to the depth you want.
Pick a topic to narrow the feed, or view every article across the archive.
A ground-up walk through self-attention — queries, keys, values, and why scaled dot-product attention became the backbone of modern AI.
Retrieval-augmented generation is easy to demo and hard to measure. Here is how to separate retrieval quality from generation quality.
Low-Rank Adaptation trains a fraction of the parameters and still adapts a large model. Here is the intuition and the code.
Model quality is whatever your eval measures. If the benchmark is weak, the whole team optimizes the wrong thing.
How text becomes geometry, why cosine similarity works, and how approximate nearest neighbor search makes it fast at scale.
Batching, KV caching, and quantization are what stand between a working model and an affordable one. A tour of the levers that matter.