---
title: "Welcome Falcon Mamba: The first strong attention-free 7B model"
description: "Falcon Mamba 7B from TII is a pure Mamba state space language model with extra RMS normalization layers for stable training at scale."
url: "https://swe.quest/articles/welcome-falcon-mamba-the-first-strong-attention-free-7b-model-207d13ee4cb1b108"
canonical: "https://huggingface.co/blog/falconmamba"
source: "Hugging Face"
published: "2024-08-12"
difficulty: "medium"
kind: "Announcement"
reading_minutes: 8
tags: ["llms","inference","evals","model-training"]
---

# Welcome Falcon Mamba: The first strong attention-free 7B model

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-08-12, 8 min read, Announcement. Original: [https://huggingface.co/blog/falconmamba](https://huggingface.co/blog/falconmamba)

## Summary

Falcon Mamba 7B from TII is a pure Mamba state space language model with extra RMS normalization layers for stable training at scale. Trained on roughly 5,500 GT of mostly RefinedWeb data, it matches or beats similarly sized transformers and hybrid SSM models on Open LLM Leaderboard benchmarks, averaging 15.04 on v2 and 64.09 on v1. Because an SSM keeps only a recurrent state, decoding runs at constant throughput and memory regardless of context length. Parallel prefill still makes memory grow with prompt length, but sequential or chunked prefill lets the model handle arbitrarily long prompts on a single 24GB A10. The model loads through Hugging Face transformers (\>4.45.0) and supports 4-bit bitsandbytes quantization, torch.compile and an instruction-tuned variant.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Inference & serving](https://swe.quest/tags/inference.md) (AI & ML)
- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [Model training](https://swe.quest/tags/model-training.md) (AI & ML)

## Prerequisites

- transformer attention and KV cache ([easy posts on Caching](https://swe.quest/tags/caching.md?difficulty=easy))
- state space models basics
- Hugging Face transformers

## Keywords

Falcon Mamba, Mamba, Hugging Face transformers, bitsandbytes, RefinedWeb, lm-evaluation-harness, optimum-benchmark, TII

## Related posts

- [Bamba: Inference-Efficient Hybrid Mamba2 Model](https://swe.quest/articles/bamba-inference-efficient-hybrid-mamba2-model-f1478e8a124ba6bc.md): Hugging Face · 2024-12-18 · Hard · 21 min read · LLMs, Inference & serving, Model training, Evaluation
  Bamba-9B is a hybrid Mamba2 language model from IBM, Princeton, CMU and UIUC, trained on 2.2T tokens of fully open data.
- [Welcome to the Falcon 3 Family of Open Models!](https://swe.quest/articles/welcome-to-the-falcon-3-family-of-open-models-384f88587b978d76.md): Hugging Face · 2024-12-17 · Easy · 6 min read · LLMs, Model training, Evaluation
  Falcon3 is TII's family of open decoder-only LLMs under 10B parameters (1B, 3B, 7B, 10B transformers plus Mamba-7B SSM), focused on math, science and code.
- [The Falcon has landed in the Hugging Face ecosystem](https://swe.quest/articles/the-falcon-has-landed-in-the-hugging-face-ecosystem-ce9380035627bacb.md): Hugging Face · 2023-06-05 · Medium · 12 min read · LLMs, Inference & serving, Model training, Python
  Falcon-7B and Falcon-40B are Apache 2.0 language models from TII, trained mostly on the deduplicated, filtered RefinedWeb dataset.
- [Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performance](https://swe.quest/articles/falcon-h1-a-family-of-hybrid-head-language-models-redefining-efficiency-and-d1a0dda74c9407b8.md): Hugging Face · 2025-05-21 · Hard · 11 min read · LLMs, Model training, Inference & serving, Evaluation
  Falcon-H1 is a family of six open-weight language models (0.5B to 34B, base and instruct, Apache 2.0-based license) built on a parallel hybrid mixer that runs attention and Mamba-2 SSM heads side by side, with a tunable attention/SSM ratio.
- [Spread Your Wings: Falcon 180B is here](https://swe.quest/articles/spread-your-wings-falcon-180b-is-here-43d1514ef14b323e.md): Hugging Face · 2023-09-06 · Medium · 7 min read · LLMs, Inference & serving, Model training, Python
  Falcon 180B from TII is the largest openly available language model, with 180 billion parameters, trained on 3.5 trillion tokens (mostly RefinedWeb) across up to 4096 GPUs for about 7M GPU hours.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
