Architecture
Retrieved 2026-09-01 at pinned commit 810d367871c1; parameter count from the safetensors index at the same revision.
- Architecture
- phi
- Layers
- 32
- Hidden size
- 2,560
- Attention heads
- 32
- KV heads
- 32
- Feed-forward width
- 10,240
- Vocabulary
- 51,200
- Context ceiling
- 2,048
- RoPE theta
- 10,000
Where the memory goes
Every attention head caches its own keys and values, so the KV cache grows at the full multi-head rate with context.