Instructions to use google/matcha-chartqa with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/matcha-chartqa 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-chartqa")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("google/matcha-chartqa") model = AutoModelForMultimodalLM.from_pretrained("google/matcha-chartqa", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
38169a3 -
Update README.md
e4e6a32 -
Update README.md
c934335 -
Update README.md
d2c0788
-
Update README.md
f367350
-
Update README.md
532a15c
-
Update config.json
8901df2
-
Update README.md
de51b30 -
Update README.md
4fa4a67 -
Update README.md
dd07734 -
Update README.md
6b970ba -
Create README.md
9043e02 -
Upload processor
7880534 -
Upload Pix2StructForConditionalGeneration
c7c2477 -
initial commit
Younes Belkada791fa7f