Downloads · 30 days
368
23% of all-time downloads
JetBrains/Mellum2-12B-A2.5B-Base-Pretrain
Mellum2-12B-A2.5B-Base-Pretrain is a text generation model from JetBrains. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as apache-2.0.
<img alt="Mellum" src="mellum-logo-dark.svg" width="320"
Downloads · 30 days
368
23% of all-time downloads
All-time downloads
1.6K
Public
Parameters
12.1B
24.3 GB on disk
Likes
14
Public
Click a slice to open those files.
.safetensors24.3 GB · 100%
From the Hugging Face model README
[!Note] 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 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.
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 |
Mellum2 Base has the following features:
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
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-Pretrain",
prompt="def fibonacci(n):\n ",
max_tokens=4096,
temperature=0.6,
top_p=0.95,
extra_body={
"top_k": 20,
},
)
print("Completion:", completion)
Evaluation results are available in the model card. All values are self-reported by JetBrains.
For more details, see the Mellum2 Technical Report.
Released under the Apache 2.0 license.