Text Classification
sentence-transformers
PyTorch
ONNX
Safetensors
English
Chinese
xlm-roberta
mteb
text-embeddings-inference
Eval Results (legacy)
Instructions to use BAAI/bge-reranker-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use BAAI/bge-reranker-base with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("BAAI/bge-reranker-base") 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] - Inference
- Notebooks
- Google Colab
- Kaggle
How to deploy it to get the fastest qps?
#10
by loovelj2 - opened
I want to deploy this model now, and I want to ask what is the fastest way to deploy inference,Triton or TGI or ONNX? It is better to use docker
Sorry, we have not conducted specific efficiency tests across different tools. You may refer to some materials available within open-source communities, e.g., https://github.com/huggingface/text-embeddings-inference