Passer au contenu

Bitcoin accepté au paiement  |  Expédié depuis Laval, QC, Canada  |  Soutien expert depuis 2016

Jamba

Sovereign AI

Definition

Jamba is a hybrid large language model that interleaves three building blocks: Mamba state-space layers, transformer attention layers, and mixture-of-experts (MoE) feed-forward layers. Developed by AI21 Labs and released with open weights, it was the first production-scale model to combine a state-space backbone with conventional attention, aiming to get the long-context efficiency of state-space models together with the reasoning sharpness of attention. For anyone assembling a self-hosted AI stack, Jamba matters less as a specific checkpoint and more as proof that the hybrid recipe works at scale.

How the blocks combine

A Jamba model is built from repeating blocks. Most layers are Mamba layers, which carry information forward in a fixed-size recurrent state and so handle very long contexts cheaply; roughly one in every eight layers is a transformer attention layer, which restores the precise all-pairs recall that pure state-space models can lack. Mixture-of-experts is added at some feed-forward positions so the model can grow its total parameter count while only activating a small subset of experts per token, keeping the active compute manageable. The Jamba-1.5 release shipped a Mini variant with 12B active parameters and a Large variant with 94B active parameters, both reaching an effective context window of 256K tokens.

Why the hybrid matters

The motivation is practical: attention is expensive on long inputs because its cost grows with the square of the sequence, while state-space layers stay linear. Worse for self-hosters, a pure transformer must keep a key-value cache entry for every past token in every attention layer, so long contexts eat GPU memory even when compute is available. By making attention the minority and state-space layers the majority, Jamba keeps the KV cache small and memory use nearly flat across long contexts — the handful of attention layers still pay the quadratic price, but only they do. A custom quantization scheme lets the Large model serve 256K-token contexts on a single eight-GPU machine, which is dramatically less hardware than an equivalent pure-attention model would demand at that context length.

What each ingredient contributes

Each block covers another's weakness. The Mamba layers, built on the selective state space mechanism, provide cheap long-range information flow but can be fuzzy at exact retrieval — quoting a specific line from two hundred pages back. The sparse attention layers supply exactly that precise recall. The MoE layers add raw knowledge capacity without proportional compute, since only a few experts fire per token. Published ablations from the Jamba work found that a small ratio of attention to Mamba layers recovers most of full attention's quality, which is the empirical justification for the whole design.

Where it sits in the landscape

The open-weights release also matters in its own right. Because the checkpoints are downloadable, Jamba's hybrid design can be inspected, quantized, fine-tuned, and served on infrastructure you control, rather than existing only behind an API. That is the pattern sovereignty-minded builders should reward: architectural innovation published openly, weights in hand, so the efficiency gains accrue to the people running the hardware — not just to the vendor renting it out. If long-context hybrids become the norm, it will be because open releases like this one let the community verify the claims on machines it owns, and every subsequent open hybrid inherits that precedent.

Jamba is a leading example of the hybrid approach that much of the field has since moved toward: keep a linear-cost backbone for the bulk of sequence mixing, spend quadratic attention only where it earns its keep. For the underlying ideas, see state-space models (Mamba), sub-quadratic attention, and hybrid attention. For a sovereign builder, the takeaway is simple: hybrids like this are what will eventually make truly long documents — your whole node's logs, your whole library — fit on hardware you own.

In Simple Terms

Jamba is a hybrid large language model that interleaves three building blocks: Mamba state-space layers, transformer attention layers, and mixture-of-experts (MoE) feed-forward layers. Developed by…

Explore the Full Glossary

Browse all Bitcoin mining terms from A to Z. Whether you are a beginner or expert, deepen your understanding of the mining ecosystem.

Glossaire du minage

ASIC Miner Database

Compare 500+ miners with real-time profitability data, home mining scores, and detailed specs.

Comparer les mineurs