Image-to-Text
Transformers
Safetensors
English
blip
image-text-to-text
image-captioning
vision-language
flickr8k
coco
Instructions to use Amirhossein75/Image-Captioning-Blip with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Amirhossein75/Image-Captioning-Blip with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "image-to-text" 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("image-to-text", model="Amirhossein75/Image-Captioning-Blip")# Load model directly from transformers import AutoProcessor, AutoModelForMultimodalLM processor = AutoProcessor.from_pretrained("Amirhossein75/Image-Captioning-Blip") model = AutoModelForMultimodalLM.from_pretrained("Amirhossein75/Image-Captioning-Blip", device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
13adedc | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:a9aed4e0dd5401092e31163e5c4ac4120e5c144f28bcc5db2f6da1360c72b2ef
size 5905
|