Feature Extraction
Transformers
Safetensors
mistral_contrastive
video-text-retrieval
text-to-video-retrieval
image-text-retrieval
zero-shot-classification
contrastive
embeddings
multilingual
custom_code
Instructions to use mistralai/Mistral-Multimodal-Embed-1B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mistralai/Mistral-Multimodal-Embed-1B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mistralai/Mistral-Multimodal-Embed-1B", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mistralai/Mistral-Multimodal-Embed-1B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download processor_config.json from mistralai/Mistral-Multimodal-Embed-1B: direct link, hf CLI and curl.
- Browser
- Download file 455 Bytes
-
https://huggingface.co/mistralai/Mistral-Multimodal-Embed-1B/resolve/refs%2Fpr%2F2/processor_config.json
- Command line
-
hf download hf://mistralai/Mistral-Multimodal-Embed-1B@refs/pr/2/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/mistralai/Mistral-Multimodal-Embed-1B/resolve/refs%2Fpr%2F2/processor_config.json
455 Bytes
| { | |
| "processor_class": "MistralContrastiveProcessor", | |
| "auto_map": { | |
| "AutoProcessor": "processing_mistral_contrastive.MistralContrastiveProcessor" | |
| }, | |
| "video_processor": { | |
| "auto_map": { | |
| "AutoVideoProcessor": "processing_mistral_contrastive.MistralContrastiveVideoProcessor" | |
| }, | |
| "video_processor_type": "MistralContrastiveVideoProcessor", | |
| "do_sample_frames": true, | |
| "num_frames": 16, | |
| "size": {"longest_edge": 224} | |
| } | |
| } | |