What problem does it solve? Applying vision-language models like BLIP-2 requires navigating model variants, memory constraints, and preprocessing details. This Skill provides working code patterns for image captioning, visual question answering, and image-text retrieval without trial-and-error setup. ## Core Features & Use Cases - Image Captioning & VQA: Generate natural-language captions and answer questions about images using HuggingFace Transformers or the LAVIS library with OPT and FlanT5 backends. - Memory Optimization: Apply INT8/INT4 quantization, batch processing, and generation controls to fit models from 3GB to 26GB VRAM budgets. - Fine-tuning & Deployment: LoRA fine-tuning, multi-GPU training, Gradio/FastAPI serving, and ONNX export covered in the references. - Use Case: Build a visual Q&A system where a user uploads a photo and asks multiple questions like "What objects are present?" using the blip2-flan-t5-xl model on a single GPU. ## Quick Start Use the BLIP-2 skill to generate a caption for my image file photo.jpg with the blip2-opt-2.7b model.