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
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

AdamLucek
/
static-retrieval-mrl-MBERT-base-en-v1

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

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

  • Libraries
  • sentence-transformers

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

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("AdamLucek/static-retrieval-mrl-MBERT-base-en-v1")
    
    sentences = [
        "how to sign legal documents as power of attorney?",
        "After the principal's name, write “by” and then sign your own name. Under or after the signature line, indicate your status as POA by including any of the following identifiers: as POA, as Agent, as Attorney in Fact or as Power of Attorney.",
        "Most earthquakes occur along the edge of the oceanic and continental plates. The earth's crust (the outer layer of the planet) is made up of several pieces, called plates. The plates under the oceans are called oceanic plates and the rest are continental plates.",
        "Go to System -> VDOM -> VDOM2 and select 'Delete'. This VDOM is now successfully removed from the configuration."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
static-retrieval-mrl-MBERT-base-en-v1 / 0_StaticEmbedding
210 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
AdamLucek's picture
AdamLucek
Add new SentenceTransformer model
67ff489 verified about 1 year ago
  • model.safetensors
    206 MB
    xet
    Add new SentenceTransformer model about 1 year ago
  • tokenizer.json
    3.58 MB
    Add new SentenceTransformer model about 1 year ago