Mellum2.1 Instruct — GGUF
This repository contains GGUF builds of
JetBrains/Mellum2.1-12B-A2.5B-Instruct in every quantization we
publish, ready to run with llama.cpp,
Ollama, LM Studio, and other GGUF-compatible runtimes. Each variant is one
file; download the one you need. The repository also ships the model's
multi-token prediction (MTP) head for speculative decoding in llama.cpp;
see Speculative decoding with the MTP head.
Mellum2.1 Instruct is a Mixture-of-Experts assistant model (64 experts, 8
activated per token, 131,072-token context) that answers directly, without an
externalized chain of thought. For the full model description, evaluation
results, and architecture details, see the original model card:
JetBrains/Mellum2.1-12B-A2.5B-Instruct.
Available quantizations
KL divergence and top-token agreement are measured against the BF16 logits on
Wikitext-2 (n_ctx=512); lower KLD / higher agreement means closer to the
unquantized model.
Download
Run with llama.cpp
With the llama binary from llama.app or any recent
llama.cpp build:
For Mellum2.1 Instruct, we recommend adding the sampling settings
--temp 0.6 --top-p 0.95 --top-k 20 to these commands.
The server exposes an OpenAI-compatible API on http://localhost:9931/v1:
Speculative decoding with the MTP head
Mellum2.1 Instruct comes with a multi-token prediction head: one extra
transformer block (same attention and MoE shape as a model layer), trained
together with the model, that predicts the token after the one just sampled.
llama.cpp uses it as a speculative draft
(--spec-type draft-mtp): the full model verifies every drafted token, so the
output is unchanged and generation is faster whenever drafts are accepted.
The model weights in the combined files are identical to the quantizations
above; in them the head is quantized with the model, and the standalone head
file is BF16. These files need llama.cpp build b11747 (19 October 2026) or
newer. Older builds, and Ollama, LM Studio, and other runtimes until they ship
such a build, cannot load them; they keep working with the quantizations in the
first table, which is also what -hf …:Q6_K and ollama run hf.co/…
resolve to. Without --spec-type draft-mtp nothing changes: the head is simply
not used.
--spec-draft-n-max sets how many tokens the head drafts per step; the head
predicts one token ahead, so start with 1. In the llama.cpp
benchmarks of the
Mellum2.1 Thinking head, which has the same shape (Apple M2 Max, Metal, 512
greedy tokens, mean over ten prompts), one drafted token gave 1.05x the BF16
decoding speed, 1.04–1.10x on code prompts, and 1.00x for a Q4_K_M model with
a Q8_0 head; two or more drafted tokens were slower than plain decoding in
every configuration. The timings object of each server response reports
draft_n and draft_n_accepted, the number of drafted and accepted tokens.
Run with Ollama
License
Released under the Apache 2.0 license.
For the full model card, evaluation results, and architecture details, refer to
the original model: JetBrains/Mellum2.1-12B-A2.5B-Instruct.