Instructions to use google/matcha-plotqa-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/matcha-plotqa-v1 with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="google/matcha-plotqa-v1")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/matcha-plotqa-v1") model = AutoModelForMultimodalLM.from_pretrained("google/matcha-plotqa-v1", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
3be96db
-
Update README.md
1976389
-
Update config.json
44d7bc6
-
Update README.md
84b095a -
Create README.md
2a5f173 -
Upload processor
a782c81 -
Upload Pix2StructForConditionalGeneration
a29ce92 -
initial commit
Younes Belkada30e6756