The Rabbit Hole / AI / Model architectures
Baidu · Architecture mapERNIE 4.5 300B-A47B
A text mixture of experts with 64 large experts and no shared expert, from a family built to share experts across text and vision.
ERNIE-4.5-300B-A47B-PT, 2025 · ERNIE release timeline
Inside ERNIE 4.5 300B-A47B
Inside grouped-query attention · Transformer layers 1–3
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers 1–3 · 3 repetitions
- Dense feed-forward networks (intermediate size 28672).
- Transformer layers 4–54 · 51 repetitions
- 64 text experts (size 3584), 8 chosen per token, no shared expert. Softmax scores with a selection-only bias, weights renormalised.
- Attention and positions
- 64 query heads share 8 key/value heads; no bias on the projections.
- Memory
- Keys and values for 8 heads per token per layer.
The text-only 300B checkpoint
- Three dense opening layers, followed by 51 expert layers.
- Each expert layer selects eight of 64 routed experts, with intermediate width 3,584 and no shared expert.
- One auxiliary next-token-prediction layer is listed in the config.
- Context: 131,072 tokens. RoPE base: 500,000.
This page covers ERNIE-4.5-300B-A47B-PT; the family’s modality-specific vision experts are outside this text checkpoint.
How it scores
AA Intelligence Index
Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| ERNIE 4.5 300B A47B | 8Estimated by AA | AA Index 4.3.2Published checkpoint |
Explore the components
- Embeddings: giving every token a meaning
- Residual connections: when more layers made things worse
- A whole LLM, layer by layer
- RMSNorm: keeping a token's scale under control
- Grouped-query attention (GQA): sharing keys and values in groups
- Mixture of experts (MoE): a big model that uses only part of itself
- Routing: selecting experts and weighting their work
- Multi-token prediction (MTP): learning to look further ahead
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- RoPE: position as a rotation
- Neural network layers: more inputs, more neurons