Transformers How to use fawern/blip-Visual-QuestionAnswering-coco with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("visual-question-answering", model="fawern/blip-Visual-QuestionAnswering-coco") # Load model directly
from transformers import AutoProcessor, AutoModelForVisualQuestionAnswering
processor = AutoProcessor.from_pretrained("fawern/blip-Visual-QuestionAnswering-coco")
model = AutoModelForVisualQuestionAnswering.from_pretrained("fawern/blip-Visual-QuestionAnswering-coco")