VOOZH about

URL: https://huggingface.co/openbmb/MiniCPM4.1-8B-Eagle3

โ‡ฑ openbmb/MiniCPM4.1-8B-Eagle3 ยท Hugging Face


GitHub Repo | Technical Report | Join Us

๐Ÿ‘‹ Contact us in Discord and WeChat

What's New

  • [2025.09.05] MiniCPM4.1 series are released! This series is a hybrid reasoning model, which can be used in both deep reasoning mode and non-reasoning mode. ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ
  • [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 and MiniCPM4.1 Series

MiniCPM4 and MiniCPM4.1 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.

Introduction

MiniCPM4 and MiniCPM4.1 are extremely efficient edge-side large model that has undergone efficient optimization across four dimensions: model architecture, learning algorithms, training data, and inference systems, achieving ultimate efficiency improvements.

  • ๐Ÿ—๏ธ Efficient Model Architecture:

    • InfLLM v2 -- Trainable Sparse Attention Mechanism: Adopts a trainable sparse attention mechanism architecture where each token only needs to compute relevance with less than 5% of tokens in 128K long text processing, significantly reducing computational overhead for long texts
  • ๐Ÿง  Efficient Learning Algorithms:

    • Model Wind Tunnel 2.0 -- Efficient Predictable Scaling: Introduces scaling prediction methods for performance of downstream tasks, enabling more precise model training configuration search
    • BitCPM -- Ultimate Ternary Quantization: Compresses model parameter bit-width to 3 values, achieving 90% extreme model bit-width reduction
    • Efficient Training Engineering Optimization: Adopts FP8 low-precision computing technology combined with Multi-token Prediction training strategy
  • ๐Ÿ“š High-Quality Training Data:

    • UltraClean -- High-quality Pre-training Data Filtering and Generation: Builds iterative data cleaning strategies based on efficient data verification, open-sourcing high-quality Chinese and English pre-training dataset UltraFinweb
    • UltraChat v2 -- High-quality Supervised Fine-tuning Data Generation: Constructs large-scale high-quality supervised fine-tuning datasets covering multiple dimensions including knowledge-intensive data, reasoning-intensive data, instruction-following data, long text understanding data, and tool calling data
  • โšก Efficient Inference System:

    • CPM.cu -- Lightweight and Efficient CUDA Inference Framework: Integrates sparse attention, model quantization, and speculative sampling to achieve efficient prefilling and decoding
    • ArkInfer -- Cross-platform Deployment System: Supports efficient deployment across multiple backend environments, providing flexible cross-platform adaptation capabilities

Usage

Inference with cpm.cu

 python -m cpmcu.cli \
 --model-path ./MiniCPM4.1-8B \
 --draft-model-path ./MiniCPM4.1-8B-Eagle3/MiniCPM4_1-8B-Eagle3-bf16 \
 --prompt-text "Tell me about Tsinghua University" \
 --temperature 0.7 \
 --use-stream true \
 --use-eagle3
Downloads last month

-

Downloads are not tracked for this model. How to track

Space using openbmb/MiniCPM4.1-8B-Eagle3 1

Collection including openbmb/MiniCPM4.1-8B-Eagle3

Paper for openbmb/MiniCPM4.1-8B-Eagle3