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 # Warning: Pipeline type "visual-question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("visual-question-answering", model="Salesforce/blip-vqa-capfilt-large")# pip install -U transformers accelerate # 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", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Update README.md
Verified signature270352c
-
Fix error in model name (#9)
Verified signature- Fix error in model name (18250717eefc9033639842679f93891b5d7f80f4) Co-authored-by: Toli <malformed369@users.noreply.huggingface.co>e53f952
-
Update README.md
13641e0
-
Update tokenizer_config.json (#6)
- Update tokenizer_config.json (903273cc54c5eff589d16fe3cf4e4e73c063ffdd)692ac4e
-
Update config.json (#5)
- Update config.json (7ff5acad36fa4ad93baca623ca0a8c947993cf7b)c6af15b
-
Add TF weights (#3)
- Add TF weights (5c223f560e89401a8f2ac2639e9eb91191a349cf) Co-authored-by: Matthew Carrigan <Rocketknight1@users.noreply.huggingface.co>a0470b7
-
Update README.md (#2)
- Update README.md (d17ac797448d2691c7b7d688961bd0cb9a0b851c)047dd8c
-
Update README.md
c0604a4
-
Update README.md
68f34c8 -
Create README.md
8599e64 -
Upload BlipForQuestionAnswering
0b9ee70 -
Upload processor
15e21cb -
initial commit
Younes Belkadaf6cc075