Models › blip2 family

Salesforce MIT out 4 years ago

3.74B parameters, images and text in, text out.

Verified 2026-10-25 Rank #287 in LLMs · score 84.3 method v1 Sources 3 Downloads 30d 423.2k · #178 of 619 tracked

Can I run it?2.2GB at INT4Estimatefits a 16 GB cardmethod
Can I use it?MITPermissivelicence file2026-10-24
Do people use it?423.2kdownloads, 30 days#178 of 619 we track · top 29%−1 likes, downloads −12% this week447 likesHugging Face2026-10-24

Worth reading

Picked by rule from 14 tracked pieces: the lab's own post, the most shared, a field report, the latest.

Most discussed · 214 HN pts

EditAnything: Segment Anything + ControlNet + BLIP2 + Stable Diffusion

EditAnything is an open-source project for editing and generating images using Segment Anything, ControlNet, and Stable Diffusion.

  • EditAnything operates on any base or lora models without requiring a specific inpainting model.
  • The project supports customized editing by training a DreamBooth model and replacing the base model in sam2edit.py.
github.com 2023-04-10 214 HN pts · 24 comments 760 words about the blip2 family family
Latest · 4 months ago

BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models | Krishnatheja Vanka

BLIP-2 is a vision-language pre-training recipe that achieves strong zero-shot results by keeping a pre-trained image encoder and a pre-trained large language model completely frozen.

  • BLIP-2 uses in-batch negatives rather than a momentum queue because the frozen image encoder allows more samples per GPU.
  • The Q-Former is initialized from BERT-base pre-trained weights except for the cross-attention layers which are randomly initialized.
theja-vanka.github.io 2026-07-06 3.7k words about the blip2 family family

14 best of 14 tracked

The 2 picks above, plus these 12. Top is the radar's score: discussion, source authority and the lab's own posts, fading with age.

  1. PaperBLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelsarxiv.org · undated
  2. Code18-multimodal/blip-2/SKILL.mdgithub.com · undated
  3. PaperBlip-2arxiv.org · 2023-01-31 · 1 HN pts
  4. CodeBlip-2: harvesting development of pretrained vision models for LLM traininggithub.com · 2023-01-31 · 2 HN pts
  5. ArticleBLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Modelsproceedings.mlr.press · undated
  6. Articleblip2-opt-2.7b by Salesforce AI Research: Open-Weight Modelsavrn.com · undated
  7. ArticleHow to accelerate image-text pair generation with BLIP-2labelbox.com · 2023-05-09 · 1 HN pts
  8. ArticleBenchmarking Midjourney/Describe, CLIPinterrogator2.1, BLIP2 and SceneXjina.ai · 2023-04-05
  9. DiscussionOutperforming BLIP2 and Clip Interrogatortwitter.com · 2023-03-21 · 2 HN pts
  10. ArticleBLIP2 – Answers questions about imagesreplicate.com · 2023-03-31
  11. ArticleBLIP-2: Efficient Vision-Language Pre-training | Abhik Sarkarabhik.ai · 2024-01-21
  12. ArticleBLIP-2: A new Visual Language Model by Salesforce | BLIP-2 – Weights & Biaseswandb.ai · 2023-02-24

Where it's used

Hugging Face does not say who downloads a model or with what. These are the proxies: API providers listing it, quantized builds, fine-tunes/adapters/merges, and Spaces that load it.

No API provider serves it, so its downloads are people running it themselves: 100 Spaces.

  • As a service0no API provider listed
  • On own hardware0quantized builds
  • Built on6412 fine-tunes · 52 adapters · 0 merges
  • In apps100+Hugging Face Spaces

Top Spaces running it: jiawei011/dreamgaussian ♥ 543 · microsoft/OmniParser-v2 ♥ 463 · multimodalart/lora-ease ♥ 397 · microsoft/OmniParser ♥ 245

Will it fit?

Weights only, an estimate: leave room for the KV cache. Method

Fits a 16 GB card at INT4

About 2.2 GB at INT4, 4.5 GB at FP8, 9.0 GB at BF16: weights only, so leave room for the KV cache.

