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
210 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
AdamLucek's picture
AdamLucek
Upload config.json
5da211d verified about 1 year ago
  • 0_StaticEmbedding
    Add new SentenceTransformer model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    475 kB
    Upload README.md about 1 year ago
  • config.json
    217 Bytes
    Upload config.json about 1 year ago
  • config_sentence_transformers.json
    217 Bytes
    Add new SentenceTransformer model about 1 year ago
  • modules.json
    134 Bytes
    Add new SentenceTransformer model about 1 year ago