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

Mellum2-12B-A2.5B-Base

Date: 2026-11-15Commit: 271755eSigned: 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-Basesafetensorspermissive
FactsParams12.1BSize24.3 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get JetBrains/Mellum2-12B-A2.5B-Base
# manifest sha256 6f19c9071697… · 24.3 GB · 15 files
$ fw verify ./Mellum2-12B-A2.5B-Base JetBrains/Mellum2-12B-A2.5B-Base
From sourceHosted (signed)JetBrains/Mellum2-12B-A2.5B-BaseLast check: 2026-11-15 03:21 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
15, 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 03:21 UTCpassed

Model card

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

Image: Mellum

Mellum2 Base#

Note. Use this checkpoint as the starting point for your own fine-tuning, alignment, or domain adaptation on top of the long-context base. For instruction-following or reasoning tasks out of the box, use Instruct or Thinking instead.

Mellum2 Base Highlights#

Mellum2 Base is a long-context pretrained causal language 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.

This is the long-context base, produced from Mellum2-12B-A2.5B-Base-Pretrain by a layer-selective YaRN extension stage that re-maps RoPE frequencies on the global-attention layers only. It is the shared starting point for the released Instruct and Thinking variants.

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 Base 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#

vllm serve JetBrains/Mellum2-12B-A2.5B-Base --max-model-len 131072

Quickstart#

Text-Only Input (base model — use the completions endpoint, not chat)

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

completion = client.completions.create(
    model="JetBrains/Mellum2-12B-A2.5B-Base",
    prompt="def fibonacci(n):\n    ",
    max_tokens=81920,
    temperature=0.6,
    top_p=0.95,
    extra_body={
        "top_k": 20,
    },
)
print("Completion:", completion)

Evaluation#

Mellum2 Base pretraining results compared with similarly-sized open base models. All values are self-reported by JetBrains.

BenchmarkMellum2 (12B-A2.5B)OLMo-3 (7B)Qwen2.5 (7B)Qwen3 (4B)Qwen3.5 (4B)
Code Generation
HumanEval41.545.155.557.350.0
HumanEval+37.239.647.051.243.9
MBPP62.450.663.667.052.2
MBPP+61.452.964.064.555.0
MultiPL-E (7 langs)21.010.019.226.012.1
CRUXEval-I45.438.844.044.649.1
CRUXEval-O43.936.642.943.543.2
Knowledge & Reasoning
MMLU70.962.171.871.174.2
MMLU-Pro59.334.548.651.552.4
BBH74.963.669.071.380.2
ARC-Challenge53.553.651.351.254.9
HellaSwag73.774.278.973.775.3
WinoGrande65.569.573.371.270.8
TruthfulQA MC244.547.056.453.552.1
Math & Science
GSM8K81.773.581.982.080.1
MATH10.018.724.627.725.3
GPQA Diamond31.328.832.836.941.4
GPQA Main35.027.934.236.840.2

For more details, see the Mellum2 Technical Report.

License#

Released under the Apache 2.0 license.

Files

15 files · 24.3 GBWeights 24.3 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 15 files with their sha256
FileSizesha256
.eval_results/mellum2.yaml1.02 KBbbec75c796801ac61fc8684a31b6e2e1014bcff4a188868c3d7b473c75c40083
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md9.62 KB2e55ec2dad29bb28d13d6d1fc84c2c18cc1db5d999626fa6a0111a4040c1db3b
config.json2.32 KB28953bc64472a20efd1a41e83ba9b4ee076d319fc89bcec1277862b7fd9fc49c
generation_config.json111 B43d1f83d871a388f486b86713426772920fbe4bd59e2d16013b65ebc91760b4c
mellum-logo-dark.svg5.18 KBe55d257b537fd279c60fae86145191e1e6cac61b730966a061b126c0fd10960b
model-00001-of-00005.safetensors5.00 GBb255cfdb0ff353f583293c2ca9c5b09be5bfb07b123b4c60f1a22f1b82749ba1
model-00002-of-00005.safetensors5.00 GB5419ef373d206bf236df2c0c5d455a05cfe3877639da3985856e1965249709d6
model-00003-of-00005.safetensors5.00 GB8be730573685721c7209670a4dc6cc11d9d0a498c62b1048da84130f05226937
model-00004-of-00005.safetensors5.00 GBa500cd1b6437d501690bcbe75064c1f4b8cc53491f06dc9e16c56404b33d3d49
model-00005-of-00005.safetensors4.31 GB01dec3e4406d7b2ad71153441f1231dc868aa5a6e1242f00d146c2c9516dd92c
model.safetensors.index.json527 KB77f264a0dc417f759b121d9d37b42776faab199106578d8ee4d291e3cd981ac9
special_tokens_map.json1.33 KBca36db85fdb90aa36dd22e75f3b384595343a6e57f651704daa10a04f40eaef7
tokenizer.json7.09 MB40764f672f6ed79562ad6dbd0faf40d86e4d1ba5231b3317a4da2d91fc110ba5
tokenizer_config.json7.20 KBfaef2eb73550905b2229c51bd45af7fca6a4c41f042d65e9fd3719b44d14d07e
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
271755e48a pinned now2026-11-15 03:21 UTC15 files · 24.3 GB

Use it

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

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
2e55ec2dad29bb28d13d6d1fc84c2c18cc1db5d999626fa6a0111a4040c1db3b
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-BaseDate: 2026-11-15Commit: 271755eSigned: 2DC28CC7B26A283B ✓
Upstream
JetBrains/Mellum2-12B-A2.5B-Base
Pinned commit
271755e48ab6b2ed0ef224eaaabe2d25275fb8ee
Manifest
Mellum2-12B-A2.5B-Base.json · .minisig
Manifest sha256
6f19c907169705ce198e955b9c8ad8f5ad009ed19fd99fc7a9ba02bd493cf2bb
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 03:21 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

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

2 models in the catalog name this one as their parent.

Fine-tunes
2
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download JetBrains/Mellum2-12B-A2.5B-Base
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-Base.json. Provenance. Takedown history: none.
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