alt.freeweights.text / Mellum2-12B-A2.5B-Thinking
From: JetBrains <huggingface.co/JetBrains>Newsgroups: alt.freeweights.textSubject:

Mellum2-12B-A2.5B-Thinking

Date: 2026-11-15Commit: a731155Signed: 2DC28CC7B26A283B ✓

Text generation model with 12.1B parameters. Safetensors weights, 24.3 GB in all. Published by JetBrains under Apache-2.0.

12.1B params24.3GBMellum2-12B-A2.5B-Thinkingsafetensorspermissive
FactsParams12.1BSize24.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get JetBrains/Mellum2-12B-A2.5B-Thinking
# manifest sha256 5e26e7c63a8a… · 24.3 GB · 17 files
$ fw verify ./Mellum2-12B-A2.5B-Thinking JetBrains/Mellum2-12B-A2.5B-Thinking
From sourceHosted (signed)JetBrains/Mellum2-12B-A2.5B-ThinkingLast check: 2026-11-15 02:51 UTC

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

Works with

Overview

Size
24.3 GB
Weights
24.3 GB (safetensors)
Parameters
12.1B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
17, each with a sha256
Publisher
JetBrains
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:51 UTCpassed

Model card

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

Image: Mellum

Mellum2 Thinking#

Note. Use this model when you want explicit chain-of-thought before the final answer — complex debugging, multi-step planning, agentic workflows, and math- or reasoning-heavy tasks. For direct, low-latency answers without reasoning traces, use Instruct instead.

Mellum2 Thinking Highlights#

Mellum 2 Thinking is a post-trained reasoning-augmented assistant model trained by JetBrains.

The model uses a Mixture-of-Experts architecture with 64 experts and activates 8 experts per token. It uses a combination of sliding-window and full attention layers, with a context length of 131,072 tokens.

It is produced from Mellum2-12B-A2.5B-Base by supervised fine-tuning (loss computed only on the final assistant turn) followed by reinforcement learning with verifiable rewards (RLVR) on a harder data mix that includes a long-form math subset. The model emits its reasoning inside <think>...</think> blocks before the final answer.

Mellum2 Model Family#

This repository contains one checkpoint from the Mellum 2 family.

CheckpointDescription
Base PretrainBase checkpoint before long-context extension
BaseFinal base model
Instruct SFTSupervised instruction-tuned checkpoint
Thinking SFTSupervised thinking checkpoint
InstructRL-tuned instruction model
ThinkingRL-tuned thinking model

Model Overview#

Mellum2 Thinking has the following features:

  • Number of Layers: 28
  • Hidden Size: 2304
  • Intermediate Size: 7168
  • MoE Intermediate Size: 896
  • Number of Experts: 64
  • Number of Activated Experts: 8
  • Number of Attention Heads (GQA): 32 for Q and 4 for KV
  • Context Length: 131,072
  • Sliding Window: 1,024
  • Vocabulary Size: 98,304
  • Precision: bfloat16
  • License: Apache 2.0

Serving with vLLM#

# Without tool calling
vllm serve JetBrains/Mellum2-12B-A2.5B-Thinking \
  --max-model-len 131072 \
  --reasoning-parser qwen3

# With tool calling
vllm serve JetBrains/Mellum2-12B-A2.5B-Thinking \
  --max-model-len 131072 \
  --reasoning-parser qwen3 \
  --enable-auto-tool-choice \
  --tool-call-parser hermes

Quickstart#

Text-Only Input

from openai import OpenAI
# Configured by environment variables
client = OpenAI()

messages = [
    {"role": "user", "content": "Is 1024 a power of 2? Explain your reasoning."},
]

chat_response = client.chat.completions.create(
    model="JetBrains/Mellum2-12B-A2.5B-Thinking",
    messages=messages,
    max_tokens=81920,
    temperature=0.6,
    top_p=0.95,
    extra_body={
        "top_k": 20,
    },
)
print("Chat response:", chat_response)

Evaluation#

Post-training evaluation for the thinking/reasoning variants. All values are percentages; higher is better except HarmBench, where lower is better. All values self-reported by JetBrains.

BenchmarkMellum2 Thinking SFTMellum2 ThinkingQwen3.5 (4B)Qwen3.5 (9B)OLMo-3 (7B)Ministral 3 (14B)
Coding
LiveCodeBench v675.169.959.468.359.842.7
Tool Use
BFCL v438.845.642.942.7—35.9
BFCL v360.569.473.968.5—52.2
Math
AIME20.058.468.373.461.738.3
GSM-Plus62.687.089.390.788.186.5
Knowledge
MMLU-Redux84.886.288.391.771.384.4
GPQA Diamond39.957.676.881.329.346.0
Conversational
IFEval69.176.587.189.884.759.7
JetBrains pairwise64.469.540.556.732.263.8
MixEval63.466.971.976.067.070.8
BS-Bench14.015.063.070.023.09.0
Safety
HarmBench (↓)12.220.615.96.648.770.0
XSTest90.889.696.897.693.296.8

Notes:

  • AIME is the mean of AIME 2025 and AIME 2026 (30 questions each).
  • BFCL v4 is the macro-average of five subtasks: v1, v2, v3, web search, memory.
  • JetBrains pairwise is win rate against Qwen2.5-7B-Instruct on an internal benchmark.
  • — indicates the model lacks native tool calling (OLMo-3-7B-Thinking).

