Architecture
Retrieved 2026-09-13 at pinned commit 2e1fd397ee46; parameter count from the safetensors index at the same revision.
- Architecture
- qwen2
- Layers
- 28
- Hidden size
- 1,536
- Attention heads
- 12
- KV heads
- 2
- Feed-forward width
- 8,960
- 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 6 query heads, so the KV cache is 17% of what multi-head attention would need at the same context.