Key and value heads

Pinned implementation and paper LDLM @ e18c42a, not yet public · arXiv:2605.07933v1 · OpenWebText · 1024 · checkpoint, tokenizer and saved statistics not verified · How to read

Latent decoder › 6 decoder blocks › Perceiver attention › Key and value heads

Take the latents’ keys

×

no parameters

The first 768 features of the fused projection’s output are the latents’ keys.

kb=p1:768b{\htmlData{light=take-k-context}{{\htmlClass{vl-stream-k}{k^{b}}}}}=p^{b}_{1:768}
in
pbp^{b} [B batch, T positions, 1536]
out
kbk^{b} [B batch, T positions, 768 d]
Sources1

Direct evidence

Both streams are normalized; queries come from one stream, keys and values from both, concatenated along positions; queries and keys are normalized per head; attention runs over all positions with softcap; the heads are merged and projected.

The implementation, pinned at revision e18c42acdfb7, not yet public