alt.freeweights.text / AI21-Jamba-Reasoning-3B
From: ai21labs <huggingface.co/ai21labs>Newsgroups: alt.freeweights.textSubject:

AI21-Jamba-Reasoning-3B

Date: 2026-11-15Commit: 7524370Signed: 2DC28CC7B26A283B ✓

Text generation model with 3.2B parameters. Safetensors weights, 6.40 GB in all. Published by ai21labs under Apache-2.0.

3.2B params6.40GBAI21-Jamba-Reasoning-3Bsafetensorspermissive
FactsParams3.2BSize6.40 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get ai21labs/AI21-Jamba-Reasoning-3B
# manifest sha256 f9003d3060e1… · 6.40 GB · 13 files
$ fw verify ./AI21-Jamba-Reasoning-3B ai21labs/AI21-Jamba-Reasoning-3B
From sourceHosted (signed)ai21labs/AI21-Jamba-Reasoning-3BLast check: 2026-11-15 02:38 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Runs withAIBrixBentoMLCTranslate2ExLlamaV2ExLlamaV3exofastllmFlashInfergpu-unlockKTransformersLitServeLMCacheLMDeployLocalAImistral.rsMLC LLMMooncakeSGLangText Generation WebUItinygradTransformersTriton Inference ServervLLMXinferenceFine-tune withAccelerateAlignment HandbookAxolotlColossal-AIDeepSpeedEasyR1FlashAttentionH2O LLM StudioJAXKerasLiger KernelLitGPTLLaMA-FactoryMegatron-LMms-swiftnanotronOLMo-coreOpenRLHFOumiPEFTPyTorch Lightningsd-scriptsSimpleTunerTorchTitantorchtuneTransformer EngineTRLUnslothverlConvert withAQLMAutoRoundCore ML ToolsExecuTorchGPTQModelLLM CompressormergekitNeural CompressorOliveONNXOptimum QuantoOptimumsafetensorsTensorRT Model OptimizertorchaoEvaluate withAutoevalsDeepEvalEvaluateHELMLightEvallm-evaluation-harnessOpenCompassOpikRagassimple-evalsSWE-benchTruLensWeaveScan withAgentDojoAI Fairness 360DeepTeamDetoxifyFairlearngarakGiskardGuardrailsMCP ScannerModelScanNeMo GuardrailspicklescanpromptfooWorks withAgent Development KitAG2Google AI Edge GalleryAiderany-llmAnythingLLMBAMLbrowser-useCAMELHugging Face Chat UIChatboxCherry StudioClineCodex CLICogneeCrewAIDeerFlowDSPyEnchantedGemini CLIGitHub MCP ServergooseGPT ResearcherGradioGraphitiGuidanceHollamaInstructorKilo CodeLangflowLangGraphLiteLLMLlamaIndexLLMLocalAGILoLLMs WebUIMCP Python SDKMem0MetaGPTNextChatOllama JavaScriptOllama PythonOpenAI Agents SDKopencodeOpenHandsotermOutlinesPage AssistPlaywright MCPPortkey AI GatewayPrivateGPTQwen CodeRWKV RunnerSemantic KernelsmolagentsStrands AgentsVaneXGrammar

Overview

Size
6.40 GB
Weights
6.39 GB (safetensors)
Parameters
3.2B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
13, each with a sha256
Publisher
ai21labs
Added
2026-11-15
Section
alt.freeweights.text
Lineage

Original release from the publisher.

Where these bytes come from
Publisher at the pinned commit→You

Sources are tried in order. A file counts only when its size and sha256 match the manifest. Sources are checked when you ask for them, not on a timer.

Sources
BadgeHostLast checkResult
From sourcehuggingface.co2026-11-15 02:38 UTCpassed

Model card

From the publisher at commit 7524370. Shown as plain text with links; images open at the publisher.

Introduction#

AI21’s Jamba Reasoning 3B is a top-performing reasoning model that packs leading scores on intelligence benchmarks and highly-efficient processing into a compact 3B build.

Read the full blog post here.

Key Advantages#

Fast: Optimized for efficient sequence processing

The hybrid design combines Transformer attention with Mamba (a state-space model). Mamba layers are more efficient for sequence processing, while attention layers capture complex dependencies. This mix reduces memory overhead, improves throughput, and makes the model run smoothly on laptops, GPUs, and even mobile devices, while maintainig impressive quality.

Image: image

Smart: Leading intelligence scores The model outperforms competitors, such as Gemma 3 4B, Llama 3.2 3B, and Granite 4.0 Micro, on a combined intelligence score that averages 6 standard benchmarks.

Image: image

Scalable: Handles very long contexts

Unlike most compact models, Jamba Reasoning 3B supports extremely long contexts. Mamba layers allow the model to process inputs without storing massive attention caches, so it scales to 256K tokens while keeping inference practical. This makes it suitable for edge deployment as well as datacenter workloads. Image: image

