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

BAAI
/
bge-m3

Sentence Similarity
sentence-transformers
PyTorch
ONNX
xlm-roberta
feature-extraction
Eval Results
text-embeddings-inference
Model card Files Files and versions
xet
Community
144

Instructions to use BAAI/bge-m3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use BAAI/bge-m3 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("BAAI/bge-m3")
    
    sentences = [
        "That is a happy person",
        "That is a happy dog",
        "That is a very happy person",
        "Today is a sunny day"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bge-m3 / imgs
1.99 MB
Ctrl+K
Ctrl+K
  • 4 contributors
History: 7 commits
Shitao's picture
Shitao
Update MIRACL evaluation results of BGE-M3 (#67)
5617a9f verified almost 2 years ago
  • .DS_Store
    6.15 kB
    Upload 5 files over 2 years ago
  • bm25.jpg
    132 kB
    Update MIRACL evaluation results of BGE-M3 (#67) almost 2 years ago
  • long.jpg
    485 kB
    Upload 5 files over 2 years ago
  • miracl.jpg
    576 kB
    Update MIRACL evaluation results of BGE-M3 (#67) almost 2 years ago
  • mkqa.jpg
    608 kB
    Upload 5 files over 2 years ago
  • nqa.jpg
    158 kB
    Upload 5 files over 2 years ago
  • others.webp
    21 kB
    Upload others.webp about 2 years ago