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 config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
| 8 |
"initializer_factor": 1.0,
|
| 9 |
"initializer_range": 0.02,
|
| 10 |
"is_encoder_decoder": true,
|
| 11 |
-
"is_vqa":
|
| 12 |
"model_type": "pix2struct",
|
| 13 |
"pad_token_id": 0,
|
| 14 |
"text_config": {
|
|
|
|
| 8 |
"initializer_factor": 1.0,
|
| 9 |
"initializer_range": 0.02,
|
| 10 |
"is_encoder_decoder": true,
|
| 11 |
+
"is_vqa": false,
|
| 12 |
"model_type": "pix2struct",
|
| 13 |
"pad_token_id": 0,
|
| 14 |
"text_config": {
|