跳到主要内容
返回

MiniCPM-V 4

MiniCPM-V 多模态系列

MiniCPM-V 4 是 4.1B 参数的多模态模型,基于 SigLIP2-400M + MiniCPM4-3B 架构。

核心特性​

  • OpenCompass 均分 69.0,超越 GPT-4.1-mini 和 MiniCPM-V 2.6 (8.1B)
  • 端侧高效:iPhone 16 Pro Max 上首 token 延迟 <2s,生成速度 >17 tokens/s
  • 超越同参数量的 Qwen2.5-VL-3B

模型下载​

版本HuggingFaceModelScope
MiniCPM-V 4.0下载下载

快速开始​

Python
import torch
from transformers import AutoModel, AutoTokenizer
from PIL import Image

model = AutoModel.from_pretrained(
"openbmb/MiniCPM-V-4",
trust_remote_code=True,
torch_dtype=torch.bfloat16
).eval().cuda()
tokenizer = AutoTokenizer.from_pretrained("openbmb/MiniCPM-V-4", trust_remote_code=True)

image = Image.open("image.jpg").convert("RGB")
msgs = [{"role": "user", "content": [image, "描述图片内容。"]}]
answer = model.chat(msgs=msgs, tokenizer=tokenizer)
print(answer)

微调​

Bash
cd MiniCPM-V
MODEL="openbmb/MiniCPM-V-4"
LLM_TYPE="qwen"
sh finetune/finetune_lora.sh

相关资源​

主题入口
微调MiniCPM-V 4 微调指南
代码仓库OpenBMB/MiniCPM-V
官方模型文档minicpm_v4_en.md
端侧应用与下载MiniCPM-V-Apps 安装包

开发者精选

查看全部 →
MiniCPM-V 多模态打烊 · 闭店安全巡检旧手机加本地小模型,离店前拍照核对安全隐患MiniCPM-V 多模态找件:货架找包裹拍一下快递货架,本地 Agent 帮你找到包裹MiniCPM-V 多模态MiniCPM-OCR for Hermes让 Agent 读文档时知道哪些内容不可信MiniCPM-V 多模态TrailSnap 行影集本地 AI 相册与旅行日志,自动整理照片与足迹MiniCPM 文本MiniCPM-V 多模态PaperReview 手写作文批改在 Mac 本地逐行识别并批改英语手写作文MiniCPM-V 多模态PRTS 视障辅助助手给视障用户的 iPhone 离线避障与看图助手MiniCPM-V 多模态esp32-intake 拍照算热量手机拍一下算热量,圆屏提醒今天还能吃多少MiniCPM-V 多模态拾光 LifeLog 人生回顾本地读完十年相册,整理成一份人生回顾MiniCPM-V 多模态CamThink 现场巡检边缘相机配合视觉大模型,完成现场巡检理解MiniCPM-V 多模态TraceCell 溯格核验台账把 OCR 结果逐格溯源对账,变成能签字的台账MiniCPM-V 多模态ESP32 猫咪喝水计数器认出是哪只猫来喝水,记下它今天喝了几次MiniCPM 文本MiniCPM-V 多模态MiniCPM Agent Gateway:端云协同网关本地 MiniCPM 判断数据策略,敏感请求不出本机MiniCPM 文本MiniCPM-V 多模态Lost & Found Desk:小模型失物招领MiniCPM-V 描述物品、MiniCPM5 引导问询,人工确认归还MiniCPM 文本MiniCPM-V 多模态VoxCPM 语音CoreAI Model Zoo:MiniCPM 原生上 iPhoneMiniCPM5、MiniCPM-V 4.6 转换为 Core AI 原生运行MiniCPM 文本MiniCPM-V 多模态Viva Mais:WhatsApp 本地 CRM把旅行社的 WhatsApp 聊天整理成本地 CRMMiniCPM-V 多模态Aranya:看懂植物、讲出故事微调 MiniCPM-V 4.6 识别植物、诊断病害并语音讲述MiniCPM 文本MiniCPM-V 多模态当猫娘学会思考,手机也能部署这个模型难道真的是为了猫娘而生的吗?端侧部署实测MiniCPM 文本MiniCPM-V 多模态让 1B 小模型当好数学 AgentTeXada 的 MiniCPM 端侧实践与方法沉淀MiniCPM-V 多模态对账工作台:财报 OCR 勾稽校验MiniCPM-V 读财报,确定性引擎抓出 OCR 数字错误