JetBrains / Mellum2-12B-A2.5B-Base-Pretrain

huggingface.co
Total runs: 279
24-hour runs: 15
7-day runs: 48
30-day runs: 9
Model's Last Updated: August 31 2026
text-generation

Introduction of Mellum2-12B-A2.5B-Base-Pretrain

Model Details of Mellum2-12B-A2.5B-Base-Pretrain

Mellum

Mellum2 Base Pretrain

Use this checkpoint as a starting point for research on long-context extension or for 8K-context continued pretraining and fine-tuning. For downstream applications use Base , Instruct , or Thinking instead.

Mellum2 Base Highlights

Mellum2 Base is a 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 8,192 tokens.

This is a checkpoint before long-context extension.

Mellum2 Model Family

This repository contains one checkpoint from the Mellum2 family.

Checkpoint Description
Base Pretrain Base checkpoint before long-context extension
Base Final base model
Instruct SFT Supervised instruction-tuned checkpoint
Thinking SFT Supervised thinking checkpoint
Instruct RL-tuned instruction model
Thinking RL-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: 8,192
  • Sliding Window: 1,024
  • Vocabulary Size: 98,304
  • Precision: bfloat16
  • License: Apache 2.0
Serving with vLLM

This checkpoint has an 8K context length (long-context extension is applied in Base ).

vllm serve JetBrains/Mellum2-12B-A2.5B-Base-Pretrain --max-model-len 8192
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-Base-Pretrain",
    messages=messages,
    max_tokens=8192,
    temperature=0.6,
    top_p=0.95,
    extra_body={
        "top_k": 20,
    },
)
print("Chat response:", chat_response)
Evaluation

Evaluation results are available in the model card. All values are self-reported by JetBrains.

For more details, see the Mellum2 Technical Report .

License

Released under the Apache 2.0 license.

Runs of JetBrains Mellum2-12B-A2.5B-Base-Pretrain on huggingface.co

279
Total runs
15
24-hour runs
40
3-day runs
48
7-day runs
9
30-day runs

More Information About Mellum2-12B-A2.5B-Base-Pretrain huggingface.co Model

More Mellum2-12B-A2.5B-Base-Pretrain license Visit here:

https://choosealicense.com/licenses/apache-2.0

Mellum2-12B-A2.5B-Base-Pretrain huggingface.co

Mellum2-12B-A2.5B-Base-Pretrain huggingface.co is an AI model on huggingface.co that provides Mellum2-12B-A2.5B-Base-Pretrain's model effect (), which can be used instantly with this JetBrains Mellum2-12B-A2.5B-Base-Pretrain model. huggingface.co supports a free trial of the Mellum2-12B-A2.5B-Base-Pretrain model, and also provides paid use of the Mellum2-12B-A2.5B-Base-Pretrain. Support call Mellum2-12B-A2.5B-Base-Pretrain model through api, including Node.js, Python, http.

Mellum2-12B-A2.5B-Base-Pretrain huggingface.co Url

https://huggingface.co/JetBrains/Mellum2-12B-A2.5B-Base-Pretrain

JetBrains Mellum2-12B-A2.5B-Base-Pretrain online free

Mellum2-12B-A2.5B-Base-Pretrain huggingface.co is an online trial and call api platform, which integrates Mellum2-12B-A2.5B-Base-Pretrain's modeling effects, including api services, and provides a free online trial of Mellum2-12B-A2.5B-Base-Pretrain, you can try Mellum2-12B-A2.5B-Base-Pretrain online for free by clicking the link below.

JetBrains Mellum2-12B-A2.5B-Base-Pretrain online free url in huggingface.co:

https://huggingface.co/JetBrains/Mellum2-12B-A2.5B-Base-Pretrain

Mellum2-12B-A2.5B-Base-Pretrain install

Mellum2-12B-A2.5B-Base-Pretrain is an open source model from GitHub that offers a free installation service, and any user can find Mellum2-12B-A2.5B-Base-Pretrain on GitHub to install. At the same time, huggingface.co provides the effect of Mellum2-12B-A2.5B-Base-Pretrain install, users can directly use Mellum2-12B-A2.5B-Base-Pretrain installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

Mellum2-12B-A2.5B-Base-Pretrain install url in huggingface.co:

https://huggingface.co/JetBrains/Mellum2-12B-A2.5B-Base-Pretrain

Url of Mellum2-12B-A2.5B-Base-Pretrain

Mellum2-12B-A2.5B-Base-Pretrain huggingface.co Url

Provider of Mellum2-12B-A2.5B-Base-Pretrain huggingface.co

JetBrains
ORGANIZATIONS

Other API from JetBrains