[2025.06.06]
MiniCPM4
series are released! This model achieves ultimate efficiency improvements while maintaining optimal performance at the same scale! It can achieve over 5x generation acceleration on typical end-side chips! You can find technical report
here
.🔥🔥🔥
MiniCPM4 Series
MiniCPM4 series are highly efficient large language models (LLMs) designed explicitly for end-side devices, which achieves this efficiency through systematic innovation in four key dimensions: model architecture, training data, training algorithms, and inference systems.
MiniCPM4-8B
: The flagship of MiniCPM4, with 8B parameters, trained on 8T tokens.
MiniCPM4-0.5B
: The small version of MiniCPM4, with 0.5B parameters, trained on 1T tokens.
MiniCPM4-8B-Eagle-FRSpec-QAT-cpmcu
: Eagle head trained with QAT for FRSpec, efficiently integrate speculation and quantization to achieve ultra acceleration for MiniCPM4-8B.
MiniCPM4-8B-Eagle-vLLM
: Eagle head in vLLM format, accelerating speculative inference for MiniCPM4-8B.
BitCPM4-0.5B
: Extreme ternary quantization applied to MiniCPM4-0.5B compresses model parameters into ternary values, achieving a 90% reduction in bit width.
BitCPM4-1B
: Extreme ternary quantization applied to MiniCPM3-1B compresses model parameters into ternary values, achieving a 90% reduction in bit width. (
<-- you are here
)
MiniCPM4-Survey
: Based on MiniCPM4-8B, accepts users' quiries as input and autonomously generate trustworthy, long-form survey papers.
MiniCPM4-MCP
: Based on MiniCPM4-8B, accepts users' queries and available MCP tools as input and autonomously calls relevant MCP tools to satisfy users' requirements.
Introduction
BitCPM4 are ternary quantized models derived from the MiniCPM series models through quantization-aware training (QAT), achieving significant improvements in both training efficiency and model parameter efficiency.
Improvements of the training method
Searching hyperparameters with a wind-tunnel on a small model.
Using a two-stage training method: training in high-precision first and then QAT, making the best of the trained high-precision models and significantly reducing the computational resources required for the QAT phase.
High parameter efficiency
Achieving comparable performance to full-precision models of similar parameter models with a bit width of only 1.58 bits, demonstrating high parameter efficiency.
Usage
Inference with Transformers
BitCPM4's parameters are stored in a fake-quantized format, which supports direct inference within the Huggingface framework.
BitCPM4-1B huggingface.co is an AI model on huggingface.co that provides BitCPM4-1B's model effect (), which can be used instantly with this openbmb BitCPM4-1B model. huggingface.co supports a free trial of the BitCPM4-1B model, and also provides paid use of the BitCPM4-1B. Support call BitCPM4-1B model through api, including Node.js, Python, http.
BitCPM4-1B huggingface.co is an online trial and call api platform, which integrates BitCPM4-1B's modeling effects, including api services, and provides a free online trial of BitCPM4-1B, you can try BitCPM4-1B online for free by clicking the link below.
openbmb BitCPM4-1B online free url in huggingface.co:
BitCPM4-1B is an open source model from GitHub that offers a free installation service, and any user can find BitCPM4-1B on GitHub to install. At the same time, huggingface.co provides the effect of BitCPM4-1B install, users can directly use BitCPM4-1B installed effect in huggingface.co for debugging and trial. It also supports api for free installation.