The Rabbit Hole / AI / Model architectures
Snowflake · Architecture mapSnowflake Arctic
A dense feed-forward network and a 128-expert MoE run side by side in every layer.
Snowflake Arctic Base, April 2024 · Arctic release timeline
Inside Snowflake Arctic
Inside multi-head attention · Transformer layers 1–35
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Transformer layers 1–35 · 35 repetitions
- Three branches. Attention and a 128-expert layer (experts 4,864 wide, 2 chosen per token) both read the layer input. A dense network 7,168 wide reads the stream after attention. All three outputs are added to the layer input.
- Attention and positions
- 56 query heads and 56 key/value heads (multi-head attention). Trained with a 4,096-token context.
- Memory
- 56 keys and 56 values per token per layer (head size 128, from 7,168 / 56).
Different input taps for dense and expert paths
Each layer has a dense feed-forward network and a separate expert shortcut. The expert branch reads the pre-attention stream through its own norm; the dense network reads the post-attention stream.
Two of 128 experts run per token. Dense intermediate width is 7,168; expert width is 4,864. About 17B of the 480B parameters are active.
Attention is full multi-head with 56 heads. The base checkpoint trained at 4,096 tokens and uses a 32,000-token vocabulary.
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
- Mixture of experts (MoE): a big model that uses only part of itself
- Parallel layers: does feed-forward have to wait?
- Routing: selecting experts and weighting their work
- 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