Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Cohere · Architecture map

Command R 35B

A 2024 dense model with no key/value sharing at all, a parallel attention and feed-forward block, and a 256,000-token vocabulary.

Command R v01, March 2024 · Command release timeline

Inside Command R 35B

Parameters
35B
Layers
40
Width
8,192
Mixer
Multi-head
Select a component to explore it.
The complete Command R 35B architectureInput IDs select embeddings. Each layer adds its updates along the residual stream. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release. Keys and values for all 64 heads per token per layer. This is the largest cache per token of the models in this family. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup256,0008,192Input token vectorsCL8,192Transformer layers 1–40Transformer layers 1–40 · 40 repetitions40 layers · one layer shown40One shared normalisation feeds both branches.Shared LayerNormDense gated network with intermediate size 22528. It reads the same normalised input as attention, and both results are added to the stream together.Multi-headattentionRotate query and key position components before attention scores; values are unchanged. Dense gated network with intermediate size 22528. It reads the same normalised input as attention, and both results are added to the stream together.RoPEDense gated network with intermediate size 22528. It reads the same normalised input as attention, and both results are added to the stream together.SwiGLUBoth branches read the same input and update the residual together.+Parallel branches · one residual updateResidual streamLast columnCL8,192Final LayerNormReuses the embedding table, transposed.Tied output weights8,192256,000Vocabulary scoresSoftmax256,000Next-token probabilities
Inside multi-head attention · Transformer layers 1–40
64 heads.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

Command R 35B: Transformer layers 1–40 · multi-head attention64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release. Keys and values for all 64 heads per token per layer. This is the largest cache per token of the models in this family.64 heads; the front face shows one representative.64 headsAttention input. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input8,192CLWq. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Wq8,192128Wk. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Wk8,192128Wv. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Wv8,192128RoPE. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.RoPERoPE. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.RoPEK cache. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.CLCL×. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.×Joined heads. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.64Wo. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Wo8,1928,192Attention output. 64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output8,192CL
Model-specific details
Transformer layers 1–40 · 40 repetitions
Dense gated network with intermediate size 22528. It reads the same normalised input as attention, and both results are added to the stream together.
Attention and positions
64 query heads and 64 key/value heads, so every head has its own keys and values. No QK normalisation in this release.
Memory
Keys and values for all 64 heads per token per layer. This is the largest cache per token of the models in this family.

The original Command R

This is the March 2024 v01 checkpoint. The August refresh changes key/value sharing and RoPE settings.

How it scores

AA Intelligence Index

Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.

Checkpoint / sizeResultEvaluation
Command-R (Mar '24)5AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. Command-R (Mar '24) scores 5; its bin is highlighted. Known estimates are excluded.Model variants0.0–3.0: 0 variants3.0–6.0: 15 variants6.0–9.0: 21 variants9.0–12.0: 13 variants12.0–15.0: 9 variants15.0–18.0: 5 variants18.0–21.0: 5 variants21.0–24.0: 6 variants24.0–27.0: 4 variants27.0–30.0: 2 variants30.0–33.0: 2 variants33.0–36.0: 2 variants36.0–39.0: 2 variants39.0–42.0: 3 variants42.0–45.0: 4 variants45.0–48.0: 3 variants48.0–51.0: 0 variants51.0–54.0: 0 variants54.0–57.0: 1 variants57.0–60.0: 0 variants21003060AA Index 4.3.2 →
Command-R (Mar '24): 5. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map