Transformer systemsGrouped-query attentionPrediction open · result sealed

A living notebook for the math inside modern AI.

What gets smaller when four query heads share one memory?

Make one prediction. Then trace the same change through the head map, equation, code, and calculated memory.

Open the memory lab

About two minutes · saved in this browser only if you lock it in

Attention head sharing

One mechanism, still sealed

Result sealed

Thirty-two query heads enter a sealed head-sharing comparison. The changed quantity and calculated result are not shown.

  1. Head diagram
  2. Equation
  3. Code
  4. Calculated result

The evaluated count and memory stay sealed until you lock in a guess or choose Just show me.

Start from what is already in front of you

Three useful doors. No blank chat required.

01

I have a mechanism

Test it in the lab

Commit a prediction, inspect the calculation, and keep the boundary of the result visible.

Open the serving lab
02

I have a paper claim

Map the exact object

Turn one claim into the concepts, equations, source checks, and next questions it requires.

Open Paper Mapper
03

I need the foundations

Repair the missing math

Start from intuition, then move through notation, runnable code, and an interactive witness.

Explore foundations

The rule every notebook follows

One idea, carried through four representations.

Curated routes

Follow a question, not a catalog.

Open the launch route

68 published notebooks

The atlas, kept quiet until you need it.