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

  • Log In
  • Sign Up

intfloat
/
multilingual-e5-base

Sentence Similarity
sentence-transformers
PyTorch
ONNX
Safetensors
OpenVINO
xlm-roberta
mteb
Sentence Transformers
Eval Results (legacy)
Eval Results
text-embeddings-inference
Model card Files Files and versions
xet
Community
31

Instructions to use intfloat/multilingual-e5-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use intfloat/multilingual-e5-base with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("intfloat/multilingual-e5-base")
    
    sentences = [
        "The weather is lovely today.",
        "It's so sunny outside!",
        "He drove to the stadium."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [3, 3]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
multilingual-e5-base
3.38 GB
Ctrl+K
Ctrl+K
  • 6 contributors
History: 11 commits
romaindeveaud's picture
romaindeveaud
Adding ONNX file of this model
7d87603 over 2 years ago
  • 1_Pooling
    sentence transformers (#5) almost 3 years ago
  • onnx
    Adding ONNX file of this model over 2 years ago
  • .gitattributes
    1.53 kB
    track tokenizer.json with lfs almost 3 years ago
  • README.md
    179 kB
    Update README.md over 2 years ago
  • config.json
    694 Bytes
    upload model weights almost 3 years ago
  • model.safetensors
    1.11 GB
    xet
    Adding `safetensors` variant of this model (#6) almost 3 years ago
  • modules.json
    387 Bytes
    sentence transformers (#5) almost 3 years ago
  • pytorch_model.bin

    Detected Pickle imports (4)

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

    What is a pickle import?

    1.11 GB
    xet
    upload model weights almost 3 years ago
  • sentence_bert_config.json
    57 Bytes
    sentence transformers (#5) almost 3 years ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    upload model weights almost 3 years ago
  • special_tokens_map.json
    280 Bytes
    upload model weights almost 3 years ago
  • tokenizer.json
    17.1 MB
    xet
    track tokenizer.json with lfs almost 3 years ago
  • tokenizer_config.json
    418 Bytes
    upload model weights almost 3 years ago