alt.freeweights.minicpm / MiniCPM5-1B-OptiQ-4bit
From: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.minicpmSubject:

MiniCPM5-1B-OptiQ-4bit

Date: 2026-11-15Commit: 935dd26Signed: 2DC28CC7B26A283B ✓

Text generation model with 1.1B parameters. Safetensors weights, 917 MB in all. Published by mlx-community under Apache-2.0.

1.1B params917MBMiniCPM5-1B-OptiQ-4bitsafetensorspermissive
FactsParams1.1BSize917 MBFormatssafetensorsTasktext generationLicenseApache-2.0From sourcepermissive
$ fw get mlx-community/MiniCPM5-1B-OptiQ-4bit
# manifest sha256 2a03a137a44a… · 917 MB · 11 files
$ fw verify ./MiniCPM5-1B-OptiQ-4bit mlx-community/MiniCPM5-1B-OptiQ-4bit
From sourceHosted (signed)mlx-community/MiniCPM5-1B-OptiQ-4bitLast check: 2026-11-15 05:04 UTC

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

Quantized of MiniCPM5-1B.

Works with

Overview

Size
917 MB
Weights
907 MB (safetensors)
Parameters
1.1B
Formats
safetensors
Task
text generation
License
Apache-2.0 (permissive)
Files
11, each with a sha256
Publisher
mlx-community
Added
2026-11-15
Section
alt.freeweights.minicpm
Lineage

Original release from the publisher.

Base model: openbmb/MiniCPM5-1B

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-15 05:04 UTCpassed

Model card

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

MiniCPM5-1B-OptiQ-4bit#

Built with mlx-optiq, the MLX-native toolkit to quantize, fine-tune, and serve LLMs locally on Apple Silicon, no PyTorch and no cloud. Try the Lab · All OptiQ quants · Docs

Mixed-precision MLX quantization of openbmb/MiniCPM5-1B built with mlx-optiq. Apache-2.0 from the base model.

  • Base: openbmb/MiniCPM5-1B (1.08 B params, Llama architecture, hybrid reasoning)
  • Quantization: OptiQ sensitivity-aware mixed-precision (4-bit + 8-bit)
  • Achieved bits-per-weight: 5.81 (target 5.0)
  • Disk size: 875 MB (vs 2,062 MB bf16, 2.4× compression)
  • Calibration: the bundled optiq.jsonl mix (40 samples across prose, reasoning, code, agent loops, tool-calling, instructions)

The OptiQ optimizer kept 67 of 169 linears at 8-bit (output projections, gate, last block, lm_head) and 102 at 4-bit (most of MLP). The full per-layer assignment is in optiq_metadata.json next to the safetensors.

Headline numbers, 6-benchmark Capability Score#

BenchmarkOptiQ-4 (mixed)uniform-4Δ
MMLU (5-shot, 1000)52.4%49.0%+3.4
GSM8K (no thinking)2.7%1.7%+1.0
IFEval (strict, full)64.7%58.6%+6.1
BFCL V3 (simple AST)0.0%0.0%0.0
HumanEval (pass@1)57.9%45.7%+12.2
HashHop (overall)4.0%0.0%+4.0
Capability Score30.2825.84+4.44
KL vs bf16 (mean)0.1360.3502.6× closer

Same recipe and benchmark suite as the rest of the mlx-optiq family (Qwen3.5, Qwen3.6, Gemma-4). MMLU + IFEval + HumanEval are the strong scores. GSM8K and BFCL are weak in the non-thinking-mode configuration the benchmark recipe uses for cross-family comparability, see "Hybrid reasoning" below for how to unlock them.

Loading#

from mlx_lm import load, generate

model, tok = load("mlx-community/MiniCPM5-1B-OptiQ-4bit")

prompt = tok.apply_chat_template(
    [{"role": "user", "content": "Summarize the plot of The Iliad in three sentences."}],
    tokenize=False,
    add_generation_prompt=True,
    enable_thinking=False,
)
print(generate(model, tok, prompt=prompt, max_tokens=300))

Hybrid reasoning: think or no-think#

