Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • 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

BAAI
/
bge-reranker-large

Feature Extraction
Transformers
PyTorch
ONNX
Safetensors
English
Chinese
xlm-roberta
text-classification
mteb
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community
29

Instructions to use BAAI/bge-reranker-large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use BAAI/bge-reranker-large with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("feature-extraction", model="BAAI/bge-reranker-large")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("BAAI/bge-reranker-large")
    model = AutoModelForSequenceClassification.from_pretrained("BAAI/bge-reranker-large", device_map="auto")
  • Inference
  • Notebooks
  • Google Colab
  • Kaggle
bge-reranker-large / onnx
2.24 GB
Ctrl+K
Ctrl+K
  • 5 contributors
History: 1 commit
Shitao's picture
Shitao
michaelfeil's picture
michaelfeil
Adding Onnx Support (#12)
ce2a0d1 verified almost 3 years ago
  • model.onnx
    618 kB
    xet
    Adding Onnx Support (#12) almost 3 years ago
  • model.onnx_data
    2.24 GB
    xet
    Adding Onnx Support (#12) almost 3 years ago