Instructions to use TeeA/MATCHA-ViChart with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use TeeA/MATCHA-ViChart with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="TeeA/MATCHA-ViChart")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("TeeA/MATCHA-ViChart") model = AutoModelForImageTextToText.from_pretrained("TeeA/MATCHA-ViChart") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -6,7 +6,10 @@ language:
|
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
pipeline_tag: visual-question-answering
|
|
|
|
| 9 |
widget:
|
| 10 |
-
- text: "
|
| 11 |
-
src: "
|
|
|
|
|
|
|
| 12 |
---
|
|
|
|
| 6 |
metrics:
|
| 7 |
- accuracy
|
| 8 |
pipeline_tag: visual-question-answering
|
| 9 |
+
|
| 10 |
widget:
|
| 11 |
+
- text: "What animal is it?"
|
| 12 |
+
src: "https://huggingface.co/datasets/mishig/sample_images/resolve/main/tiger.jpg"
|
| 13 |
+
- text: "Where is it?"
|
| 14 |
+
src: "https://huggingface.co/datasets/mishig/sample_images/resolve/main/palace.jpg"
|
| 15 |
---
|