Architecture
Retrieved 2026-09-01 at pinned commit 2fe50e88d0e2; parameter count from the safetensors index at the same revision.
- Architecture
- phimoe
- Layers
- 32
- Hidden size
- 4,096
- Attention heads
- 16
- KV heads
- 4
- Head dimension
- 128
- Feed-forward width
- 448
- Vocabulary
- 32,064
- Context ceiling
- 4,096
- Sliding window
- 2,047
- RoPE theta
- 10,000
- Experts
- 16
- Experts / token
- 2
Where the memory goes
Grouped-query attention shares each key/value head across 4 query heads, so the KV cache is 25% of what multi-head attention would need at the same context.