How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("image-text-to-text", model="HuggingFaceM4/idefics2-8b-AWQ")
# Load model directly
from transformers import AutoProcessor, AutoModelForImageTextToText

processor = AutoProcessor.from_pretrained("HuggingFaceM4/idefics2-8b-AWQ")
model = AutoModelForImageTextToText.from_pretrained("HuggingFaceM4/idefics2-8b-AWQ")
Quick Links

4-bit AWQ-quantized version of HuggingFaceM4/idefics2-8b. Refer to the original model's card for more information (including inference snippet).

Downloads last month
10
Safetensors
Model size
8B params
Tensor type
I32
·
F16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Datasets used to train HuggingFaceM4/idefics2-8b-AWQ

Collection including HuggingFaceM4/idefics2-8b-AWQ