initial commit 30e6756
Younes Belkada commited on
How to use google/matcha-plotqa-v1 with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("visual-question-answering", model="google/matcha-plotqa-v1") # Load model directly
from transformers import AutoProcessor, AutoModelForMultimodalLM
processor = AutoProcessor.from_pretrained("google/matcha-plotqa-v1")
model = AutoModelForMultimodalLM.from_pretrained("google/matcha-plotqa-v1")