Downloads · 30 days
5
100% of all-time downloads
devichand/PaliGemma2_ImgChat-3B
PaliGemma2_ImgChat-3B 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
5
100% of all-time downloads
All-time downloads
5
Public
Repo size
125 MB
Likes
0
Public
Click a slice to open those files.
.pt83.4 MB · 64%
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/PaliGemma2_ImgChat-3B")
model = AutoModelForVision2Seq.from_pretrained("devichand/PaliGemma2_ImgChat-3B")
inputs = processor(images=your_image,
text="Describe the image.",
return_tensors="pt")
outputs = model.generate(**inputs)
print(processor.decode(outputs[0]))