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

MiniCPM5-2B-DSpark

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

Text generation model with 324M parameters. Safetensors weights, 648 MB in all. Published by openbmb under Apache-2.0.

324M params648MBMiniCPM5-2B-DSparksafetensorspermissive
FactsParams324MSize648 MBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get openbmb/MiniCPM5-2B-DSpark
# manifest sha256 90c688c8a157… · 648 MB · 4 files
$ fw verify ./MiniCPM5-2B-DSpark openbmb/MiniCPM5-2B-DSpark
From sourceHosted (signed)openbmb/MiniCPM5-2B-DSparkLast 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
648 MB
Weights
648 MB (safetensors)
Parameters
324M
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
4, 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 a63eb96. 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 | 中文

MiniCPM5-2B-DSpark#

MiniCPM5-2B-DSpark is a DSpark draft checkpoint trained for exact pairing with MiniCPM5-2B and its tokenizer.

Model Specification#

PropertyValue
Target modelMiniCPM5-2B
Draft layers5
Draft parameters323,776,001
Draft tokens per forward pass7
Target hidden-state layers[1, 10, 20, 30, 39]
Checkpoint precisionBF16

Training Recipe#

Training responses were generated by MiniCPM5-2B from a mixture of general-domain, mathematics, and code prompts.

SettingValue
Training sequences1,959,525
Training tokens7,054,154,509
Epochs6
Maximum sequence length12,288
OptimizerAdamW
ObjectiveCE + L1 + confidence loss

Evaluation#

Acceptance length is defined as the total number of completion tokens divided by the total number of speculative verification steps. Evaluation uses natural EOS termination and max_new_tokens=4096.

DomainT=0T=1.0
Math6.04964.6050
Code6.11064.4381
General4.15853.0997
Aggregate5.51744.0514

Usage with SGLang#

python -m sglang.launch_server \
  --model-path <target-model-path> \
  --trust-remote-code \
  --speculative-algorithm DSPARK \
  --speculative-draft-model-path <draft-model-path> \
  --speculative-dspark-block-size 7

Limitations and Disclaimer#

This model has no autonomous intent or legal personhood; its outputs are text generated from statistical patterns and may be inaccurate, biased, or offensive, and may be manipulated by carefully crafted prompts ("jailbreaks") into producing unintended content. Its responses on sensitive topics such as politics, health, finance, and law are not reviewed by experts and should not be treated as professional advice.

This model is provided "AS IS", without warranty of any kind, express or implied, and the developers are not liable for any damages arising from its use. Users must employ the model only for lawful, compliant, and ethical purposes, configure their own safeguards, and label AI-generated content where required; deliberate jailbreaking, injection attacks, or inducing harmful output is prohibited, and any such testing is at the user's own risk.

License#

This repository and MiniCPM model weights are released under the Apache-2.0 License.

Citation#

Please cite our paper if you find our work valuable:

@article{minicpm4,
  title={Minicpm4: Ultra-efficient llms on end devices},
  author={MiniCPM, Team},
  journal={arXiv preprint arXiv:2506.07900},
  year={2025}
}

Files

4 files · 648 MBWeights 648 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 4 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md4.05 KB9ee7a1ba6a0b5209f15fe6a48aa4c76a337b2e65e4cdd678c4d914e6f9726211
config.json1.41 KBbfbcab77ce2b466928deeb23109e7ff7738639c499d45f2c15941743b475d14b
model.safetensors648 MBae9ff4a8c944e2f88f266cc9452f6b8908a6d2bfce57cd4cf12cfb5cb979bc97
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
a63eb96b9b pinned now manifest updated, same commit2026-11-14 21:25 UTC4 files · 648 MB
a63eb96b9b2026-11-14 21:25 UTC4 files · 648 MB

Use it

$ fw get openbmb/MiniCPM5-2B-DSpark
# manifest sha256 90c688c8a157… · 648 MB · 4 files
$ fw verify ./MiniCPM5-2B-DSpark openbmb/MiniCPM5-2B-DSpark
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-DSpark.json --dir ./MiniCPM5-2B-DSpark $ python3 fw.py verify ./MiniCPM5-2B-DSpark ./openbmb__MiniCPM5-2B-DSpark.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download openbmb/MiniCPM5-2B-DSpark --revision a63eb96b9bba7e999639d3fe3b6d70a0ea38eabd --local-dir ./MiniCPM5-2B-DSpark
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-DSpark", revision="a63eb96b9bba7e999639d3fe3b6d70a0ea38eabd") model = AutoModelForCausalLM.from_pretrained("openbmb/MiniCPM5-2B-DSpark", revision="a63eb96b9bba7e999639d3fe3b6d70a0ea38eabd", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve openbmb/MiniCPM5-2B-DSpark --revision a63eb96b9bba7e999639d3fe3b6d70a0ea38eabd

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
9ee7a1ba6a0b5209f15fe6a48aa4c76a337b2e65e4cdd678c4d914e6f9726211
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-DSparkDate: 2026-11-14Commit: a63eb96Signed: 2DC28CC7B26A283B ✓
Upstream
openbmb/MiniCPM5-2B-DSpark
Pinned commit
a63eb96b9bba7e999639d3fe3b6d70a0ea38eabd
Manifest
MiniCPM5-2B-DSpark.json · .minisig
Manifest sha256
90c688c8a15706c4a2ed14897d47d24016edc19bea3e75987bbbf69aff9ba329
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-DSpark.json $ curl -O https://freeweights.allternit.com/manifests/openbmb/MiniCPM5-2B-DSpark.json.minisig $ minisign -Vm MiniCPM5-2B-DSpark.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-DSpark
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-DSpark.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