BLIP-2 bridges frozen vision encoders with large language models through a lightweight Q-Former architecture, giving you high-quality image captioning and visual question answering without the overhead of fine-tuning massive models. You get state-of-the-art zero-shot performance by only training ~188M parameters while keeping the ViT and LLM frozen. It comes in OPT and FlanT5 variants from 2.7B to XXL, with the transformers library making it straightforward to load and run. The architecture is clever: learned queries cross-attend to image features, then feed into the frozen LLM for generation. If you need instruction-following specifically, InstructBLIP is the newer successor, but BLIP-2 remains solid for straightforward captioning and VQA tasks where you want LLM-quality reasoning about images.

skills.sh installs
1K
GitHub stars
14.4K
last updated
Aug 21, 2026

Install

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

Installs into .claude/skills of the current project.

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

Sponsors

Details

Repository
github.com/orchestra-research/ai-research-skills
Categories
AI & Agent Building, Data Science & ML, Debugging, Design & UI/UX
First seen
Jun 3, 2026

More from orchestra-research/ai-research-skills

All 95
1orchestra-research avatarnemo-evaluator-sdkorchestra-research/ai-research-skillsEvaluates LLMs across 100+ benchmarks from 18+ harnesses (MMLU, HumanEval, GSM8K, safety, VLM) with multi-backend execution. Use when needing scalable evaluatio1Kskills.sh installs
2humanizerai avatardetect-aihumanizerai/agent-skillsAnalyze text to detect if it was written by AI. Returns a score from 0-100 with detailed metrics. Use when checking content before publishing or submitting.999skills.sh installs
3timescale avatarpgvector-semantic-searchtimescale/pg-aiguideUse this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. **Trigger when user asks to:** 991skills.sh installs
4astronomer avatarairflow-hitlastronomer/agentsBuilds human-in-the-loop (HITL) Airflow workflows - approval gates, form input, and human-driven branching. Use when a DAG needs a human in the loop - an approv980skills.sh installs
5microsoft avatarfile-test-bugmicrosoft/github-copilot-for-azureFile a GitHub issue for local integration test failures. TRIGGERS: file test bug, report test failure, create bug for test, integration test failed, test failur978skills.sh installs
6adobe avatarmigrationadobe/skillsMigrates legacy AEM (6.x, AMS, on-prem) to AEM as a Cloud Service using BPA CSV or cache, CAM/MCP target discovery, and a one-pattern-per-session workflow. Use 958skills.sh installs