Instructions to use next-social/blip2-opt-2.7b-bf16 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use next-social/blip2-opt-2.7b-bf16 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("visual-question-answering", model="next-social/blip2-opt-2.7b-bf16")# Load model directly from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering processor = AutoProcessor.from_pretrained("next-social/blip2-opt-2.7b-bf16") model = AutoModelForVisualQuestionAnswering.from_pretrained("next-social/blip2-opt-2.7b-bf16") - Notebooks
- Google Colab
- Kaggle
No model card
- Downloads last month
- 9