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
Update readme
Browse filesFiles changed (2)
assets/minicpmv-2-benchmark.pngDeleted

Large File Pointer Details
- SHA256: 42b1e7a4eb732885d39d32da05c72f484f038f068a96de582953b6c2b1bb006d
- Pointer size: 131 Bytes
- Size of remote file: 451 kB
assets/minicpmv-2-peformance.pngDeleted

Large File Pointer Details
- SHA256: 9ed9097b1f96b1551591484a784cbbe7c82eb4c09722622645677026a6a2042e
- Pointer size: 131 Bytes
- Size of remote file: 823 kB