Multimodal Context Window
Overview
A multimodal context window is a mechanism that allows a model to consider information from different modalities (text, images, audio, video) within a single request. This extends the classical context window, where data is transformed into a unified vector space.
Features
- Each modality is encoded by its own encoder (e.g., CLIP for images, Whisper for audio).
- Embeddings from different modalities are projected into a common space.
- The model's attention can connect tokens from different modalities.
- The window size is limited by the total number of tokens from all modalities.
Example
Query: [image of a cat] + "Describe the breed and suggest a name."
Model: "In the image, a British Shorthair. Suggested name: Puss."