Architecture
Retrieved 2026-09-20 at pinned commit 060db6499f32; parameter count from the safetensors index at the same revision.
- Architecture
- qwen2
- Layers
- 24
- Hidden size
- 896
- Attention heads
- 14
- KV heads
- 2
- Feed-forward width
- 4,864
- Vocabulary
- 151,936
- Context ceiling
- 32,768
- Sliding window
- 32,768
- RoPE theta
- 1,000,000
Where the memory goes
Grouped-query attention shares each key/value head across 7 query heads, so the KV cache is 14% of what multi-head attention would need at the same context.