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
Update model metadata to set pipeline tag to the new `text-ranking`
#24
by tomaarsen HF Staff - opened
Hello!
Pull Request overview
- Update metadata to set pipeline tag to the new
text-ranking
Changes
This is an automated pull request to update the metadata of the model card. We recently introduced the text-ranking pipeline tag for models that are used for ranking tasks, and we have a suspicion that this model is one of them.
Feel free to respond if you have questions or concerns.
- Tom Aarsen