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 from transformers import pipeline pipe = pipeline("visual-question-answering", model="google/matcha-chartqa")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("google/matcha-chartqa") model = AutoModelForImageTextToText.from_pretrained("google/matcha-chartqa") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -72,6 +72,7 @@ processor = Pix2StructProcessor.from_pretrained(PATH_TO_SAVE)
|
|
| 72 |
|
| 73 |
model.push_to_hub("USERNAME/MODEL_NAME")
|
| 74 |
processor.push_to_hub("USERNAME/MODEL_NAME")
|
|
|
|
| 75 |
|
| 76 |
# Contribution
|
| 77 |
|
|
|
|
| 72 |
|
| 73 |
model.push_to_hub("USERNAME/MODEL_NAME")
|
| 74 |
processor.push_to_hub("USERNAME/MODEL_NAME")
|
| 75 |
+
```
|
| 76 |
|
| 77 |
# Contribution
|
| 78 |
|