MiniCPM5's chat template accepts an enable_thinking flag. With it on, the model emits a <think>...</think> block before answering, useful for math, multi-step planning, or any chain-of-thought task. The benchmark numbers above are with thinking off (the OptiQ framework forces it off for cross-family comparability).

Modetemperaturetop_pUse when
No-think (default)0.70.95Fast assistant, rewriting, conversational
Think0.90.95Math, code, multi-hop reasoning

Pass via chat_template_kwargs at the OpenAI endpoint level or as a keyword to apply_chat_template directly. optiq serve forwards chat_template_kwargs verbatim:

optiq serve --model mlx-community/MiniCPM5-1B-OptiQ-4bit --port 8000

curl -s http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model":"mlx-community/MiniCPM5-1B-OptiQ-4bit",
       "messages":[{"role":"user","content":"What is 17 * 23?"}],
       "chat_template_kwargs":{"enable_thinking":true}}'

Why HumanEval and HashHop jump so much#

Sensitivity-aware allocation puts 8-bit precision on the layers OptiQ measured as most fragile (output projection, gate, the last few blocks). For a 1B model with limited redundancy, that targeting matters disproportionately. HumanEval +12.2 and HashHop recovering from a 0% floor to 4.0% are both consequences of that. Same pattern shows up on small Gemma quants, see the mlx-optiq sensitivity-aware research.

Fine-tuning#

The 1B size makes MiniCPM5 the smallest base in mlx-optiq that's still capable enough to fine-tune for real tasks. On a 24 GB Mac, LoRA training fits comfortably at max_seq_length=2048 with all 7 Unsloth target modules adapted (peak ~3 GB during training, observed). The sensitivity-aware LoRA overlay reads optiq_metadata.json and gives 8-bit layers 2× the adapter rank of 4-bit layers at the same parameter budget.

optiq lora train mlx-community/MiniCPM5-1B-OptiQ-4bit \
  --data ./my_training_data \
  --preset default \
  --max-seq-length 2048

Reproducibility#

optiq convert openbmb/MiniCPM5-1B --target-bpw 5.0 --candidate-bits 4,8

Bit-for-bit deterministic given the same calibration mix.

Quantize your own#

This quant was produced by mlx-optiq. Point it at any Hugging Face model to get the same sensitivity-aware mixed precision:

pip install mlx-optiq
optiq convert <hf-model-id> --target-bpw 5.0 --candidate-bits 4,8
optiq lab   # full local workbench: chat, compare, quantize, fine-tune

License + provenance#

Apache-2.0, inherited from openbmb/MiniCPM5-1B. Quantized with mlx-optiq.

Files

11 files · 917 MBWeights 907 MB (safetensors). Sizes and sha256 from the signed manifest.
Hide all 11 files with their sha256
FileSizesha256
.gitattributes1.52 KB11ad7efa24975ee4b0c3c3a38ed18737f0658a5f75a0a96787b576a78a023361
README.md5.71 KB97f163715ee45f771941740ef9dbaa81779ae70ba8396c234127800901efea5e
chat_template.jinja9.06 KB7451a05cf1e28a79d97d7c0bc951028c0b1915119bf9046acd06a0e3d931f47c
config.json37.2 KB94b1ac84fc7333f4beccd73766543c150d7c005d1fb2e8eaecee2326f8d83227
generation_config.json213 B92afd6424501426eddcf7e1542f013d19e5987544977b4ee7bd26359bd5fd2ab
kv_config.json1.58 KB8551a2851e4d1f3a25730f685f01bd437b8797c7b6f6ac29ebb864e159e5a634
model.safetensors907 MB88bb686ed4a28f7c2065e27aabef7669f84961ac47c83efe2d003436c179e2e4
model.safetensors.index.json39.4 KBca14de0908516d022466afc9864cb3bd1f915b36498e5c8a95ba4ee56d3dad92
optiq_metadata.json14.9 KB03576e65c1039e55131619a3efc37ade27cf0f76e79e063c6e6c5e23e028d03a
tokenizer.json9.89 MB3e065a558a034185fe299917b398685c1facd0169a9eea1e629eb30c171fed81
tokenizer_config.json460 Bb99b837295c979cc956b9e018fe710123a5547df9d4143894ba7b95a7f08c42b
VersionsEach time the pinned upstream commit or file list changed in this repo. Newest first.
Upstream commitDateContents
935dd26f1c pinned now2026-11-15 05:04 UTC11 files · 917 MB

