MiniCPM3-4B

OpenBMB (China) · Language (text)

📄 32K context🔓 Open weights (downloadable)⚖️ apache-2.0

Which way is for me?

🧑‍💻 For developers

vLLM

vllm serve openbmb/MiniCPM3-4B

Transformers (Python)

from transformers import pipeline
pipe = pipeline("text-generation", model="openbmb/MiniCPM3-4B")

llama.cpp

llama-server -hf openbmb/MiniCPM3-4B-GGUF
Words used here
GGUF
The file format LM Studio, Ollama and llama.cpp use to run a model.
Quantization (Q4, Q8)
Shrinking a model by storing numbers less precisely: Q4 smallest and slightly weaker, Q8 almost full, FP16 full.
VRAM
The graphics card's memory (or shared memory on a Mac); the model has to fit in it.
Context
The most text the model can see at once in a conversation (questions, answers and files).
Tokens per second
How fast the answer is written; 20 is about reading speed, 5 is slow.

From the Hugging Face model card

MiniCPM3-4B is the 3rd generation of MiniCPM series. The overall performance of MiniCPM3-4B surpasses Phi-3.5-mini-Instruct and GPT-3.5-Turbo-0125, being comparable with many recent 7B~9B models.

Source: Hugging Face · openbmb/MiniCPM3-4B · License: apache-2.0

Hardware and running it

Cloud Only through the maker's API or cloud services; it cannot run on your own hardware.

Links come from the vendor's official site and the model card the vendor published · Updated: