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

Mellum2-12B-A2.5B-Instruct

Date: 2026-11-15Commit: 273d9c1Signed: 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-Instructsafetensorspermissive
FactsParams12.1BSize24.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get JetBrains/Mellum2-12B-A2.5B-Instruct
# manifest sha256 6e1f58a73fa0… · 24.3 GB · 16 files
$ fw verify ./Mellum2-12B-A2.5B-Instruct JetBrains/Mellum2-12B-A2.5B-Instruct
From sourceHosted (signed)JetBrains/Mellum2-12B-A2.5B-InstructLast check: 2026-11-15 02:52 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
16, 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:52 UTCpassed

Model card

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

Image: Mellum

Mellum2 Instruct#

Note. Use this model when you want direct, low-latency answers without an explicit chain of thought — interactive chat, code assistance, tool use, and instruction following. If you need explicit reasoning before the answer (complex debugging, planning, multi-step agentic flows), use Thinking instead.

Mellum2 Instruct Highlights#

Mellum2 Instruct is a post-trained 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 followed by reinforcement learning with verifiable rewards (RLVR) on math, executable coding, tool use, instruction following, reasoning, and knowledge tasks. Mellum2 Instruct answers directly, without an externalized chain of thought.

Mellum2 Model Family#

This repository contains one checkpoint from the Mellum2 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 Instruct 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

Serving with vLLM#

# Without tool calling
vllm serve JetBrains/Mellum2-12B-A2.5B-Instruct --max-model-len 131072

# With tool calling
vllm serve JetBrains/Mellum2-12B-A2.5B-Instruct \
  --max-model-len 131072 \
  --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": "Write a Python function to reverse a string."},
]

chat_response = client.chat.completions.create(
    model="JetBrains/Mellum2-12B-A2.5B-Instruct",
    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 instruct (no-thinking) variants. All values are percentages; higher is better except HarmBench, where lower is better. All values self-reported by JetBrains.

BenchmarkMellum2 Instruct SFTMellum2 InstructQwen3.5 (4B)Qwen3.5 (9B)OLMo-3 (7B)Ministral 3 (14B)Seed-Coder (8B)
Coding
LiveCodeBench v630.937.251.063.728.242.428.1
EvalPlus76.278.469.471.867.374.173.8
MultiPL-E64.667.151.067.136.171.577.0
Tool Use
BFCL v431.844.252.060.619.838.8—
BFCL v343.166.364.170.541.952.7—
Math
AIME29.941.738.358.340.033.30.0
GSM-Plus73.080.585.287.985.886.650.4
Knowledge
MMLU-Redux77.478.187.591.171.885.938.1
GPQA Diamond38.940.976.879.840.958.620.2
Conversational
IFEval69.375.882.183.983.267.356.2
JetBrains pairwise66.768.160.677.844.472.443.0
MixEval62.962.265.971.159.471.237.2
BS-Bench24.018.056.961.022.09.05.0
Safety
HarmBench (↓)8.423.120.320.914.756.540.0
XSTest78.381.293.291.291.296.886.3

Notes:

  • EvalPlus is the mean of HumanEval+ and MBPP+.
  • 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.

For more details, see the Mellum2 Technical Report.

License#

Released under the Apache 2.0 license.

Files

16 files · 24.3 GBWeights 24.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 16 files with their sha256
FileSizesha256
.eval_results/mellum2.yaml1.10 KB9715887b6ce9f7d767286a3db04ada00acc67e2ea919646d69add34c96da7d6f
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md10.5 KB774463746a53b2ff8c3f65d5146e532a95c45143b4541d197efe94d29ef9b508
chat_template.jinja3.46 KBe674cbec4c384ab50c18c91d8cada3b6931d7a7ee25d9db004366aa440c1ca86
config.json2.33 KBf43d018246094dee6dca455b3072766b6acbefd1ac8e7fe664df34710606a541
generation_config.json112 B141667d35dadd576a92c6501ef676c7fb0abf21ddbebc791881c8931976e0917
mellum-logo-dark.svg5.18 KBe55d257b537fd279c60fae86145191e1e6cac61b730966a061b126c0fd10960b
model-00001-of-00005.safetensors5.00 GB5a9658c912737238b2edf4f4637292c4982ba121a51ef85a7640691223192fed
model-00002-of-00005.safetensors5.00 GBa618d51568a8213a06778bde6e811d3942c5e5bfcc306d7692d17f8fa0543e63
model-00003-of-00005.safetensors5.00 GB3f0a61d5cf63a9998549a55716129dc33d84f506f82ebb45e314ed6b634de4dd
model-00004-of-00005.safetensors5.00 GB2c8ff243f0317486478e1341405eec3d9f0ce13b6f1dd23b09630cc63943e1e8
model-00005-of-00005.safetensors4.31 GB9969f725198e0d75d5d42f733d8d65d3c1d1192357a703802d607514836102eb
model.safetensors.index.json527 KB9ebf9af095565aa45b989cbb1c85674bb6bbf90a1ce5848df2c5c16301c46068
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
273d9c1c68 pinned now2026-11-15 02:52 UTC16 files · 24.3 GB

Use it

$ fw get JetBrains/Mellum2-12B-A2.5B-Instruct
# manifest sha256 6e1f58a73fa0… · 24.3 GB · 16 files
$ fw verify ./Mellum2-12B-A2.5B-Instruct JetBrains/Mellum2-12B-A2.5B-Instruct
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-Instruct.json --dir ./Mellum2-12B-A2.5B-Instruct $ python3 fw.py verify ./Mellum2-12B-A2.5B-Instruct ./JetBrains__Mellum2-12B-A2.5B-Instruct.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download JetBrains/Mellum2-12B-A2.5B-Instruct --revision 273d9c1c6882ac8e1562e5b7e043857d35a787b6 --local-dir ./Mellum2-12B-A2.5B-Instruct
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-Instruct", revision="273d9c1c6882ac8e1562e5b7e043857d35a787b6") model = AutoModelForCausalLM.from_pretrained("JetBrains/Mellum2-12B-A2.5B-Instruct", revision="273d9c1c6882ac8e1562e5b7e043857d35a787b6", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve JetBrains/Mellum2-12B-A2.5B-Instruct --revision 273d9c1c6882ac8e1562e5b7e043857d35a787b6

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
774463746a53b2ff8c3f65d5146e532a95c45143b4541d197efe94d29ef9b508
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-InstructDate: 2026-11-15Commit: 273d9c1Signed: 2DC28CC7B26A283B ✓
Upstream
JetBrains/Mellum2-12B-A2.5B-Instruct
Pinned commit
273d9c1c6882ac8e1562e5b7e043857d35a787b6
Manifest
Mellum2-12B-A2.5B-Instruct.json · .minisig
Manifest sha256
6e1f58a73fa0633ad828803a115ea68a24a279c863b444e5ea9cdc09f1c11c50
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 02:52 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/JetBrains/Mellum2-12B-A2.5B-Instruct.json $ curl -O https://freeweights.allternit.com/manifests/JetBrains/Mellum2-12B-A2.5B-Instruct.json.minisig $ minisign -Vm Mellum2-12B-A2.5B-Instruct.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-Instruct
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-Instruct.json. Provenance. Takedown history: none.

Variants

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