alt.freeweights.minicpm / MiniCPM5-2B-Midtrain
From: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject:

MiniCPM5-2B-Midtrain

Date: 2026-11-14Commit: cceb0a1Signed: 2DC28CC7B26A283B ✓

Text generation model with 2.5B parameters. Safetensors weights, 5.04 GB in all. Published by openbmb under Apache-2.0.

2.5B params5.04GBMiniCPM5-2B-Midtrainsafetensorspermissive
FactsParams2.5BSize5.04 GBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get openbmb/MiniCPM5-2B-Midtrain
# manifest sha256 2d84e4e0a61a… · 5.04 GB · 10 files
$ fw verify ./MiniCPM5-2B-Midtrain openbmb/MiniCPM5-2B-Midtrain
From sourceHosted (signed)openbmb/MiniCPM5-2B-MidtrainLast check: 2026-11-14 21:25 UTC

Get help: custom fine-tune or private deploy. We review your setup before we quote.

Works with

Overview

Size
5.04 GB
Weights
5.03 GB (safetensors)
Parameters
2.5B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
10, each with a sha256
Publisher
openbmb
Added
2026-11-14
Section
alt.freeweights.minicpm
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-14 21:25 UTCpassed

Model card

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

Image: image

MiniCPM Tech Report | MiniCPM Wiki(Chinese) | GitHub Repo | UltraData | Online Demo

English | 中文

Highlights#

We are releasing MiniCPM5-2B, the second model in the MiniCPM5 series, following MiniCPM5-1B. It is a dense 2B Transformer that scales up the same training recipe, built for on-device, local deployment, and resource-constrained scenarios, reaching 2B-class open-source SOTA.

🏆 2B-class open-source SOTA: compared with strong open-source models of similar size, MiniCPM5-2B achieves SOTA performance within this comparison set. It remains competitive with 4B-class models overall, while showing its advantages over models of comparable size in coding, mathematics, long-context understanding, tool use, and agentic tasks.

📂 Open High-Quality Data: Alongside the model, we are releasing the high-quality training datasets behind it as part of the UltraData family: UltraX, a high-quality web pre-training dataset; UltraData-Code, featuring L0–L3 tiered code data management to drive a significant leap in coding capabilities; UltraData-SFT-Agent-2609, comprising 500K agent training samples to enhance comprehensive on-device agent capabilities; and UltraData-RL-2609, with 80K+ high-quality RL training samples covering mathematics, code, general knowledge, and long-context reasoning.

Model List#

Use this directory to choose the model format that matches your runtime:

MiniCPM5-2B

MiniCPM5-1B

Model Information#

MiniCPM5-2B has the following features:

  • Type: Causal Language Model
  • Architecture: Standard LlamaForCausalLM
  • Number of Parameters: 2,516,756,480
  • Number of Non-Embedding Parameters: 1,981,982,720
  • Number of Layers: 42
  • Number of Attention Heads (GQA): 16 for Q and 2 for KV
  • Context Length: 131,072

Introduction#

MiniCPM5-2B is the second model in the MiniCPM5 series. It is designed for local assistants, coding agents, tool-use workflows, and reasoning scenarios where a compact model is preferred. The model keeps a small deployment footprint while providing native long-context support.

Evaluation Results#

We compare MiniCPM5-2B with strong open-source models in the same size class, including LFM2.5-2.6B, Qwen3.5-2B, and Gemma-4-E2B-it, while also listing larger models such as Qwen3.5-4B, granite-4.2-3B, Nemotron-3-Nano-4B, Gemma-4-E4B-it, and LFM2.5-8B-A1B for reference.

Within this comparison set, MiniCPM5-2B reaches 2B-class open-source SOTA with an average score of 53.9, and also exceeds all of the larger models included here (the highest is 51.1). Its advantages are most visible in code reasoning, math reasoning, long-context understanding, tool use, and multiple agentic tasks.

Evaluation Results of MiniCPM5-2B and Baselines#

| | MiniCPM5-2B | 2B-class Models | 4B-class Models

| LFM2.5-2.6B | Qwen3.5-2B | Gemma-4-E2B-it | Qwen3.5-4B | granite-4.2-3B | Nemotron-3-Nano-4B | Gemma-4-E4B-it | LFM2.5-8B-A1B

