Visual Question Answering
Transformers
Safetensors
English
Chinese
minicpmv
feature-extraction
custom_code
Eval Results
Instructions to use openbmb/MiniCPM-V-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use openbmb/MiniCPM-V-2 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="openbmb/MiniCPM-V-2", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("openbmb/MiniCPM-V-2", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Add ScreenSpot-Pro evaluation result (MiniCPM-V (7B))
Verified signature288125d
-
Update README.md
Verified signatureb9a02db
-
Update README.md
Verified signatureee00ff7
-
remove deepspeed
95a8b2d -
remove deepspeed
3edf83a
-
Update resampler.py (#20)
Verified signature- Update resampler.py (65f2c6fcf494b1a82e2916cfb21d170eec7d8c6e) Co-authored-by: qianyu chen <qianyuchen@users.noreply.huggingface.co>eda751e -
Update modeling_minicpmv.py (#17)
Verified signature- Update modeling_minicpmv.py (36640bdb52d2a56817da2a08c72252377539769b) Co-authored-by: qianyu chen <qianyuchen@users.noreply.huggingface.co>52c7ed6
-
Update README.md
Verified signature1878519
-
Support image is None
3d0e971
-
Update README.md
Verified signatureb996e5b -
Update README.md
Verified signaturec6d16c2 -
Update tokenizer_config.json
Verified signaturecaaa166
-
Update modeling_minicpmv.py
Verified signaturede9e1bb
-
Add tokenizer.json for llama.cpp
f5965f6
-
Update readme, support vLLM
Verified signaturede7c946
-
Update README.md
Verified signaturec68b9f3
-
Update README.md
Verified signaturee7cde22 -
Fix input msgs been changed after calling chat
651ed08
-
Update README.md
Verified signature45105d4 -
Update README.md
Verified signaturea0249fa -
Update README.md
Verified signature7a3f600 -
Update README.md
Verified signature2b3c3a9
-
Add arguments to MiniCPMVConfig for vLLM support
8767985 -
Update model name
4cbc2a4
-
Update README.md
Verified signaturedd592ec -
Update readme
0757b95
-
Update README.md
Verified signature47362c1 -
Update README.md
Verified signaturefccaf60 -
Update readme
9c09515 -
Update readme
fe77168 -
Update README.md
Verified signature0017ac3 -
Update README.md
Verified signature997732c -
Update README.md
Verified signature8d14ce6 -
Update readme
5dbbbed -
Update readme
16f5cfa -
Update readme
f81d06e -
Update readme
fb1c84b -
Update readme
9c0c8ce -
Update assets
6333dd3 -
Update readme
f4fa97b -
Merge remote-tracking branch 'origin/main'
05751a9 -
Update code
dee672b
-
Create README.md
Verified signature725ce06 -
Add model
09b758e
-
Add model
2417817 -
Add model
317f313 -
init
fda92ea -
initial commit
Verified signature6e50765