16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 2.2 GB of weights (estimate; KV cache and activations extra)INT42.2 GBFP8: about 4.5 GB of weights (estimate; KV cache and activations extra)FP84.5 GBBF16: about 9.0 GB of weights (estimate; KV cache and activations extra)BF169.0 GB
16 GB card64 GB Mac2×80 GB8×80 GBINT4: about 2.2 GB of weights (estimate; KV cache and activations extra)INT42.2 GBFP8: about 4.5 GB of weights (estimate; KV cache and activations extra)FP84.5 GBBF16: about 9.0 GB of weights (estimate; KV cache and activations extra)BF169.0 GB

Estimate params × bytes per param × 1.2 · how we estimate

The story so far

Weights, every dated article, and repo commits on one rail.

6 dated articles and 19 repo commits so far

Teal is the weights (2023-02-06), amber triangles are 6 dated articles (each links to it), grey ticks are repo commits.

FebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOct2025-02-03: 1 repo commit2024-11-21: 1 repo commit2024-03-22: 1 repo commit2024-03-20: 1 repo commit2024-01-22: 1 repo commit2023-09-11: 2 repo commits2023-05-24: 1 repo commit2023-03-20: 1 repo commit2023-02-27: 2 repo commits2023-02-10: 2 repo commits2023-02-08: 2 repo commits2023-02-07: 1 repo commit2023-02-06: 3 repo commitsEditAnything: Segment Anything + ControlNet + BLIP2 + Stable Diffusion · 2023-04-10BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models | Krishnatheja Vanka · 2026-07-06Blip-2 · 2023-01-31Blip-2: harvesting development of pretrained vision models for LLM training · 2023-01-31How to accelerate image-text pair generation with BLIP-2 · 2023-05-09Outperforming BLIP2 and Clip Interrogator · 2023-03-21Weights 2023-02-06 · 2023-02-06Weights 2023-02-06now
FebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOctNovDecJanFebMarAprMayJunJulAugSepOct2025-02-03: 1 repo commit2024-11-21: 1 repo commit2024-03-22: 1 repo commit2024-03-20: 1 repo commit2024-01-22: 1 repo commit2023-09-11: 2 repo commits2023-05-24: 1 repo commit2023-03-20: 1 repo commit2023-02-27: 2 repo commits2023-02-10: 2 repo commits2023-02-08: 2 repo commits2023-02-07: 1 repo commit2023-02-06: 3 repo commitsEditAnything: Segment Anything + ControlNet + BLIP2 + Stable Diffusion · 2023-04-10BLIP-2: Bootstrapping Language-Image Pre-training with Frozen Image Encoders and Large Language Models | Krishnatheja Vanka · 2026-07-06Blip-2 · 2023-01-31Blip-2: harvesting development of pretrained vision models for LLM training · 2023-01-31How to accelerate image-text pair generation with BLIP-2 · 2023-05-09Outperforming BLIP2 and Clip Interrogator · 2023-03-21Weights 2023-02-06 · 2023-02-06Weights 2023-02-06now

What people built on it

64 derivatives on the Hub. Which build to run, by runtime: the most downloaded in each class.

64 derivatives on the Hub, most of them adapters

From the Hugging Face model tree; quantized builds in teal, fine-tunes, merges and adapters in greys.

12 fine-tunes (Hugging Face model tree)52 adapters (Hugging Face model tree)12 fine-tunes52 adapters
12 fine-tunes (Hugging Face model tree)52 adapters (Hugging Face model tree)12 fine-tunes52 adapters

All variants →

Reference

Everything else, folded: the full tables, every source.

What the card says

1 cited sentence

Summary generated, cited

The architecture uses a Blip2ForConditionalGeneration structure for tasks such as image captioning and visual question answering.[1][2]

  1. architectures
  2. “image captioning”

Generated 2026-10-07 15:04 UTC by parasail-gemma-4-26b-a4b-it; each numeral points at the fact it rests on. Not a verdict.

Use-case evidence

2 use cases

What it is good at 2 use cases

Labels are evidence, not verdicts: measured a third-party leaderboard row for this model; author-reported a number the model author published in the card or eval files; structural a deterministic signal from the name, config or chat template, or a decision-model estimate. Each chip links to its source. All use cases.

Facts

19 fields

Listed in LLMs

Facts

Pipeline tagimage-text-to-text
Librarytransformers
ArchitecturesBlip2ForConditionalGeneration
Model typeblip-2
Dtypefloat32
Params by dtypeF32: 3,744,761,856
Size bandM
MoEno
Languagesen
PapersarXiv:2301.12597
LicenseMIT (mit)
Hub snapshot2026-10-25

