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 generation_config.json
Browse files- generation_config.json +1 -1
generation_config.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
-
"decoder_start_token_id":
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
"transformers_version": "4.35.2",
|
|
|
|
| 1 |
{
|
| 2 |
"_from_model_config": true,
|
| 3 |
+
"decoder_start_token_id": null,
|
| 4 |
"eos_token_id": 1,
|
| 5 |
"pad_token_id": 0,
|
| 6 |
"transformers_version": "4.35.2",
|