MiniCPM
MiniCPM is a compact language model series from OpenBMB and Tsinghua University, designed to deliver strong performance at small parameter counts using model merging and continuous training techniques.
Available Models
- MiniCPM5-1B (
MiniCPM5ForCausalLM): 1B - MiniCPM3-4B (
MiniCPM3ForCausalLM): 4B - MiniCPM-2B-sft-bf16 (
MiniCPMForCausalLM): 2B, SFT - MiniCPM-2B-dpo-bf16 (
MiniCPMForCausalLM): 2B, DPO
Architectures
MiniCPMForCausalLM— MiniCPM v1/v2MiniCPM3ForCausalLM— MiniCPM3MiniCPM5ForCausalLM— MiniCPM5
Example HF Models
Try with NeMo AutoModel
Install NeMo AutoModel and follow the fine-tuning guide to configure a recipe for this model.
1. Install (full instructions):
2. Clone the repo to get example recipes you can adapt:
3. Fine-tune using one of the provided MiniCPM5 recipes:
Run with Docker
1. Pull the container and mount a checkpoint directory:
2. The recipes are at /opt/Automodel/examples/ — navigate there:
3. Fine-tune:
Refer to the Installation Guide and LLM Fine-Tuning Guide.
Fine-Tune
Refer to the LLM Fine-Tuning Guide.