Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

thebajajra
/
RexReranker-base

Text Ranking
sentence-transformers
Safetensors
English
modernbert
ecommerce
e-commerce
retail
marketplace
shopping
amazon
ebay
alibaba
google
rakuten
bestbuy
walmart
flipkart
wayfair
shein
target
etsy
shopify
taobao
asos
carrefour
costco
overstock
pretraining
encoder
language-modeling
foundation-model
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use thebajajra/RexReranker-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use thebajajra/RexReranker-base with sentence-transformers:

    from sentence_transformers import CrossEncoder
    
    model = CrossEncoder("thebajajra/RexReranker-base")
    
    query = "Which planet is known as the Red Planet?"
    passages = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    	"Saturn, famous for its rings, is sometimes mistaken for the Red Planet."
    ]
    
    scores = model.predict([(query, passage) for passage in passages])
    print(scores)
  • Notebooks
  • Google Colab
  • Kaggle
RexReranker-base
Ctrl+K
Ctrl+K
  • 1 contributor
History: 9 commits
thebajajra's picture
thebajajra
Update README.md
f187e43 verified 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 4 months ago
  • README.md
    5.3 kB
    Update README.md 3 months ago
  • config.json
    1.34 kB
    Upload folder using huggingface_hub 4 months ago
  • model.safetensors
    299 MB
    xet
    Upload folder using huggingface_hub 4 months ago
  • modeling_rex_reranker.py
    8.22 kB
    Upload folder using huggingface_hub 4 months ago
  • reranker_config.json
    50 Bytes
    Upload folder using huggingface_hub 4 months ago
  • special_tokens_map.json
    694 Bytes
    Upload folder using huggingface_hub 4 months ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub 4 months ago
  • tokenizer_config.json
    20.8 kB
    Upload folder using huggingface_hub 4 months ago
  • training_metadata.json
    269 Bytes
    Upload folder using huggingface_hub 4 months ago
  • utils.py
    4.85 kB
    Upload folder using huggingface_hub 4 months ago