Servability

vLLM · SGLang

Servability

vLLM: supported · Blip2ForConditionalGeneration · 7050ef881ff0835f6890a47db1859a24c65481d6SGLang: not in registry · 773cb938fe9484a8f7e7e46fb1b1fe96412c59ed

vLLM registry (7050ef881ff0835f6890a47db1859a24c65481d6) · SGLang registry (773cb938fe9484a8f7e7e46fb1b1fe96412c59ed) · Matched by architecture class name against each project's registry on main; 'supported' means the architecture is registered, not that this checkpoint was tested.

Hardware fit

3 estimates

Hardware fit ESTIMATE

Weights-only memory for blip2-opt-2.7b: params × bytes/param × 1.2 overhead. KV cache and activations are extra. How this is computed.

BF16 (2 bytes/param)9.0 GB · Single GPU (<24 GB)
FP8 (1 byte/param)4.5 GB · Single GPU (<24 GB)
INT4 (0.5 bytes/param)2.2 GB · Edge (<4 GB)

Weights only (params × bytes/param × 1.2 overhead); KV cache and activations extra.

All variants

40 variants

Lineage

Original model Family: Salesforce/blip2 64 derivatives on the Hub

finetune: 12adapter: 52

Top variants (40 shown, ranked by downloads)

Relation
40 rows
Variant Relation Quant Params Band License Author Likes Downloads
sashakunitsyn/vlrm-blip2-opt-2.7b finetune — 3.74B M mit sashakunitsyn 19 16k
PepPixie/DuskiBlipQuantized adapter — — — — PepPixie 0 819
NouRed/Med-BLIP-2-QLoRA adapter — — — — NouRed 1 746
PepPixie/FurryCaptionQuantized adapter — — — — PepPixie 0 676
Dataseeds/BLIP2-opt-2.7b-DSD-FineTune finetune — — — mit Dataseeds 4 0
advancedcv/blip2-opt-2.7b_Food500Cap_finetuned adapter — — — — advancedcv 0 195
PepPixie/DELETE_ME_SPACEHEATER adapter — — — — PepPixie 0 194
mervezorlu/image-color-model-v1 adapter — — — — mervezorlu 0 160
advancedcv/blip2-opt-2.7b_Food500Cap_finetuned_subset adapter — — — — advancedcv 0 159
Raghad-Hasan/TEA adapter — — — — Raghad-Hasan 0 156
mervezorlu/image-venue-model-v3 adapter — — — — mervezorlu 0 130
Mahmoud-Badr-Zidan/blip2-plant-disease adapter — — — — Mahmoud-Badr-Zidan 0 123
phucd/blip-gqa-ft-trial3 finetune — 3.74B M mit phucd 0 122
sophiayk20/blip-gqa-ft-trial2 finetune — 3.74B M mit sophiayk20 0 120
phucd/blip-gqa-ft-final finetune — 3.74B M mit phucd 0 115
phucd/blip-gqa-ft-trial finetune — 3.74B M mit phucd 0 110
phucd/blip-gqa-ft finetune — 3.74B M mit phucd 0 105
viswakiranvvs/blip2-lora-finetune-2 adapter — — — mit viswakiranvvs 0 105
anonymoussubmission2024/vlrm-blip2-opt-2.7b finetune — 3.74B M mit anonymoussubmission2024 0 91
mervezorlu/image-color-model-v2 adapter — — — — mervezorlu 0 87
kvriza8/blip2-opt-2.7b-AF-3epoch-captions adapter — — — — kvriza8 0 85
phucd/blip-gqa-ft-trial2 finetune — 3.74B M mit phucd 0 82
advancedcv/blip2-opt-2.7b_Food500Cap_finetuned_challenging adapter — — — — advancedcv 0 79
viswakiranvvs/blip2-lora-finetune adapter — — — mit viswakiranvvs 0 77
phucd/blip-gqa-ft2 finetune — 3.74B M mit phucd 0 68
josedonoso/blip2-finetuning-apples-dataset-v2 adapter — — — — josedonoso 0 62
ericwang07/blip-gqa-ft2 finetune — 3.74B M mit ericwang07 0 60
kvriza8/blip2-opt-2.7b-AF-20-epoch-captions adapter — — — — kvriza8 0 59
SeeonQwQ/blip2_frame_v1 adapter — — — — SeeonQwQ 0 56
AnhadMahajan/agrivision-blip2-model adapter — — — apache-2.0 AnhadMahajan 1 0
AnhadMahajan/AgriVision-BLIP2 adapter — — — apache-2.0 AnhadMahajan 1 0
NouRed/Med-BLIP-2-QLoRA-ROCO adapter — — — — NouRed 0 48
ericwang07/blip-gqa-ft-trial2 finetune — 3.74B M mit ericwang07 0 45
JackArr/okvqa_blip2_k_70_6m_mixedbread_run1 adapter — — — — JackArr 0 43
josedonoso/blip2-finetuning-oranges-dataset-v1 adapter — — — — josedonoso 0 40
josedonoso/blip2-finetuning-bananas-dataset-v1 adapter — — — — josedonoso 0 35
JackArr/okvqa_blip2_pure_run2 adapter — — — — JackArr 0 35
JackArr/okvqa_blip2_k_6m_mixedbread_run4 adapter — — — — JackArr 0 35
SeeonQwQ/blip2_frame_v0 adapter — — — — SeeonQwQ 0 33
vlaaa13/blip2-chartqa-finetuned adapter — — — mit vlaaa13 0 32

