Downloads · 30 days
8
100% of all-time downloads
devichand/MiniCPM_V_ImgChat-7B
MiniCPM_V_ImgChat-7B is a machine learning model from devichand. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
- Model Name: Qwen2-VL-ImgChat-2B - Model Type: Vision-Language Model fine-tuned for multimodal dialog auto-completion - Language(s): English - Base Model: Qwen2-VL-2B - Fine-tuning Dataset: ImageChat - License: Same…
Downloads · 30 days
8
100% of all-time downloads
All-time downloads
8
Public
Repo size
243 MB
Likes
0
Public
Click a slice to open those files.
.pt162 MB · 65%
From the Hugging Face model README
This model generates conversational responses conditioned on both textual and visual context. It is suitable for:
The model is not intended for:
Example usage with Hugging Face Transformers:
from transformers import AutoProcessor, AutoModelForVision2Seq
processor = AutoProcessor.from_pretrained("devichand/MiniCPM_V_ImgChat-7B")
model = AutoModelForVision2Seq.from_pretrained("devichand/MiniCPM_V_ImgChat-7B")
inputs = processor(images=your_image,
text="Describe the image.",
return_tensors="pt")
outputs = model.generate(**inputs)
print(processor.decode(outputs[0]))