| Average

| 53.9 | 33.2 | 28.0 | 24.6 | 51.1 | 42.7 | 32.6 | 31.2 | 28.4

| Code Reasoning

| LiveCodeBench v6

| 69.1 | 42.1 | 20.2 | 42.9 | 56.4 | 58.9 | 50.7 | 53.9 | 39.8

| LCB-Pro 25Q2 (Easy)

| 68.0 | 30.9 | 10.3 | 27.1 | 58.3 | 54.6 | 51.6 | 45.8 | 27.8

| LCB-Pro 25Q2 (Medium)

| 17.5 | 0.0 | 0.0 | 0.0 | 7.0 | 5.3 | 5.3 | 1.8 | 0.0

| OJBench

| 32.5 | 11.2 | 2.6 | 11.6 | 24.8 | 21.8 | 20.0 | 19.0 | 8.2

| SciCode (wbg)

| 26.3&dagger; | 14.2&dagger; | 2.8&dagger; | 20.9&dagger; | 16.1&dagger; | 24.9&dagger; | 16.4&dagger; | 24.4&dagger; | 7.8&dagger;

| Math Reasoning

| AIME 2025

| 86.5 | 41.9 | 29.6 | 31.7 | 78.8 | 79.4 | 56.3 | 37.1 | 46.0

| AIME 2026

| 86.5 | 45.2 | 29.0 | 39.8 | 82.7 | 83.5 | 62.1 | 45.0 | 56.7

| HMMT Feb 2026

| 63.8 | 33.7 | 20.5 | 17.8 | 64.0 | 60.8 | 51.3 | 30.1 | 38.5

| MATH-500

| 94.6 | 89.6 | 85.8 | 85.4 | 99.0 | 97.0 | 91.6 | 88.2 | 93.2

| Instruction Following

| IFBench

| 66.3 | 59.0 | 46.0 | 25.7 | 59.0 | 73.0 | 58.3 | 28.3 | 51.0

| IFEval

| 86.7 | 93.4 | 77.5 | 31.4 | 90.2 | 93.7 | 88.0 | 44.4 | 90.8

| Multi-IF

| 71.8 | 76.8 | 57.1 | 40.3 | 73.6 | 75.9 | 65.9 | 45.9 | 71.4

| General Knowledge

| MMLU-Pro

| 70.8 | 65.2 | 64.3 | 56.0 | 78.0 | 65.8 | 65.7 | 68.3 | 63.1

| MMLU-Redux

| 84.7 | 80.0 | 80.0 | 71.8 | 88.7 | 78.9 | 79.8 | 83.7 | 80.0

| HLE

| 8.9&dagger; | 6.2&dagger; | 2.6&dagger; | 4.8&dagger; | 9.9&dagger; | 6.6&dagger; | 4.9&dagger; | 3.8&dagger; | 6.9&dagger;

| GPQA-Diamond

| 70.2&dagger; | 55.8&dagger; | 45.6&dagger; | 43.3&dagger; | 77.1&dagger; | 55.9&dagger; | 51.3&dagger; | 57.6&dagger; | 51.3&dagger;

| SuperGPQA

| 40.8 | 26.2 | 38.6 | 30.3 | 52.8 | 39.9 | 37.8 | 38.7 | 34.5

| Long Context

| AA-LCR

| 59.0&dagger; | 5.3&dagger; | 28.7&dagger; | 17.0&dagger; | 61.0&dagger; | 24.3&dagger; | 17.3&dagger; | 33.0&dagger; | 0.0&dagger;

| NoLiMa

| 68.1 | 0.7 | 17.1 | 3.9 | 43.5 | 5.1 | 1.1 | 2.3 | 0.5

| LongBenchPro

| 44.8 | 23.7 | 8.2 | 42.2 | 58.4 | 34.8 | 27.9 | 53.5 | 19.6

The publisher's README is longer; it is cut here. Read the rest at the source.

Files

