Description
Mistral Multimodal Embed, also known as Clipstral, is an advanced open-weight dual encoder model developed by Mistral AI. With 1.24 billion parameters, this model is designed to embed diverse data types—images, videos, and multilingual text—into a single, unified 1,024-dimensional embedding space. This shared representation ensures that semantically related text and visual content are positioned closely together, facilitating highly effective cross-modal retrieval and classification tasks.
Read More
The model's architecture is optimized for efficiency and performance. It features a vision transformer that processes images at their native resolution and aspect ratio, maintaining accuracy across a wide range of sizes from 224 to 1036 pixels. For video content, a lightweight spatio-temporal encoder jointly attends to patch tokens from multiple frames (16 frames per clip during training and evaluation), enabling robust video understanding. The text tower is equipped with a 131k-entry multilingual tokenizer and supports long text inputs without a fixed context limit, making it versatile for global applications.
Mistral Multimodal Embed is compact and fast, with its 1.24B parameters allowing for efficient indexing of large image and video collections on a single NVIDIA H100 GPU. The repository provides a self-contained package, including weights, tokenizer, image processor, and custom inference code. Additional resources like a Gradio demo, an example notebook, and media files are available on its GitHub repository.
Performance benchmarks demonstrate Clipstral's competitive capabilities. When compared against 13 other open-weight encoders up to 4B parameters, it emerged as the best image and video retriever and ranked second in image and video classification. It also excels in focused evaluations, achieving the highest mean R@1 for long-caption retrieval and multilingual retrieval among models up to 4B parameters. Furthermore, the model exhibits strong resolution robustness, maintaining consistent performance across varying pixel dimensions, unlike many other models that show significant accuracy drops.
Installation is straightforward, with the package tested on Python 3.13 and various versions of the Transformers library. It supports both CPU (float32) and NVIDIA GPU (bfloat16) environments. The model code loads with `trust_remote_code=True`, and quick start snippets are provided for embedding data. The default `keep_ratio` transform preserves image aspect ratios, and all returned features are L2-normalized 1,024-dimensional float32 tensors, allowing dot products to represent cosine similarity. The model is suitable for natural images and videos, with specific limitations for very long videos and mixed inputs, and is not intended for documents, OCR-heavy content, or code.
- CategoryAI Models & LLMs
- Pricing ModelOpen source
- DeploymentCloud
- PlatformsHugging Face
Mistral Multimodal Embed Highlights
Dual encoder for images, videos, and multilingual text
Embeds content into a shared 1,024-dimensional space
Supports text-to-image and text-to-video search
Enables visual search with image or video queries
Performs zero-shot image and video classification
Facilitates dataset curation, including deduplication and filtering
Processes images at native resolution and aspect ratio (224 to 1036 px)
Lightweight spatio-temporal encoder for video processing (16 frames per clip)
Text tower with 131k-entry multilingual tokenizer
No fixed context limit for long text inputs
Compact 1.24B parameters for efficient indexing
Self-contained package with weights, tokenizer, and image processor
Gradio demo and example notebook available on GitHub
Consistent performance across varying resolutions
Apache License 2.0
Getting Started with Mistral Multimodal Embed
Access Model: Download the model package from Hugging Face or clone the GitHub repository.
Set Up Environment: Install Python 3.13 and the required `transformers` library versions. Use `uv` for dependency management.
Load Model: Import the model and processor using `AutoModel` and `AutoImageProcessor` with `trust_remote_code=True`.
Prepare Inputs: Decode images and videos (e.g., with OpenCV for videos) and prepare text inputs.
Generate Embeddings: Pass your prepared images, videos, or text to the model's processor to obtain 1,024-dimensional L2-normalized float32 embeddings.
Utilize Embeddings: Apply dot products to compare embeddings for similarity in retrieval or classification tasks.
Run Demos: Execute the Gradio app (`app.py`) for interactive search and classification, or explore the example notebook (`example.ipynb`).
Mistral Multimodal Embed's Use Cases
- Text-to-Image Search
- Text-to-Video Search
- Visual Search
- Zero-Shot Classification
- Dataset Deduplication
- Mismatched Pair Filtering
- Multilingual Content Retrieval
- Content Understanding







