Latent encoder › 6 encoder blocks › Perceiver attention
Merge heads
×no parameters
Concatenate the 12 heads into 768 features.
- in
- [B batch, 12 heads, T positions, 64 head features]
- out
- [B batch, T positions, 768 d]
Explanation
Heads are concatenated in order: head fills 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