ONNX Model Zoo

Qdrant/bge-large-en-v1.5-onnx

By Qdrant · ↓ 18K · ♥ 1 · Updated 2024-07-15

What's in this repo

This page lists the files in Qdrant/bge-large-en-v1.5-onnx, including model.onnx.

  • 1 ONNX models (.onnx files)
  • 8 files, including 4 .json, 1 .md, 1 .onnx, 1 .txt
  • Repository size ~1.2 GB
  • Last updated 2024-07-15

ONNX files

File Size Download
model.onnx 1.2 GB Download

How to use

These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.

README

ONNX port of BAAI/bge-large-en-v1.5 for text classification and similarity searches.

Usage

Here's an example of performing inference using the model with FastEmbed.

from fastembed import TextEmbedding

documents = [
    "You should stay, study and sprint.",
    "History can only prepare us to be surprised yet again.",
]

model = TextEmbedding(model_name="BAAI/bge-large-en-v1.5")
embeddings = list(model.embed(documents))

# [
#     array([1.96449570e-02, 1.60677675e-02, 4.10149433e-02...]),
#     array([-1.56669170e-02, -1.66313536e-02, -6.84525725e-03...])
# ]

Model info

sentence-similarity transformers
transformers onnx bert feature-extraction sentence-similarity license:apache-2.0 text-embeddings-inference endpoints_compatible region:us
↓ 18K ♥ 1

Created: 2024-01-16

Updated: 2024-07-15

View on Hugging Face

Files (8)

.gitattributes
README.md
config.json
model.onnx 1.2 GB ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json
vocab.txt

Related models