Token decoder › 3 blocks
Add MLP update
×no parameters
Add the mechanism’s update to the residual stream element by element.
- in
- [B batch, T positions, 768 d] [B batch, T positions, 768 d]
- out
- [B batch, T positions, 768 d]
Sources2
Direct evidence
The residual update is scale · dropout(x) added to the residual; modulation is x · (1 + scale) + shift.
The implementation, pinned at revision e18c42acdfb7, not yet public
Direct evidence
A block normalizes, modulates by the time condition’s shift and scale, projects to queries, keys and values, rotates queries and keys, attends over all positions with softcap, and adds the projected output scaled by a gate; the MLP branch does the same with its own shift, scale and gate.
The implementation, pinned at revision e18c42acdfb7, not yet public