Sentence Similarity
Transformers
ONNX
Safetensors
sentence-transformers
English
multimodal
embeddings
image-text
audio-text
retrieval
2DMSE
matryoshka
Eval Results (legacy)
Instructions to use vllm-sr/multi-modal-embed-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vllm-sr/multi-modal-embed-small with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("vllm-sr/multi-modal-embed-small", device_map="auto") - sentence-transformers
How to use vllm-sr/multi-modal-embed-small with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("vllm-sr/multi-modal-embed-small") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Inference
- Notebooks
- Google Colab
- Kaggle
Fix total parameter count: ~120M not ~250M
Browse files
README.md
CHANGED
|
@@ -54,7 +54,7 @@ A compact multimodal embedding model that unifies text, image, and audio represe
|
|
| 54 |
|
| 55 |
## Model Description
|
| 56 |
|
| 57 |
-
**multi-modal-embed-small** is a lightweight multimodal encoder (~
|
| 58 |
|
| 59 |
- **Text encoding** via MiniLM-L6-v2 (22M params)
|
| 60 |
- **Image encoding** via SigLIP-base-patch16-512 (86M params)
|
|
|
|
| 54 |
|
| 55 |
## Model Description
|
| 56 |
|
| 57 |
+
**multi-modal-embed-small** is a lightweight multimodal encoder (~120M parameters) supporting:
|
| 58 |
|
| 59 |
- **Text encoding** via MiniLM-L6-v2 (22M params)
|
| 60 |
- **Image encoding** via SigLIP-base-patch16-512 (86M params)
|