The Rabbit Hole / AI / Model architectures
Institute of Foundation Models · Architecture mapK2 Horizon
One family spanning dense GQA, MoE and routed value projections, from 0.9B to 375B.
K2 Horizon, 2026-09 · K2 Horizon release timeline
Inside K2 Horizon
Inside grouped-query attention · Transformer layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers · 28 repetitions
- Dense SwiGLU intermediate width 5120.
- Attention and positions
- 32 query heads share 8 KV heads of width 64; RoPE covers 64 coordinates. Residual RMSNorm uses 1 group(s). The model card specifies YaRN with factor 16 for 131072-token serving.
- Memory
- 8 KV heads of width 64 per token per layer.
Inside grouped-query attention · Transformer layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers · 36 repetitions
- Dense SwiGLU intermediate width 10240.
- Attention and positions
- 32 query heads share 8 KV heads of width 128; RoPE covers 128 coordinates. Residual RMSNorm uses 2 group(s).
- Memory
- 8 KV heads of width 128 per token per layer.
Inside grouped-query attention · Transformer layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers · 36 repetitions
- Dense SwiGLU intermediate width 12288.
- Attention and positions
- 32 query heads share 8 KV heads of width 128; RoPE covers 128 coordinates. Residual RMSNorm uses 4 group(s).
- Memory
- 8 KV heads of width 128 per token per layer.
Inside grouped-query attention · Transformer layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers · 64 repetitions
- Dense SwiGLU intermediate width 26624.
- Attention and positions
- 64 query heads share 8 KV heads of width 128; RoPE covers 128 coordinates. Residual RMSNorm uses 4 group(s).
- Memory
- 8 KV heads of width 128 per token per layer.
Inside grouped-query attention · Initial dense layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Initial dense layers · 3 repetitions
- Dense SwiGLU intermediate width 6144.
- MoVA · 4 of 64
- A token-dependent router selects four value-projection experts from 64; their weighted values feed shared attention.
- Expert layers · 45 repetitions
- Eight of 100 routed SwiGLU experts of width 768, plus one shared expert.
- MoVA · 4 of 64
- A token-dependent router selects four value-projection experts from 64; their weighted values feed shared attention.
- Attention and positions
- 32 query heads share 8 KV heads of width 128; RoPE covers 128 coordinates. Residual RMSNorm uses 2 group(s). MoVA routes each token to four of 64 value experts, while keys remain shared. A softplus gate scales the joined attention output.
- Memory
- 8 KV heads of width 128 per token per layer.
Inside grouped-query attention · Initial dense layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Initial dense layers · 3 repetitions
- Dense SwiGLU intermediate width 16384.
- Expert layers · 58 repetitions
- Eight of 192 routed SwiGLU experts of width 1792, plus one shared expert.
- Attention and positions
- 48 query heads share 8 KV heads of width 128; RoPE covers 64 coordinates. Residual RMSNorm uses 1 group(s).
- Memory
- 8 KV heads of width 128 per token per layer.
What changes with size
- The four dense sizes use GQA and SwiGLU. The 375B model starts with three dense layers, followed by routed and shared experts.
- The 36B MoVA variant also routes its value projections: four of 64 value experts are selected for each token. This is separate from its feed-forward expert routing.
- Grouped RMSNorm splits the residual width into one, two or four independently normalised groups, depending on the selected size.
How it scores
AA Intelligence Index
Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| K2 Horizon 0.9B0.9B | 3 | AA Index 4.3.2Published checkpoint |
| K2 Horizon 3.7B3.7B | 16 | AA Index 4.3.2Published checkpoint |
| K2 Horizon 7B7B | 21 | AA Index 4.3.2Published checkpoint |
| K2 Horizon MoVA 36B A4BMoVA 36B-A4B | 25 | AA Index 4.3.2Published checkpoint |
| K2 Horizon 375B A23B375B-A23B | 31 | AA Index 4.3.2Published checkpoint |
Explore the components
- Embeddings: giving every token a meaning
- Residual connections: when more layers made things worse
- A whole LLM, layer by layer
- RMSNorm: keeping a token's scale under control
- Grouped-query attention (GQA): sharing keys and values in groups
- RoPE: position as a rotation
- Transformer layers: attention is only half of what you need
- RoPE scaling: stretching context beyond the training length
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- Mixture of experts (MoE): a big model that uses only part of itself
- Mixture-of-Value Attention (MoVA)coming soonSelect a few value-projection experts for each token, while sharing the query and key attention paths.
- Routing: selecting experts and weighting their work
Sources for this map
- IFM family release
- IFM/K2-Horizon-0.9B configuration
- IFM/K2-Horizon-0.9B model card
- IFM/K2-Horizon-3.7B configuration
- IFM/K2-Horizon-3.7B model card
- IFM/K2-Horizon-7B configuration
- IFM/K2-Horizon-7B model card
- IFM/K2-Horizon-32B configuration
- IFM/K2-Horizon-32B model card
- IFM/K2-Horizon-MoVA-36B-A4B configuration
- IFM/K2-Horizon-MoVA-36B-A4B model card
- IFM/K2-Horizon-375B-A23B configuration
- IFM/K2-Horizon-375B-A23B model card