Use it

$ fw get mlx-community/MiniCPM5-1B-OptiQ-4bit
# manifest sha256 2a03a137a44a… · 917 MB · 11 files
$ fw verify ./MiniCPM5-1B-OptiQ-4bit mlx-community/MiniCPM5-1B-OptiQ-4bit
fw.pyChecks the signature and every sha256, tries each source in order, resumes.
$ python3 fw.py get https://freeweights.allternit.com/manifests/mlx-community/MiniCPM5-1B-OptiQ-4bit.json --dir ./MiniCPM5-1B-OptiQ-4bit $ python3 fw.py verify ./MiniCPM5-1B-OptiQ-4bit ./mlx-community__MiniCPM5-1B-OptiQ-4bit.json
hfThe Hugging Face CLI with one setting. Same repo id.
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/MiniCPM5-1B-OptiQ-4bit --revision 935dd26f1ce9f3596d7ecd04014a704592b70dcc --local-dir ./MiniCPM5-1B-OptiQ-4bit
transformersLoad the weights in Python.
import os os.environ["HF_ENDPOINT"] = "https://freeweights.allternit.com" from transformers import AutoModelForCausalLM, AutoTokenizer tok = AutoTokenizer.from_pretrained("mlx-community/MiniCPM5-1B-OptiQ-4bit", revision="935dd26f1ce9f3596d7ecd04014a704592b70dcc") model = AutoModelForCausalLM.from_pretrained("mlx-community/MiniCPM5-1B-OptiQ-4bit", revision="935dd26f1ce9f3596d7ecd04014a704592b70dcc", device_map="auto")
vLLMServe an OpenAI-compatible API.
$ HF_ENDPOINT=https://freeweights.allternit.com vllm serve mlx-community/MiniCPM5-1B-OptiQ-4bit --revision 935dd26f1ce9f3596d7ecd04014a704592b70dcc

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-15
Text in
README.md
Text sha256
97f163715ee45f771941740ef9dbaa81779ae70ba8396c234127800901efea5e
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: mlx-community <huggingface.co/mlx-community>Newsgroups: alt.freeweights.minicpmSubject: MiniCPM5-1B-OptiQ-4bitDate: 2026-11-15Commit: 935dd26Signed: 2DC28CC7B26A283B ✓
Upstream
mlx-community/MiniCPM5-1B-OptiQ-4bit
Pinned commit
935dd26f1ce9f3596d7ecd04014a704592b70dcc
Manifest
MiniCPM5-1B-OptiQ-4bit.json · .minisig
Manifest sha256
2a03a137a44a22e53cfcaef279b2656f6a32eadcc2450ac0b3b51b3db483f143
Signature
minisign, Ed25519, key 2DC28CC7B26A283B
Created
2026-11-15 05:04 UTC
Generator
freeweights-manifest/0.1.0
Takedowns
None.

How to verify

$ curl -O https://freeweights.allternit.com/manifests/mlx-community/MiniCPM5-1B-OptiQ-4bit.json $ curl -O https://freeweights.allternit.com/manifests/mlx-community/MiniCPM5-1B-OptiQ-4bit.json.minisig $ minisign -Vm MiniCPM5-1B-OptiQ-4bit.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

Parent

openbmb/MiniCPM5-1B · this model is a quantization of it

1 model in the catalog name this one as their parent.

Adapters
1
Get it
Download
$ HF_ENDPOINT=https://freeweights.allternit.com hf download mlx-community/MiniCPM5-1B-OptiQ-4bit
Open in Freeweights Studio

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

Signed manifest
minisign, key 2DC28CC7B26A283B. MiniCPM5-1B-OptiQ-4bit.json. Provenance. Takedown history: none.

Variants

1 quantized or adapter build of MiniCPM5-1B-OptiQ-4bit. Each has its own license check and page.

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