- in
- [B batch, T positions, 768 d]
- out
- [B batch, T positions, 768 d]
- parameters
- 7,077,888 · × 3 blocks = 21,233,664
- mode
- generation
Parameters
7,077,888 parameters per instance, across its learned components
| Component | Calculation | Parameters |
|---|---|---|
| Gate projection | 2,359,296 | |
| Up projection | 2,359,296 | |
| Down projection | 2,359,296 | |
| Per-instance total | 7,077,888 | |
Across 3 independent blocks: parameters.
Derived from the pinned implementation’s constructors and configuration. The checkpoint’s tensors have not been counted. 306,011,162 of these parameters are trained; frozen GPT-2 and the decoder’s mask vector, 124,442,112, are not.
Explanation
Its hidden width is 4 × 768 = 3,072.
Sources3
Direct evidence
The gated MLP: down(SiLU(gate x) · up x), three projections without bias.
The implementation, pinned at revision e18c42acdfb7, not yet public
Direct evidence
A block owns two gain-only LayerNorms, a fused query–key–value projection and an output projection without bias, an MLP of the configured kind, and, with modulation, an affine layer from the time condition to six vectors, initialized at zero.
The implementation, pinned at revision e18c42acdfb7, not yet public
Direct evidence
The token decoder’s blocks: no softcap, no time conditioning, the gated MLP with the configured multiplier.
The implementation, pinned at revision e18c42acdfb7, not yet public