Architecture
Retrieved 2026-09-01 at pinned commit 2db69c1c3e91; parameter count from the safetensors index at the same revision.
- Architecture
- phi3
- Layers
- 40
- Hidden size
- 5,120
- Attention heads
- 40
- KV heads
- 10
- Feed-forward width
- 17,920
- Vocabulary
- 100,352
- Context ceiling
- 16,384
- RoPE theta
- 250,000
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.