Architecture
Retrieved 2026-09-01 at pinned commit 87db95487941; parameter count from the safetensors index at the same revision.
- Architecture
- ernie4_5_moe
- Layers
- 28
- Hidden size
- 2,560
- Attention heads
- 20
- KV heads
- 4
- Feed-forward width
- 12,288
- Vocabulary
- 103,424
- Context ceiling
- 131,072
- RoPE theta
- 500,000
- Expert width
- 1,536
Where the memory goes
Grouped-query attention shares each key/value head across 5 query heads, so the KV cache is 20% of what multi-head attention would need at the same context.