Model Details#

  • Number of Parameters: 3B
  • Number of Layers: 28 (26 Mamba, 2 Attention)
  • Number of Attention Heads: 20 MQA (20 for Q, 1 for KV)
  • Vocabulary Size: 64K
  • Context Length: 256k
  • Architecture: Hybrid Transformer–Mamba with efficient attention and long-context support
  • Developed by: AI21
  • Supported languages: English, Spanish, French, Portuguese, Italian, Dutch, German, Arabic and Hebrew
  • Intelligence benchmark results:
MMLU-ProHumanity’s Last ExamIFBench
DeepSeek R1 Distill Qwen 1.5B27.0%3.3%13.0%
Phi-4 mini47.0%4.2%21.0%
Granite 4.0 Micro44.7%5.1%24.8%
Llama 3.2 3B35.0%5.2%26.0%
Gemma 3 4B42.0%5.2%28.0%
Qwen 3 1.7B57.0%4.8%27.0%
Qwen 3 4B70%5.1%33%
Jamba Reasoning 3B61.0%6.0%52.0%

Quickstart#

Run the model locally#

Note. Please reference the GGUF model card here.

Run the model with vLLM#

For best results, we recommend using vLLM version 0.11.0 or higher and enabling --mamba-ssm-cache-dtype=float32

pip install vllm>=0.11.0

Using vllm in online server mode:

vllm serve "ai21labs/AI21-Jamba-Reasoning-3B" --mamba-ssm-cache-dtype float32 --reasoning-parser deepseek_r1 --enable-auto-tool-choice --tool-call-parser hermes

Using vllm in offline mode:

from vllm import LLM, SamplingParams
from transformers import AutoTokenizer

model = "ai21labs/AI21-Jamba-Reasoning-3B"

llm = LLM(model=model,
          tensor_parallel_size=1,
          mamba_ssm_cache_dtype="float32")

tokenizer = AutoTokenizer.from_pretrained(model)

messages = [
    {"role": "user", "content": "You are analyzing customer support tickets to decide which need escalation.\nTicket 1: 'App crashes when uploading files >50MB.'\nTicket 2: 'Forgot password, can’t log in.'\nTicket 3: 'Billing page missing enterprise pricing.'\nClassify each ticket as Critical, Medium, or Low and explain your reasoning.\n"},
]

prompts = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)

sampling_params = SamplingParams(temperature=0.6, max_tokens=4096)
outputs = llm.generate(prompts, sampling_params)

generated_text = outputs[0].outputs[0].text
print(generated_text)
Run the model with Transformers#
pip install transformers>= 4.54.0
pip install flash-attn --no-build-isolation
pip install causal-conv1d>=1.2.0
pip install mamba-ssm
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

model = AutoModelForCausalLM.from_pretrained("ai21labs/AI21-Jamba-Reasoning-3B",
                                             dtype=torch.bfloat16,
                                             attn_implementation="flash_attention_2",
                                             device_map="auto")

tokenizer = AutoTokenizer.from_pretrained("ai21labs/AI21-Jamba-Reasoning-3B")

messages = [
    {"role": "user", "content": "You are analyzing customer support tickets to decide which need escalation.\nTicket 1: 'App crashes when uploading files >50MB.'\nTicket 2: 'Forgot password, can’t log in.'\nTicket 3: 'Billing page missing enterprise pricing.'\nClassify each ticket as Critical, Medium, or Low and explain your reasoning.\n"},
]

prompts = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)

outputs = model.generate(**tokenizer(prompts, return_tensors="pt").to(model.device), do_sample=True, temperature=0.6, max_new_tokens=4096)

generated_text = tokenizer.decode(outputs[0], skip_special_tokens=True)
print(generated_text)

Training Details#

We trained the model in multiple stages, each designed to strengthen reasoning and long-context performance. The process began with large-scale pre-training on a diverse corpus of natural documents. We then mid-trained on ~0.5T tokens of math and code, while extending the context length to 32K tokens. During this stage we also applied a Mamba-specific long-context method, which we found to significantly improve long-context abilities.

To improve reasoning, tool use, and instruction following, we applied cold-start distillation: supervised fine-tuning with a 32K window and direct preference optimization with a 64K window. Finally, we enhanced reasoning performance further through online reinforcement learning with RLVR, targeting tasks such as code generation, mathematical problem solving, structured output, and information extraction.

Reinforcement “Fine-Tuning”#

