A Visual Guide to Mamba and State Space Models - Maarten Grootendorst
The Transformer architecture has been a major component in the success of Large Language Models (LLMs). It has been used for nearly all LLMs that are being used today, from open-source models like Mistral to closed-source models like ChatGPT. To further improve LLMs, new architectures are developed that might even outperform the Transformer architecture. One of these methods is Mamba, a State Space Model. Mamba was proposed in the paper Mamba: Linear-Time Sequence Modeling with Selective State Spaces. You can find its official implementation and model checkpoints in its repository. In this post, I will introduce the field of State Space Models in the context of language modeling and explore concepts one by one to develop an intuition about the field. Then, we will cover how Mamba might challenge the Transformers architecture. As a visual guide, expect many visualizations to develop an intuition about Mamba and State Space Models! To illustrate why Mamba is such an interesting architect
A Visual Guide to Mamba and State Space Models The Transformer architecture has been a major component in the success of Large Language Models (LLMs). It has been used for nearly all LLMs that are being used today, from open-source models like Mistral to closed-source models like ChatGPT. To further improve LLMs, new architectures are developed that might even outperform the Transformer architecture. One of these methods is Mamba , a State Space Model . Mamba was proposed in the paper Mamba: Linear-Time Sequence Modeling with Selective State Spaces . You can find its official implementation an
Explore this link on the map →related reading
- A Visual Guide to Mamba and State Space Modelsnewsletter.maartengrootendorst.com
- The Mamba Effect: State Space Models Taking on Transformershungleai.substack.com
- Mamba Explainedthegradient.pub
- On the Tradeoffs of SSMs and Transformers | Goomba Labgoombalab.github.io
- Mamba No. 5 (A Little Bit Of…) | Sparse Notesjameschen.io
- Mamba: The Easy Wayjackcook.com
- H3: Language Modeling with State Space Models and (Almost) No Attention · Hazy Researchhazyresearch.stanford.edu
- MambaByte: Token-free Selective State Space Modelarxiv.org
- State Space Duality (Mamba-2) Part I - The Model | Goomba Labgoombalab.github.io
- State Space Duality (Mamba-2) Part I - The Model | Tri Daotridao.me
- Structured State Spaces: Combining Continuous-Time, Recurrent, and Convolutional Models · Hazy Researchhazyresearch.stanford.edu
- Transformers from Scratche2eml.school