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

thomasht86
/
bge-m3-onnx

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

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

  • Libraries
  • sentence-transformers

    How to use thomasht86/bge-m3-onnx with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("thomasht86/bge-m3-onnx")
    
    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]
  • Notebooks
  • Google Colab
  • Kaggle
bge-m3-onnx
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
thomasht86's picture
thomasht86
Add exported onnx model 'model_O3.onnx'
73a51da verified about 1 year ago
  • 1_Pooling
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • onnx
    Add exported onnx model 'model_O3.onnx' about 1 year ago
  • .gitattributes
    1.63 kB
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • README.md
    15.8 kB
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • config.json
    698 Bytes
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • config_sentence_transformers.json
    205 Bytes
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • sentence_bert_config.json
    54 Bytes
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • sentencepiece.bpe.model
    5.07 MB
    xet
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • tokenizer.json
    17.1 MB
    xet
    Add new SentenceTransformer model with an onnx backend about 1 year ago
  • tokenizer_config.json
    1.2 kB
    Add new SentenceTransformer model with an onnx backend about 1 year ago