Salesforce / instructblip-flan-t5-xl

huggingface.co
Total runs: 48.0K
24-hour runs: 0
7-day runs: -150
30-day runs: 5.3K
Model's Last Updated: February 03 2025
image-text-to-text

Introduction of instructblip-flan-t5-xl

Model Details of instructblip-flan-t5-xl

InstructBLIP model

InstructBLIP model using Flan-T5-xl as language model. InstructBLIP was introduced in the paper InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning by Dai et al.

Disclaimer: The team releasing InstructBLIP did not write a model card for this model so this model card has been written by the Hugging Face team.

Model description

InstructBLIP is a visual instruction tuned version of BLIP-2 . Refer to the paper for details.

InstructBLIP architecture

Intended uses & limitations

Usage is as follows:

from transformers import InstructBlipProcessor, InstructBlipForConditionalGeneration
import torch
from PIL import Image
import requests

model = InstructBlipForConditionalGeneration.from_pretrained("Salesforce/instructblip-flan-t5-xl")
processor = InstructBlipProcessor.from_pretrained("Salesforce/instructblip-flan-t5-xl")

device = "cuda" if torch.cuda.is_available() else "cpu"
model.to(device)

url = "https://raw.githubusercontent.com/salesforce/LAVIS/main/docs/_static/Confusing-Pictures.jpg"
image = Image.open(requests.get(url, stream=True).raw).convert("RGB")
prompt = "What is unusual about this image?"
inputs = processor(images=image, text=prompt, return_tensors="pt").to(device)

outputs = model.generate(
        **inputs,
        do_sample=False,
        num_beams=5,
        max_length=256,
        min_length=1,
        top_p=0.9,
        repetition_penalty=1.5,
        length_penalty=1.0,
        temperature=1,
)
generated_text = processor.batch_decode(outputs, skip_special_tokens=True)[0].strip()
print(generated_text)
How to use

For code examples, we refer to the documentation .

Runs of Salesforce instructblip-flan-t5-xl on huggingface.co

48.0K
Total runs
0
24-hour runs
0
3-day runs
-150
7-day runs
5.3K
30-day runs

More Information About instructblip-flan-t5-xl huggingface.co Model

More instructblip-flan-t5-xl license Visit here:

https://choosealicense.com/licenses/mit

instructblip-flan-t5-xl huggingface.co

instructblip-flan-t5-xl huggingface.co is an AI model on huggingface.co that provides instructblip-flan-t5-xl's model effect (), which can be used instantly with this Salesforce instructblip-flan-t5-xl model. huggingface.co supports a free trial of the instructblip-flan-t5-xl model, and also provides paid use of the instructblip-flan-t5-xl. Support call instructblip-flan-t5-xl model through api, including Node.js, Python, http.

instructblip-flan-t5-xl huggingface.co Url

https://huggingface.co/Salesforce/instructblip-flan-t5-xl

Salesforce instructblip-flan-t5-xl online free

instructblip-flan-t5-xl huggingface.co is an online trial and call api platform, which integrates instructblip-flan-t5-xl's modeling effects, including api services, and provides a free online trial of instructblip-flan-t5-xl, you can try instructblip-flan-t5-xl online for free by clicking the link below.

Salesforce instructblip-flan-t5-xl online free url in huggingface.co:

https://huggingface.co/Salesforce/instructblip-flan-t5-xl

instructblip-flan-t5-xl install

instructblip-flan-t5-xl is an open source model from GitHub that offers a free installation service, and any user can find instructblip-flan-t5-xl on GitHub to install. At the same time, huggingface.co provides the effect of instructblip-flan-t5-xl install, users can directly use instructblip-flan-t5-xl installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

instructblip-flan-t5-xl install url in huggingface.co:

https://huggingface.co/Salesforce/instructblip-flan-t5-xl

Url of instructblip-flan-t5-xl

instructblip-flan-t5-xl huggingface.co Url

Provider of instructblip-flan-t5-xl huggingface.co

Salesforce
ORGANIZATIONS

Other API from Salesforce

huggingface.co

Total runs: 111.9K
Run Growth: 18.7K
Growth Rate: 16.68%
Updated:February 03 2025
huggingface.co

Total runs: 80.1K
Run Growth: 80.0K
Growth Rate: 99.89%
Updated:April 12 2025
huggingface.co

Total runs: 1.5K
Run Growth: 1.3K
Growth Rate: 85.78%
Updated:January 21 2025
huggingface.co

Total runs: 250
Run Growth: -278
Growth Rate: -111.20%
Updated:January 15 2025
huggingface.co

Total runs: 150
Run Growth: -3
Growth Rate: -2.00%
Updated:November 05 2025
huggingface.co

Total runs: 146
Run Growth: -4.9K
Growth Rate: -3354.11%
Updated:October 04 2025