Repository changelog

19 commits

Repository changelog 19 commits

DateCommitSHA
2025-02-03 Update README.md 59a1ef6
2024-11-21 Update for `transformers` (#38) ec3c346
2024-03-22 Adding `safetensors` variant of this model (#32) 5157266
2024-03-20 Update README.md (#31) 505d34e
2024-01-22 Update README.md (#18) 235c75e
2023-09-11 Update layer norm eps (#14) 6e723d9
2023-09-11 Update README.md 8ccdaf1
2023-05-24 fix cpu example (#6) 1ef7f63
2023-03-20 Update README.md 56e1fe8
2023-02-27 Update README.md ca9e6c2
2023-02-27 Update README.md c3a5f8c
2023-02-10 Update README.md a712fe6
2023-02-10 Update README.md 2fc6e3f
2023-02-08 Upload Blip2ForConditionalGeneration 4565816
2023-02-08 Upload processor 34f5d87
2023-02-07 Create README.md 21bcce5
2023-02-06 Upload Blip2ForConditionalGeneration ee95c28
2023-02-06 Upload processor 69cfab4
2023-02-06 initial commit fec6286

Articles and coverage

14 pieces

Ranked by source signals (HN, Lobsters, authority domains, official posts) and recency. Summaries are generated from a stored copy of the article text; every sentence cites a span of that text, and nothing is shown that failed the citation check.

Analysis8

github.com2023-04-10authorityHN front pageabout the blip2 familyHN 214 pts · 24 comments760 words
EditAnything is an open-source project for editing and generating images using Segment Anything, ControlNet, and Stable Diffusion. It was accepted into the ACM MM demo track in July 2023, with models V0.4 based on Stable Diffusion 1.5/2.1 released in May 2023. The project also includes a new model trained with the LAION dataset.written, reviewed, cited
  • EditAnything operates on any base or lora models without requiring a specific inpainting model.
  • The project supports customized editing by training a DreamBooth model and replacing the base model in sam2edit.py.
  • Training for the model considers using the Adan optimizer.
arxiv.orgauthorityabout the blip2 family7,422 words
BLIP-2 bootstraps vision-language pre-training from frozen encoders and LLMs via a Querying Transformer pre-trained in two stages: representation learning and generative learning. The model outperforms Flamingo80B by 8.7% on zero-shot VQAv2 with 54x fewer trainable parameters and contains 188M parameters in its Q-Former module.written, reviewed, cited
  • BLIP-2 uses in-batch negatives instead of a momentum queue to fit more samples per GPU due to the frozen image encoder.
  • The Q-Former module is initialized with pre-trained BERT base weights while its cross-attention layers are randomly initialized.
  • BLIP-2 employs a unimodal self-attention mask during representation learning to prevent queries and text from seeing each other.
github.comauthorityabout the blip2 family1,530 words
Salesforce's BLIP-2 is a vision-language framework using frozen encoders and LLMs for image captioning and VQA without task-specific training. The Q-Former architecture uses 32 queries × 768 dim to bridge vision and language, while only the Q-Former (~188M parameters) trains instead of large backbones. Multiple LLM backends include OPT (2.7B, 6.7B) and FlanT5 (XL, XXL) for various reasoning needs.written, reviewed, cited
  • The blip2-opt-2.7b model requires approximately 4GB of memory for general captioning and visual question answering tasks.
  • Engineers can reduce memory usage by loading the model with 4-bit quantization using the BitsAndBytesConfig library.
  • The blip2-flan-t5-xxl variant offers the best quality but consumes 13GB of memory compared to the 5GB blip2-flan-t5-xl.
theja-vanka.github.io2026-07-06about the blip2 family3,677 words
BLIP-2 is a vision-language pre-training recipe that achieves strong zero-shot results by keeping a pre-trained image encoder and a pre-trained large language model completely frozen. It trains only a small 188M-parameter bridge module called the Querying Transformer to extract text-relevant visual features and translate them into soft prompts for the LLM. The method outperforms Flamingo80B by 8.7% on zero-shot VQAv2 while training 54x fewer parameters, and pre-training the largest variant takes under 9 days total on a single 16×A100 (40GB) machine.written, reviewed, cited
  • BLIP-2 uses in-batch negatives rather than a momentum queue because the frozen image encoder allows more samples per GPU.
  • The Q-Former is initialized from BERT-base pre-trained weights except for the cross-attention layers which are randomly initialized.
  • Stage 2 uses prefix language-modeling loss for FlanT5 by concatenating visual embeddings with the text prefix before feeding the encoder.
arxiv.org2023-01-31authorityabout the blip2 familyHN 1 pts · 0 comments366 words
BLIP-2 bootstraps vision-language pre-training using frozen image encoders and frozen large language models connected by a lightweight Querying Transformer. The model outperforms Flamingo80B by 8.7% on zero-shot VQAv2 with 54x fewer trainable parameters. It also demonstrates emerging capabilities for zero-shot image-to-text generation following natural language instructions.written, reviewed, cited
github.com2023-01-31authorityabout the blip2 familyHN 2 pts · 0 comments640 words
BLIP-2 bootstraps language-image pre-training using frozen image encoders and large language models to enable zero-shot generation. The model achieves a zero-shot VQAv2 score of 65.0 compared to Flamingo's 56.3 and reaches a NoCaps CIDEr score of 121.6 versus the previous best 113.2. Integration with Hugging Face Transformers allows usage in float16 or int8 quantization via bitsandbytes, which roughly halves the amount of memory required to load the model without performance degradation. Models such as Salesforce/blip2-opt-2.7b are available on the hub.written, reviewed, cited
  • The blip2 architecture supports image-text feature extraction and retrieval tasks.
  • Pre-training stage 1 runs from scratch using the script run_scripts/blip2/train/pretrain_stage1.sh.
  • The model loads in 8-bit precision with load_in_8bit=True and device_map="auto".
proceedings.mlr.pressabout the blip2 family
savrn.com1,625 words

Community2

labelbox.com2023-05-09about the blip2 familyHN 1 pts · 1 comments
twitter.com2023-03-21about the blip2 familyHN 2 pts · 0 comments
All coverage tracked for this model (14) — append-only, nothing is ever removed

Papers

1 paper

Papers 1

arXiv links found in the model card and its tags. "Peer-reviewed" is shown only with evidence: a published venue in OpenAlex (measured) or the authors' own journal reference on arXiv (reported).

Similar models

3 models

Similar models

  • Qwen2.5-VL-3B-Instruct · 3.75B
    same size band (M), same task (image-text-to-text), more providers
  • gemma-3-4b-it · 4.30B
    same size band (M), same task (image-text-to-text), more providers
  • LocateAnything-3B · 3.83B
    same size band (M), same task (image-text-to-text)

Sources

3 sources

Sources

Hub snapshot: 2026-10-25 · HF API: 2026-10-24 21:36 UTC · Providers: 2026-10-24 21:44 UTC · Articles: 2026-10-24 21:45 UTC · Summary: 2026-10-07 15:04 UTC · Last verified 2026-10-25

Follow blip2-opt-2.7b

Watch this model

Email alerts are not open yet; the feeds above are the same data. See feeds for the item schema.