The Rabbit Hole / AI / Model architectures
Liquid AI · Architecture mapLFM2.5 dense (2.6B, 1.2B, 350M, 230M)
The same gated short convolution and GQA mix as the LFM2.5 mixture of experts, with a plain dense feed-forward network and sizes from 230M to 2.6B.
LFM2.5-2.6B, July 2026 (230M June 2026, 350M March 2026, 1.2B January 2026) · LFM release timeline
Inside LFM2.5 dense (2.6B, 1.2B, 350M, 230M)
Inside grouped-query attention · Attention layers 3, 6, 10, 14, 18, 22, 25 and 28
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Convolution layers (22 of 30) · 22 repetitions
- A gated short convolution, then a dense SwiGLU feed-forward network (hidden size 10752).
- Attention layers 3, 6, 10, 14, 18, 22, 25 and 28 · 8 repetitions
- Grouped-query attention, then the same dense feed-forward network.
- Attention and positions
- 8 of 30 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 10,000,000). The other 22 layers are gated short convolutions, not attention.
- Memory
- Attention layers store keys and values for 8 heads of size 64 per token. The 22 convolution layers keep only a fixed-size buffer for their width-3 convolution.
Inside grouped-query attention · Attention layers 3, 6, 9, 11, 13 and 15
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Convolution layers (10 of 16) · 10 repetitions
- A gated short convolution, then a dense SwiGLU feed-forward network (effective hidden size 8192).
- Attention layers 3, 6, 9, 11, 13 and 15 · 6 repetitions
- Grouped-query attention, then the same dense feed-forward network.
- Attention and positions
- 6 of 16 layers are softmax attention with 32 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 1,000,000). The other 10 layers are gated short convolutions.
- Memory
- Attention layers store keys and values for 8 heads of size 64 per token. The 10 convolution layers keep only a fixed-size buffer.
Inside grouped-query attention · Attention layers 3, 6, 9, 11, 13 and 15
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Convolution layers (10 of 16) · 10 repetitions
- A gated short convolution, then a dense SwiGLU feed-forward network (effective hidden size 4608).
- Attention layers 3, 6, 9, 11, 13 and 15 · 6 repetitions
- Grouped-query attention, then the same dense feed-forward network.
- Attention and positions
- 6 of 16 layers are softmax attention with 16 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 1,000,000). The other 10 layers are gated short convolutions.
- Memory
- Attention layers store keys and values for 8 heads of size 64 per token. The 10 convolution layers keep only a fixed-size buffer.
Inside grouped-query attention · Attention layers 3, 5, 7, 9, 11 and 13
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Convolution layers (8 of 14) · 8 repetitions
- A gated short convolution, then a dense SwiGLU feed-forward network (hidden size 2560).
- Attention layers 3, 5, 7, 9, 11 and 13 · 6 repetitions
- Grouped-query attention, then the same dense feed-forward network.
- Attention and positions
- 6 of 14 layers are softmax attention with 16 query heads sharing 8 key/value heads of size 64, with a per-head RMSNorm on queries and keys before rotary positions (theta 1,000,000). The other 8 layers are gated short convolutions.
- Memory
- Attention layers store keys and values for 8 heads of size 64 per token. The 8 convolution layers keep only a fixed-size buffer.
Convolution-heavy dense models
The 2.6B size has 30 layers: 22 short-convolution layers and eight attention layers. Every layer also has a dense SwiGLU network. The smaller sizes each retain six attention layers.
- Attention applies per-head QK-norm before RoPE and uses eight key/value heads.
- All sizes tie input/output embeddings.
- Vocabulary: 128,000 in 2.6B; 65,536 in the smaller models.
The picker includes 2.6B, 1.2B, 350M and 230M. The 1.2B card specifies a 32,768-token context despite a larger config limit.
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 |
|---|---|---|
| LFM2.5-2.6B2.6B | 8 | AA Index 4.3.2Published checkpoint |
| LFM2.5-1.2B-Instruct1.2B | 5 | AA Index 4.3.2Published checkpoint |
Developer reported
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| LFM2.5-2.6B2.6B | 57.78% | GPQA Diamond Liquid LFM3 launch runLiquid AI BF16 run; temperature 0.6, top_p 0.95; full model context |
| LFM2.5-2.6B2.6B | 18% | SWE-bench Verified Liquid LFM3 launch · OpenCodeLiquid AI OpenCode run; up to 250 turns |
| LFM2.5-2.6B2.6B | 55.89% | BFCL 4 · Liquid LFM3 launchLiquid AI BF16 run; greedy, up to 32768 output tokens |
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
- Short convolution: what if a layer only mixed nearby tokens?
- Hybrid attention and SSM models: different kinds of memory
- Grouped-query attention (GQA): sharing keys and values in groups
- QK normalisation (QK-Norm) and soft-capping
- RoPE: position as a rotation
- Transformer layers: attention is only half of what you need
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
Sources for this map
- LFM2.5-2.6B config.json
- LFM2.5-2.6B model card
- LFM2.5-1.2B-Instruct config.json
- LFM2.5-1.2B-Instruct model card
- LFM2.5-350M config.json
- LFM2.5-350M model card
- LFM2.5-230M config.json
- LFM2.5-230M model card
- transformers modeling_lfm2.py (decoder layer, short convolution, feed-forward width)
- Context length: 131,072 tokens (2.6B model card); 32,768 tokens (1.2B, 350M and 230M model cards)