Jamba / Zamba
What it is
Interleaves transformer and Mamba layers in one MoE model, so most layers are linear and a few do exact attention.
When to use it
Very long context with production throughput — the architecture pattern most frontier labs now ship.
Caveats
They are newer models with a smaller ecosystem and fewer independent evaluations than mainstream transformers. Runtime support for the Mamba layers is less mature, and the layer mix is specific to each release.
Key ideas
- Mostly Mamba layers, with a few attention layers mixed in
- Jamba (AI21): adds mixture-of-experts layers and targets a very long context window
- Zamba (Zyphra): a small model with one shared attention block reused through the depth
Related architectures
Original paper
Jamba: A Hybrid Transformer-Mamba Language Model (2024, arXiv)