What BLIP-2 adds
BLIP-2 bridges the modality gap between vision and language models by adding a lightweight Querying Transformer (Q-Former) between an off-the-shelf frozen pre-trained image encoder and a frozen large language model. [1]
What is trainable
Q-Former is the only trainable part of BLIP-2; both the image encoder and language model remain frozen. [2]
Sources
- The Hugging Face source says: BLIP-2 bridges the modality gap between vision and language models by adding a lightweight Querying Transformer (Q-Former) between an off-the-shelf frozen pre-trained image encoder and a frozen large language model. Zero-shot image-to-text generation with BLIP-2
- The Hugging Face source says: Q-Former is the only trainable part of BLIP-2; both the image encoder and language model remain frozen. Zero-shot image-to-text generation with BLIP-2