Architecture
Retrieved 2026-09-01 at pinned commit cfbefacb9925; parameter count from the safetensors index at the same revision.
- Architecture
- phi3
- Layers
- 32
- Hidden size
- 3,072
- Attention heads
- 24
- KV heads
- 8
- Feed-forward width
- 8,192
- Vocabulary
- 200,064
- Context ceiling
- 131,072
- Sliding window
- 262,144
- RoPE theta
- 10,000
Where the memory goes
Grouped-query attention shares each key/value head across 3 query heads, so the KV cache is 33% of what multi-head attention would need at the same context.