Instructions to use Salesforce/blip-vqa-capfilt-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Salesforce/blip-vqa-capfilt-large with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="Salesforce/blip-vqa-capfilt-large")# Load model directly from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering processor = AutoProcessor.from_pretrained("Salesforce/blip-vqa-capfilt-large") model = AutoModelForVisualQuestionAnswering.from_pretrained("Salesforce/blip-vqa-capfilt-large") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -52,7 +52,7 @@
|
|
| 52 |
"min_length": 0,
|
| 53 |
"model_type": "blip_text_model",
|
| 54 |
"no_repeat_ngram_size": 0,
|
| 55 |
-
"num_attention_heads":
|
| 56 |
"num_beam_groups": 1,
|
| 57 |
"num_beams": 1,
|
| 58 |
"num_hidden_layers": 12,
|
|
|
|
| 52 |
"min_length": 0,
|
| 53 |
"model_type": "blip_text_model",
|
| 54 |
"no_repeat_ngram_size": 0,
|
| 55 |
+
"num_attention_heads": 12,
|
| 56 |
"num_beam_groups": 1,
|
| 57 |
"num_beams": 1,
|
| 58 |
"num_hidden_layers": 12,
|