Embedding space

62 vectors — 27 token embeddings (wte), 27 unembedding rows (lm_head), 8 position vectors (wpe) — drawn inside the one 32-dimensional residual stream they all literally occupy.

Why one plot is a literal statement, not an analogy: during inference each wte row and each wpe row is added into the model’s 32-dimensional residual stream, and each lm_head row is dotted with the final stream vector to produce that token’s logit. All three tensors address the same 32 coordinates of the same vector space, so they are plotted in one shared room. Coordinates are Q16.48 fixed point: value = raw / 248, kept BigInt-exact everywhere; floats appear only as screen geometry.

wte — filled circle (added at position 0..T) lm_head — ring (dotted with final stream) wpe — diamond (added by position) gold ring = selection (dashed = compare)
mode
families
assign strip clicks to:
wpe polyline: the line connects consecutive position indices p0→p1→…→p7 (an ordered sequence, nothing more).

pair matrix — 62 × 62 cosines exact readouts, display-float colors

family-ordered (wte, lm_head, wpe) with separator lines and family-colored strips. cell color: cos < 0 → blue #4dabf7, cos > 0 → orange #ffa94d, 0 → neutral — the color is a display float; hover or arrow to a cell for the exact integer readout. click a cell to select the pair.

hover or arrow to a cell…