Instructions to use tiny-random/mistral-multimodal-embed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tiny-random/mistral-multimodal-embed with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="tiny-random/mistral-multimodal-embed", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tiny-random/mistral-multimodal-embed", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download config.json from tiny-random/mistral-multimodal-embed: direct link, hf CLI and curl.
- Browser
- Download file 1.09 kB
-
https://huggingface.co/tiny-random/mistral-multimodal-embed/resolve/main/config.json
- Command line
-
hf download hf://tiny-random/mistral-multimodal-embed/config.json
-
curl -L -o config.json https://huggingface.co/tiny-random/mistral-multimodal-embed/resolve/main/config.json
1.09 kB
| { | |
| "auto_map": { | |
| "AutoConfig": "configuration_mistral_contrastive.MistralContrastiveConfig", | |
| "AutoImageProcessor": "image_processing_mistral_contrastive.MistralContrastiveImageProcessor", | |
| "AutoModel": "modeling_mistral_contrastive.MistralContrastiveModel" | |
| }, | |
| "eos_token_id": 2, | |
| "ln_pre": true, | |
| "logit_scale_init": 2.659260036932778, | |
| "model_type": "mistral_contrastive", | |
| "num_channels": 3, | |
| "patch_size": 14, | |
| "projection_dim": 1024, | |
| "spatial_merge_size": 2, | |
| "temporal_mlp_ratio": 4, | |
| "temporal_num_attention_heads": 2, | |
| "temporal_num_hidden_layers": 4, | |
| "temporal_rope_theta": 10000.0, | |
| "text_dim": 64, | |
| "text_head_dim": 32, | |
| "text_intermediate_size": 256, | |
| "text_norm_eps": 1e-05, | |
| "text_num_attention_heads": 2, | |
| "text_num_hidden_layers": 4, | |
| "text_rope_theta": 1000000.0, | |
| "text_vocab_size": 131072, | |
| "transformers_version": "5.8.0", | |
| "vision_dim": 64, | |
| "vision_head_dim": 32, | |
| "vision_intermediate_size": 256, | |
| "vision_norm_eps": 1e-05, | |
| "vision_num_attention_heads": 2, | |
| "vision_num_hidden_layers": 4, | |
| "vision_rope_theta": 10000.0 | |
| } | |