AI engineering glossary · Generative media multimodal

What is Q-Former?

Q-Former: A lightweight transformer introduced with BLIP-2 that uses a fixed set of learnable query vectors to pull the most useful information out of a frozen image encoder and pass it to a language model.

Level: advancedTopic: Generative media multimodal

Q-Former: an example

32 learnable queries condense hundreds of patch features into 32 vectors for the language model.

Related terms

More Generative media multimodal terms

Where you learn it

Q-Former is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.