Architecture
Retrieved 2026-09-01 at pinned commit f39ac1d28e92; parameter count from the safetensors index at the same revision.
- Architecture
- phi3
- Layers
- 32
- Hidden size
- 3,072
- Attention heads
- 32
- KV heads
- 32
- Feed-forward width
- 8,192
- Vocabulary
- 32,064
- Context ceiling
- 4,096
- Sliding window
- 2,047
- 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.