Instructions to use google/matcha-chart2text-pew with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/matcha-chart2text-pew with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="google/matcha-chart2text-pew")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("google/matcha-chart2text-pew") model = AutoModelForImageTextToText.from_pretrained("google/matcha-chart2text-pew") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -51,6 +51,10 @@ model.push_to_hub("USERNAME/MODEL_NAME")
|
|
| 51 |
processor.push_to_hub("USERNAME/MODEL_NAME")
|
| 52 |
```
|
| 53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 54 |
# Contribution
|
| 55 |
|
| 56 |
This model was originally contributed by Fangyu Liu, Francesco Piccinno et al. and added to the Hugging Face ecosystem by [Younes Belkada](https://huggingface.co/ybelkada).
|
|
|
|
| 51 |
processor.push_to_hub("USERNAME/MODEL_NAME")
|
| 52 |
```
|
| 53 |
|
| 54 |
+
## Run predictions
|
| 55 |
+
|
| 56 |
+
To run predictions, refer to the [instructions presented in the `matcha-chartqa` model card](https://huggingface.co/ybelkada/matcha-chartqa#get-predictions-from-the-model).
|
| 57 |
+
|
| 58 |
# Contribution
|
| 59 |
|
| 60 |
This model was originally contributed by Fangyu Liu, Francesco Piccinno et al. and added to the Hugging Face ecosystem by [Younes Belkada](https://huggingface.co/ybelkada).
|