The Rabbit Hole / AI / Model architectures
Ant Group (inclusionAI) · Architecture mapLing-1T
A trillion-parameter model with plain grouped-query attention and a very sparse expert block: about 1 in 32 parameters is active.
Ling-1T, October 2025 · Ling release timeline
Inside Ling-1T
Inside grouped-query attention · Transformer layers 1–4
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers 1–4 · 4 repetitions
- Dense feed-forward networks (intermediate size 18432).
- Transformer layers 5–80 · 76 repetitions
- 256 routed experts (size 2048), 8 chosen per token, plus 1 shared expert. Experts are in 8 groups and a token may use 4 groups. Sigmoid scores with an expert bias.
- Attention and positions
- 64 query heads share 8 key/value heads of size 128, with per-head query/key normalisation before rope and no attention bias. Rotary covers the first 64 of 128 dimensions (base 600,000).
- Memory
- Keys and values for 8 heads of size 128 per token per layer.
A full-attention trillion-parameter model
Attention uses 64 query heads sharing eight key/value heads. Expert layers select eight of 256 routed experts plus one shared expert, with selection limited to four of eight expert groups.
The native training context is 32,768 tokens. The advertised 131,072-token window requires YaRN at inference. The card mentions multi-token prediction, but the released config does not specify that path.
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 |
|---|---|---|
| Ling-1T | 9 | 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
- QK normalisation (QK-Norm) and soft-capping
- 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
- Partial RoPE: rotating only part of each head
- 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