🤖 image-to-text

blip-image-captioning-base

Salesforce/blip-image-captioning-base

Get AI Model →
2.2M
Downloads
❤️
849
Likes
🏷️
11
Tags
📦
transformers
Library
Model Details
Full Model IDSalesforce/blip-image-captioning-base
Pipeline / Taskimage-to-text
Librarytransformers
Downloads (all-time)2.2M
Likes849
Last Modified2/3/2025
Author / OrgSalesforce
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("image-to-text", model="Salesforce/blip-image-captioning-base")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchtfblipimage-text-to-textimage-captioningimage-to-textarxiv:2201.12086license:bsd-3-clauseendpoints_compatibleregion:us
More image-to-text Models
See all →
GLM-OCR

zai-org/GLM-OCR

7.3M❤️ 1.6K
Get AI Model →
blip-image-captioning-large

Salesforce/blip-image-captioning-large

1.4M❤️ 1.5K
Get AI Model →
trocr-base-printed

microsoft/trocr-base-printed

763.3K❤️ 205
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🤖 Task: image-to-text

This model is designed for the image-to-text task. Explore more models for this use case.

All image-to-text Models →
📊 Popularity
Downloads2.2M
❤️ Community Likes849
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?