10 files · 5.04 GBWeights 5.03 GB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 10 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README-cn.md110 KBc9a5dc96154a06b35cdd3e1b458f42624d6c67ed3d89946bd76fecf4a3fe8729
README.md112 KB1921d18f3b2dffc8c4996d5686d6268823ca89fa163444f68135f5f6ec5ad6af
chat_template.jinja9.06 KBcc945752db555d60949b16989df4ccfeb52a313d6b4b5c5229dd786e2e9fcf1c
config.json704 B59613157e5357d62bcb121e04cb90f2170b43d789b142380c12c3d4277d95180
generation_config.json213 B9ac4f32e5f32358697a9f438a3ea89ef80e6ba786c72c49e932f9f21c122fdb1
model.safetensors5.03 GB38a28680f6208242a0de7c84627343d44cee517b49c2b39d1afd706be6beabad
special_tokens_map.json551 B82d96d7a9e6ced037f12394b7ea6a5b02e6ca87e0d11edaa8d60d9be857ce7db
tokenizer.json9.89 MB3e065a558a034185fe299917b398685c1facd0169a9eea1e629eb30c171fed81
tokenizer_config.json94.4 KBe9b1064649e771d7a8e15637c68b2d2749724877ba3648bd74a4ece31c26303b
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
cceb0a157b pinned now manifest updated, same commit2026-11-14 21:25 UTC10 files · 5.04 GB
cceb0a157b2026-11-14 21:25 UTC10 files · 5.04 GB

Use it

$ fw get openbmb/MiniCPM5-2B-Midtrain
# manifest sha256 2d84e4e0a61a… · 5.04 GB · 10 files
$ fw verify ./MiniCPM5-2B-Midtrain openbmb/MiniCPM5-2B-Midtrain
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/openbmb/MiniCPM5-2B-Midtrain.json --dir ./MiniCPM5-2B-Midtrain $ python3 fw.py verify ./MiniCPM5-2B-Midtrain ./openbmb__MiniCPM5-2B-Midtrain.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/MiniCPM5-2B-Midtrain --revision cceb0a157ba55ad5feb380dab1ce1909a76abf68 --local-dir ./MiniCPM5-2B-Midtrain
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("openbmb/MiniCPM5-2B-Midtrain", revision="cceb0a157ba55ad5feb380dab1ce1909a76abf68") model = AutoModelForCausalLM.from_pretrained("openbmb/MiniCPM5-2B-Midtrain", revision="cceb0a157ba55ad5feb380dab1ce1909a76abf68", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve openbmb/MiniCPM5-2B-Midtrain --revision cceb0a157ba55ad5feb380dab1ce1909a76abf68

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-14
Text in
README.md
Text sha256
1921d18f3b2dffc8c4996d5686d6268823ca89fa163444f68135f5f6ec5ad6af
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: openbmb <huggingface.co/openbmb>Newsgroups: alt.freeweights.minicpmSubject: MiniCPM5-2B-MidtrainDate: 2026-11-14Commit: cceb0a1Signed: 2DC28CC7B26A283B ✓
Upstream
openbmb/MiniCPM5-2B-Midtrain
Pinned commit
cceb0a157ba55ad5feb380dab1ce1909a76abf68
Manifest
MiniCPM5-2B-Midtrain.json · .minisig
Manifest sha256
2d84e4e0a61a1299fd8658a46f37ae123c3fa97111f0664f75d1b142b92151b8
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-14 21:25 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/openbmb/MiniCPM5-2B-Midtrain.json $ curl -O https://freeweights.allternit.com/manifests/openbmb/MiniCPM5-2B-Midtrain.json.minisig $ minisign -Vm MiniCPM5-2B-Midtrain.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

No related models in this catalog.Nothing here lists this model as its parent, and it names no parent.
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/MiniCPM5-2B-Midtrain
Open in Freeweights Studio

Pull, verify and run it in the Allternit app on Desktop, web or phone.

Signed manifest
minisign, key 2DC28CC7B26A283B. MiniCPM5-2B-Midtrain.json. Provenance. Takedown history: none.
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Explore-GGUF
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report
From: openbmb <huggingface.co/openbmb>Subject: AgentCPM-Report-GGUF
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-0.5B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-1B-gguf
From: openbmb <huggingface.co/openbmb>Subject: BitCPM-CANN-3B-gguf