Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

sentence-transformers
/
static-retrieval-mrl-en-v1

Sentence Similarity
sentence-transformers
ONNX
Safetensors
English
feature-extraction
Generated from Trainer
dataset_size:80543469
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Model card Files Files and versions
xet
Community
4

Instructions to use sentence-transformers/static-retrieval-mrl-en-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use sentence-transformers/static-retrieval-mrl-en-v1 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("sentence-transformers/static-retrieval-mrl-en-v1")
    
    sentences = [
        "What was the Office of Foods in charge of?",
        "This area, stretching northward from the centrally located Great Hall of State, is believed to have been the site of the Office of Foods. This office stocked foods other than the rice that was paid as tax, and was in charge of providing meals for state banquets and rituals held in the palace.",
        "In 2002, Barclay Records, then as part of Universal Music France, released a digitally remastered version of the original vinyl in CD and in 10\" (25 cm) vinyl record (LP), under the same name, as part of a compilation containing re-releases of all of Dalida's studio albums recorded under the Barclay label. The album was again re-released in 2005.",
        "Kevin Jon Davies is a British television and video director primarily associated with documentaries and spin-off videos associated with \"Doctor Who\", \"The Hitchhiker's Guide to the Galaxy\" and \"Blake's 7\". He also worked on the BAFTA award-winning animation sequences of the 1981 \"Hitchhiker's Guide\" television adaptation."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
static-retrieval-mrl-en-v1
721 MB
Ctrl+K
Ctrl+K
  • 3 contributors
History: 21 commits
tomaarsen's picture
tomaarsen HF Staff
Xenova's picture
Xenova HF Staff
Upload ONNX weights (#2)
f60985c verified over 1 year ago
  • 0_StaticEmbedding
    Add new SentenceTransformer model over 1 year ago
  • img
    Update figures with clearer ones over 1 year ago
  • onnx
    Upload ONNX weights (#2) over 1 year ago
  • .gitattributes
    1.52 kB
    initial commit over 1 year ago
  • README.md
    670 kB
    Link to the blogpost over 1 year ago
  • config_sentence_transformers.json
    226 Bytes
    Update the min. ST version over 1 year ago
  • modules.json
    141 Bytes
    Add new SentenceTransformer model over 1 year ago
  • train.py
    11 kB
    Clarify why we call quit() over 1 year ago