Visual Question Answering
Transformers
Safetensors
idefics
image-text-to-text
text-generation-inference
Instructions to use enghamdiali/idefics-9b-qt_f with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use enghamdiali/idefics-9b-qt_f with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="enghamdiali/idefics-9b-qt_f")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("enghamdiali/idefics-9b-qt_f") model = AutoModelForMultimodalLM.from_pretrained("enghamdiali/idefics-9b-qt_f", device_map="auto") - Notebooks
- Google Colab
- Kaggle
| { | |
| "image_num_channels": 3, | |
| "image_mean": [ | |
| 0.48145466, | |
| 0.4578275, | |
| 0.40821073 | |
| ], | |
| "image_processor_type": "IdeficsImageProcessor", | |
| "image_size": 224, | |
| "image_std": [ | |
| 0.26862954, | |
| 0.26130258, | |
| 0.27577711 | |
| ], | |
| "processor_class": "IdeficsProcessor" | |
| } | |