Instructions to use google/matcha-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use google/matcha-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="google/matcha-base")# Load model directly from transformers import AutoProcessor, AutoModelForImageTextToText processor = AutoProcessor.from_pretrained("google/matcha-base") model = AutoModelForImageTextToText.from_pretrained("google/matcha-base") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -41,7 +41,7 @@
|
|
| 41 |
},
|
| 42 |
"initializer_factor": 1.0,
|
| 43 |
"initializer_range": 0.02,
|
| 44 |
-
"is_decoder":
|
| 45 |
"is_encoder_decoder": false,
|
| 46 |
"label2id": {
|
| 47 |
"LABEL_0": 0,
|
|
|
|
| 41 |
},
|
| 42 |
"initializer_factor": 1.0,
|
| 43 |
"initializer_range": 0.02,
|
| 44 |
+
"is_decoder": true,
|
| 45 |
"is_encoder_decoder": false,
|
| 46 |
"label2id": {
|
| 47 |
"LABEL_0": 0,
|