Skip to content

Vision-language framework that bridges frozen image encoders and LLMs for captioning, VQA, and retrieval.

CCM score
57 of 100
skills.sh installs
1.1K
GitHub stars
14.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers image captioning, visual question answering, image-text retrieval, and multimodal chat with zero-shot inference
  • Lists four variants: blip2-opt-2.7b, blip2-opt-6.7b, blip2-flan-t5-xl, and blip2-flan-t5-xxl, spanning OPT and FlanT5 backends
  • Trains only the roughly 188M-parameter Q-Former while keeping the vision encoder and LLM frozen, with 8-bit and 4-bit quantization options
  • Designed for teams that need zero-shot vision-language understanding through Transformers or the Salesforce LAVIS library

Install

$ npx -y skills add orchestra-research/ai-research-skills --skill blip-2-vision-language -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

BLIP-2: Vision-Language Pre-training

Comprehensive guide to using Salesforce's BLIP-2 for vision-language tasks with frozen image encoders and large language models.

When to use BLIP-2

Use BLIP-2 when:

  • Need high-quality image captioning with natural descriptions
  • Building visual question answering (VQA) systems
  • Require zero-shot image-text understanding without task-specific training
  • Want to leverage LLM reasoning for visual tasks
  • Building multimodal conversational AI
  • Need image-text retrieval or matching

Key features:

  • Q-Former architecture: Lightweight query transformer bridges vision and language
  • Frozen backbone efficiency: No need to fine-tune large vision/language models
  • Multiple LLM backends: OPT (2.7B, 6.7B) and FlanT5 (XL, XXL)
  • Zero-shot capabilities: Strong performance without task-specific training
  • Efficient training: Only trains Q-Former (~188M parameters)
  • State-of-the-art results: Beats larger models on VQA benchmarks

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI Agents & LLM Apps, Research & Academic, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the blip-2-vision-language skill do?

The blip-2-vision-language skill guides an agent through Salesforce's BLIP-2 vision-language framework, which pairs frozen image encoders with large language models. It covers image captioning, visual question answering, image-text retrieval and multimodal chat with zero-shot performance.

How do I install the blip-2-vision-language skill?

Run npx -y skills add orchestra-research/ai-research-skills --skill blip-2-vision-language -y in a project to install it. Once installed, the blip-2-vision-language skill lets the agent write code that loads BLIP-2 models and generates captions or answers questions about images.

Which BLIP-2 models does the blip-2-vision-language skill cover?

The blip-2-vision-language skill covers BLIP-2 variants built on OPT at 2.7B and 6.7B sizes and on FlanT5 at XL and XXL sizes. It also describes 8-bit and 4-bit quantization to reduce memory use when loading these models.

What do I need to use the blip-2-vision-language skill?

The blip-2-vision-language skill relies on transformers 4.30.0 or newer, torch 1.10.0 or newer and Pillow, and it can also use the LAVIS library from Salesforce. A GPU is assumed in its examples, though CPU is supported in the LAVIS example.

More from orchestra-research/ai-research-skills

All 92

Similar to Blip 2 Vision Language

More AI Agents & LLM Apps