Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

llm-semantic-router
/
multi-modal-embed-small

Sentence Similarity
Transformers
ONNX
Safetensors
sentence-transformers
English
multimodal
embeddings
image-text
audio-text
retrieval
2DMSE
matryoshka
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use llm-semantic-router/multi-modal-embed-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use llm-semantic-router/multi-modal-embed-small with Transformers:

    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("llm-semantic-router/multi-modal-embed-small", dtype="auto")
  • sentence-transformers

    How to use llm-semantic-router/multi-modal-embed-small with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("llm-semantic-router/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]
  • Notebooks
  • Google Colab
  • Kaggle
multi-modal-embed-small
2.83 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 19 commits
HuaminChen's picture
HuaminChen
Mirror onnx/special_tokens_map.json to repo root for standalone loaders
fdf8e01 verified 1 day ago
  • onnx
    Upload folder using huggingface_hub 2 months ago
  • .gitattributes
    1.65 kB
    Upload folder using huggingface_hub 2 months ago
  • README.md
    11.5 kB
    Fix standalone model loading code - verified to work 3 months ago
  • config.json
    283 Bytes
    Update model with audio-text alignment (Stage 5: R@1=36.38%) 3 months ago
  • model.pt

    Detected Pickle imports (3)

    • "torch.FloatStorage",
    • "collections.OrderedDict",
    • "torch._utils._rebuild_tensor_v2"

    What is a pickle import?

    976 MB
    xet
    Update model with audio-text alignment (Stage 5: R@1=36.38%) 3 months ago
  • model.safetensors
    1.35 GB
    xet
    Update model.safetensors with Stage 5 audio-aligned weights 3 months ago
  • special_tokens_map.json
    695 Bytes
    Mirror onnx/special_tokens_map.json to repo root for standalone loaders 1 day ago
  • tokenizer.json
    712 kB
    Add root tokenizer.json mirror for standalone loaders 1 day ago
  • tokenizer_config.json
    1.46 kB
    Mirror onnx/tokenizer_config.json to repo root for standalone loaders 1 day ago