Chinchilla 70B
Google DeepMind · Chinchilla · closed weights
- MHA
- Relative bias
- Pre-norm
Facts and where they come from
| Released | 2022-03 | paperpaperarXiv v1, March 2022 |
|---|---|---|
| Licence | proprietary | labpaperweights not published |
| Total parameters | 70B | paperpaperTable 4 / abstract: Chinchilla, 70B parameters |
| Active parameters | not disclosed | not disclosed |
| Context length | 2K tokens | paperpaperGopher paper: 2048-token context |
| Norm placement | pre | codemodelling codeGopher paper §3: RMSNorm instead of LayerNorm |
| Norm type | RMSNorm | codemodelling codeGopher paper §3: RMSNorm instead of LayerNorm |
| QK-norm | no | codemodelling codeno q/k normalisation in the attention block |
| Positional encoding | relative position bias | paperpaperGopher paper §3: relative positional encoding |
| Parallel attention and MLP | no | codemodelling codeGopher paper §3: RMSNorm instead of LayerNorm |
Architecture, drawn from the data
MHA 64q/64kv. Each column is one layer: its token mixer above, its feed-forward block below. Paler columns reuse another layer’s keys and values.
Modelled costs
From the cost model, batch size 1. Totals the lab states are in the table above; differences come from rounding, from what a lab counts, or from parts the model does not describe (listed on the about page).
| Parameters (modelled) | 65B |
|---|---|
| Active per token (modelled) | 65B |
| Without embeddings and output head | 64.4B total, 64.4B active |
| KV cache per token, BF16 (layers that grow with context) | 2.5 MiB |
| KV cache + state at 2K tokens, BF16 | 5 GiB |
| Decode FLOPs per token at 4K context | 140 GFLOP |
| Prefill FLOPs for a 4K prompt | 550 TFLOP |
KV cache against context
Every architecture field
| Field | Value | Source |
|---|---|---|
| d_model | 8,192 | paperpaperTable 4: d_model 8,192 |
| vocab | 32,000 | paperpaperGopher paper §3: SentencePiece vocabulary of 32,000 |
| tied_embeddings | false | paperpapernot stated; untied assumed |
| mixers.full.type | attn | codemodelling codeattention block |
| mixers.full.heads | 64 | paperpaperTable 4: 64 heads |
| mixers.full.kv_heads | 64 | paperpaperdata/transcribed/chinchilla-70b.json: num_key_value_heads |
| mixers.full.head_dim | 128 | paperpaperTable 4: key/value size 128 |
| ffns.dense.type | dense | codemodelling codeMLP block |
| ffns.dense.d_ff | 32,768 | paperpaperGopher paper (arXiv 2112.11446) §3: feed-forward size always 4 x d_model |
| ffns.dense.gated | false | codemodelling codeMLP: two matrices, no gate |
| layout | 80× full/dense | paperpaperTable 4: layers 80 |
Sources
- paper · Training Compute-Optimal Large Language Models
- modelling code · transformers 5.18.0 modelling code, or the model repository's own modelling file at the pinned revision