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

Split value heads

×

no parameters

Read each value’s 768 features as 12 heads of 64.

[B, 2T, 768]→[B, 12, 2T, 64][B,\,2T,\,768]\to[B,\,12,\,2T,\,64]
in
vv [B batch, 2T positions of both streams, 768 features]
out
VV [B batch, 12 heads, 2T positions, 64 head features]
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