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

metarank
/
ce-msmarco-MiniLM-L6-v2

Feature Extraction
sentence-transformers
ONNX
English
bert
sentence-similarity
Model card Files Files and versions
xet
Community
1

Instructions to use metarank/ce-msmarco-MiniLM-L6-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use metarank/ce-msmarco-MiniLM-L6-v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("metarank/ce-msmarco-MiniLM-L6-v2")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
ce-msmarco-MiniLM-L6-v2 / export
91 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 1 commit
shuttie's picture
shuttie
add tokenizer.json
8140e9c almost 3 years ago
  • model.onnx
    91 MB
    xet
    add tokenizer.json almost 3 years ago