Latent encoder › 6 encoder blocks › Perceiver attention › Attention over both streams
Weighted value sum
×no parameters
Mix the values of both streams with each query’s weights.
- in
- [B batch, 12 heads, T queries, 2T keys] [B batch, 12 heads, 2T positions, 64 head features]
- out
- [B batch, 12 heads, T 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