For more details, see the Mellum2 Technical Report.

License#

Released under the Apache 2.0 license.

Files

17 files · 24.3 GBWeights 24.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 17 files with their sha256
FileSizesha256
.eval_results/mellum2.yaml658 B3dfb1c862d6a033fc740588b33414f36d7a04094d2b58f8dbf7c2cf6115d0467
.gitattributes1.58 KBc64707445241fbb3434fc159dd508bb21c2f189bb85a4176b0308f6f186b1407
README.md9.47 KB2dc179754b7eb08a963d21e17cba9f7b4336d93973115fdb39c2564c662d9e63
chat_template.jinja4.88 KBc607950de2ad9273121b3e43e1069841ae16911aec35203567d316db79c33545
config.json2.33 KBf43d018246094dee6dca455b3072766b6acbefd1ac8e7fe664df34710606a541
generation_config.json112 B141667d35dadd576a92c6501ef676c7fb0abf21ddbebc791881c8931976e0917
mellum-logo-dark.svg5.18 KBe55d257b537fd279c60fae86145191e1e6cac61b730966a061b126c0fd10960b
mellum_evals_grid_1700.jpg1.34 MBadc08182c101d8fe6132eb6f37f3a86341e890fcdc7b1562a62db000809d4433
model-00001-of-00005.safetensors5.00 GB6861904fb2d3dcc0e1d07e9ffe29123b5d528696a64bbb6511b84d5f0205d3bd
model-00002-of-00005.safetensors5.00 GB8056cc104f1370a1c42d4eba4465e97ac36e7c9e585a3b253b5842721eb9153a
model-00003-of-00005.safetensors5.00 GBba74352552d1ec25fce08143a697cbeed6a016419af26c0dc1b4c457d95885e1
model-00004-of-00005.safetensors5.00 GB60ac0ac57451601775bb2411177591d058c54f26e87f0520aecd05aa82e1c61a
model-00005-of-00005.safetensors4.31 GB36578865ec3be99390b06ed1aafb88d2e0eb02e7d3839a111ff48cf4278db8ff
model.safetensors.index.json527 KBe2ba65bf2e4ca0ef914271492a72e3cd3507b2293e256652d32afffc493343af
special_tokens_map.json1.19 KB20e1ead0b0986b55989aa8116bafe63efcbae0daf8ed047970cd28b36aada4d9
tokenizer.json7.09 MB58548a346eb073e5132bf7d8ad17dc6971bca36ade378ca4d2bfbc49bf60da2a
tokenizer_config.json7.03 KBe2950960d2a3040a1938e6357c8c3628d531133c464286a7869b2e0504fcc59e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a731155055 pinned now2026-11-15 02:51 UTC17 files · 24.3 GB

Use it

$ fw get JetBrains/Mellum2-12B-A2.5B-Thinking
# manifest sha256 5e26e7c63a8a… · 24.3 GB · 17 files
$ fw verify ./Mellum2-12B-A2.5B-Thinking JetBrains/Mellum2-12B-A2.5B-Thinking
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/JetBrains/Mellum2-12B-A2.5B-Thinking.json --dir ./Mellum2-12B-A2.5B-Thinking $ python3 fw.py verify ./Mellum2-12B-A2.5B-Thinking ./JetBrains__Mellum2-12B-A2.5B-Thinking.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download JetBrains/Mellum2-12B-A2.5B-Thinking --revision a7311550557e93cc706ab5dd3d879c1a11703ab4 --local-dir ./Mellum2-12B-A2.5B-Thinking
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("JetBrains/Mellum2-12B-A2.5B-Thinking", revision="a7311550557e93cc706ab5dd3d879c1a11703ab4") model = AutoModelForCausalLM.from_pretrained("JetBrains/Mellum2-12B-A2.5B-Thinking", revision="a7311550557e93cc706ab5dd3d879c1a11703ab4", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve JetBrains/Mellum2-12B-A2.5B-Thinking --revision a7311550557e93cc706ab5dd3d879c1a11703ab4

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
2dc179754b7eb08a963d21e17cba9f7b4336d93973115fdb39c2564c662d9e63
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: JetBrains <huggingface.co/JetBrains>Newsgroups: alt.freeweights.textSubject: Mellum2-12B-A2.5B-ThinkingDate: 2026-11-15Commit: a731155Signed: 2DC28CC7B26A283B ✓
Upstream
JetBrains/Mellum2-12B-A2.5B-Thinking
Pinned commit
a7311550557e93cc706ab5dd3d879c1a11703ab4
Manifest
Mellum2-12B-A2.5B-Thinking.json · .minisig
Manifest sha256
5e26e7c63a8a248909d702f648459ea202f18d6b787dececb45ea0a34009940d
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:51 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/JetBrains/Mellum2-12B-A2.5B-Thinking.json $ curl -O https://freeweights.allternit.com/manifests/JetBrains/Mellum2-12B-A2.5B-Thinking.json.minisig $ minisign -Vm Mellum2-12B-A2.5B-Thinking.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 JetBrains/Mellum2-12B-A2.5B-Thinking
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. Mellum2-12B-A2.5B-Thinking.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of Mellum2-12B-A2.5B-Thinking. 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