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
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"architectures": [
|
| 4 |
"Pix2StructForConditionalGeneration"
|
| 5 |
],
|
| 6 |
-
"decoder_start_token_id":
|
| 7 |
"eos_token_id": 1,
|
| 8 |
"initializer_factor": 1.0,
|
| 9 |
"initializer_range": 0.02,
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
"Pix2StructForConditionalGeneration"
|
| 5 |
],
|
| 6 |
+
"decoder_start_token_id": null,
|
| 7 |
"eos_token_id": 1,
|
| 8 |
"initializer_factor": 1.0,
|
| 9 |
"initializer_range": 0.02,
|