Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 8 min read Announcement mediumAdept

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

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.

Assumes: transformer attention and KV cachestate space models basicsHugging Face transformers

Related posts

  • Bamba: Inference-Efficient Hybrid Mamba2 Model

    Hugging Face hardMaster

    Bamba-9B is a hybrid Mamba2 language model from IBM, Princeton, CMU and UIUC, trained on 2.2T tokens of fully open data. It interleaves full attention layers with Mamba2 layers to keep KV-cache growth small. In vLLM on an H100, it reaches about 2.5x the throughput and 2x lower latency of Llama 3.1 8B at larger batch sizes and sequence lengths. On benchmarks it trails SOTA transformers mainly on math and MMLU, which the team attributes to fewer training tokens and no benchmark-aligned annealing data, and it beats Olmo 7B trained on the same token budget. Checkpoints, training recipes, a stateful data loader and support in transformers, TRL, vLLM and llama.cpp are released.

  • Welcome to the Falcon 3 Family of Open Models!

    Hugging Face easyNovice

    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. A single 14T-token pretraining run on 1024 H100s produced the 7B model; the 10B was made by depth up-scaling (duplicating layers plus 2T more tokens), and the 1B/3B by pruning and knowledge distillation on under 100B tokens. Reported results include 83.0 GSM8K and 73.1 MMLU for the 10B base, up to 32K context, Llama-architecture compatibility, and quantized variants (GGUF, GPTQ, AWQ, 1.58-bit).

  • The Falcon has landed in the Hugging Face ecosystem

    Hugging Face mediumAdept

    Falcon-7B and Falcon-40B are Apache 2.0 language models from TII, trained mostly on the deduplicated, filtered RefinedWeb dataset. They use multiquery attention, which shrinks the K,V-cache roughly 10-100x (20MB vs 1,100MB for LLaMA-7B at 2,048 context). The walkthrough covers running them with transformers in bfloat16 with remote code, fitting Falcon-40B into about 45GB with 8-bit or about 27GB with 4-bit loading, and serving them via Text Generation Inference. It also covers leaderboard results where the 40B models ranked first and second, and QLoRA fine-tuning with PEFT and TRL's SFTTrainer on a single T4 (7B) or A100 (40B), producing a 65MB adapter.

  • Falcon-H1: A Family of Hybrid-Head Language Models Redefining Efficiency and Performance

    Hugging Face hardMaster

    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. Design experiments found that a small fraction of attention suffices, larger SSM memory size and very large RoPE base values help, and depth matters most but costs efficiency. Training departed from convention: hard data shown from the start rather than via a curriculum, high-quality samples reused more often, 35 tuned μP multipliers, and dampening multipliers to remove SSM loss spikes. The models support 256K context and 18 languages, and reach up to 4× prefill and 8× generation throughput over Qwen2.5-32B at long sequence lengths, though they are slightly slower at short contexts.

  • Spread Your Wings: Falcon 180B is here

    Hugging Face mediumAdept

    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. It scales up Falcon 40B's architecture, including multiquery attention, and scored on par with Llama 2 70B and PaLM 2-Large on common benchmarks. Running it needs serious hardware: 640GB for BF16 inference, 320GB with GPTQ/int4, and 160GB for QLoRA fine-tuning. 8-bit and 4-bit quantization barely change eval scores, and Transformers 4.33 supports loading, quantizing and chat-style prompting.

The quest for software engineering knowledge.

Look:
Layout: