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 input multi value
#13
by TtKkk - opened
i want to rerank "hi","hello" and "hi", "what's the weather like" . how to input mutlti value in one request.
i don't know the input format, please give me an instance, thanks.
i use text classification endpoint. send http request
TtKkk changed discussion status to closed
TtKkk changed discussion status to open
Sorry, I also don't know how Aliyun operates.