Full support for training Jamba through VeRL will be available soon. AI21 has introduced several improvements to the VeRL framework (https://github.com/volcengine/verl), including new capabilities for training hybrid models, and stability improvements for GRPO training. These improvements will soon be available to the open source community.


License#

  • Apache 2.0

Citation#

  • Blog post- Read the full blog post here

Files

13 files · 6.40 GBWeights 6.39 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 13 files with their sha256
FileSizesha256
.gitattributes1.76 KB0897adfdc69e3cea11d1466c2e73f7b3c0ae4ae55c9d17703ef856ae22afd4aa
README.md7.19 KB8e6cb0d800dcdf5ca849e02be4886032be5a32aef1d533f39cc6944d3858f4ef
assets/Benchmark Performance - Jamba Reasoning 3B.png76.4 KB87bd6eba8a8ee1d080e0d31515cfdf0eebd5397776bc634d9fc02343fe0ae838
assets/Intelligence vs Speed Jamba Reasoning 3B.png181 KB615e2a8f51efa8ca984aa6857e29fe99ce0703ac457ae13839d83844d4171692
assets/Speed vs Context Length.png146 KBa4429fe5b5699dfbf28cfe737d0a3209dee8faf49457e808a90c8f93aa7ba7a9
config.json1.02 KBdc4ac48e0e797105da2e8913f2eb4130d489133935f460aadea6bf18884e178c
generation_config.json155 B628e176d57b07818a2d85d6d4f7a73f91acd0a8bc316f8798b41ad7928eb4f50
model-00001-of-00002.safetensors4.98 GBa3ac70f54ada6b7387e67507d79fe1c50d2a76bd1d72863ac6e913f6905c3fba
model-00002-of-00002.safetensors1.42 GB033c382dc546b7883889c15c772a1c90fe23e490a4515d07d0269ab2b5b8187a
model.safetensors.index.json37.4 KB51829222730df89c89be899316d080602b4f973e06b5ecfc7299c2f3c8731d9e
special_tokens_map.json895 B90a1f613c89566d8c7f53043a7092321d376498ac541aae1914ef1328e895be7
tokenizer.json8.29 MBe7a4e48ea138a47ad25233b59d59babae314ee104ba9557644f28f5f2e49f900
tokenizer_config.json11.1 KB5beca31998208cbd8c94c8994f065f8ca0d62edba1806db3eb53aa29ec5d2161
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
7524370414 pinned now2026-11-15 02:38 UTC13 files · 6.40 GB

Use it

$ fw get ai21labs/AI21-Jamba-Reasoning-3B
# manifest sha256 f9003d3060e1… · 6.40 GB · 13 files
$ fw verify ./AI21-Jamba-Reasoning-3B ai21labs/AI21-Jamba-Reasoning-3B
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/ai21labs/AI21-Jamba-Reasoning-3B.json --dir ./AI21-Jamba-Reasoning-3B $ python3 fw.py verify ./AI21-Jamba-Reasoning-3B ./ai21labs__AI21-Jamba-Reasoning-3B.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ai21labs/AI21-Jamba-Reasoning-3B --revision 7524370414253301341370beba35e3d549cbf5f3 --local-dir ./AI21-Jamba-Reasoning-3B
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("ai21labs/AI21-Jamba-Reasoning-3B", revision="7524370414253301341370beba35e3d549cbf5f3") model = AutoModelForCausalLM.from_pretrained("ai21labs/AI21-Jamba-Reasoning-3B", revision="7524370414253301341370beba35e3d549cbf5f3", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve ai21labs/AI21-Jamba-Reasoning-3B --revision 7524370414253301341370beba35e3d549cbf5f3

License

Name
Apache License 2.0
Id
Apache-2.0
Class
Permissive
Redistribution
yes
Listing
Hosted (signed)
Decided
License as declared by the publisher. No person read it. 2026-11-15
Text in
README.md
Text sha256
8e6cb0d800dcdf5ca849e02be4886032be5a32aef1d533f39cc6944d3858f4ef
Terms gate
No extra terms beyond the license.

Read the license text

Licenses are checked against the license table. A custom license passes only after a person reads it.

Provenance

From: ai21labs <huggingface.co/ai21labs>Newsgroups: alt.freeweights.textSubject: AI21-Jamba-Reasoning-3BDate: 2026-11-15Commit: 7524370Signed: 2DC28CC7B26A283B ✓
Upstream
ai21labs/AI21-Jamba-Reasoning-3B
Pinned commit
7524370414253301341370beba35e3d549cbf5f3
Manifest
AI21-Jamba-Reasoning-3B.json · .minisig
Manifest sha256
f9003d3060e140133e2d236fc2626fa3e8b5e72c62141ead4da4456bc67edd16
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:38 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/ai21labs/AI21-Jamba-Reasoning-3B.json $ curl -O https://freeweights.allternit.com/manifests/ai21labs/AI21-Jamba-Reasoning-3B.json.minisig $ minisign -Vm AI21-Jamba-Reasoning-3B.json -P RWQ7KGqyx4zCLXtUFOqvfv8L3g+8fpKJ1FsuxPyOYMF+4KufbUxKq1Oq $ shasum -a 256 <file> # compare with the Files tab

A manifest whose signature fails must be rejected. A file whose size or sha256 does not match must be discarded. Verify a download

Model tree

1 model in the catalog name this one as their parent.

Quantizations
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download ai21labs/AI21-Jamba-Reasoning-3B
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. AI21-Jamba-Reasoning-3B.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of AI21-Jamba-Reasoning-3B. Each has its own license check and page.

From: laion <huggingface.co/laion>Subject: a2-rl-e2egit_large-50-32B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-large-15-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_e2egit-v2-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_pymethods2test-large-80-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_exp_rpt_unitsyn-python-large-10-8B
From: laion <huggingface.co/laion>Subject: a3-rl-DCAgent_mix_h2_language_proportional-65-8B