Text Ranking
sentence-transformers
Safetensors
English
qwen3
finance
legal
code
stem
medical
custom_code
Instructions to use zeroentropy/zerank-1-small-reranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use zeroentropy/zerank-1-small-reranker with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("zeroentropy/zerank-1-small-reranker", trust_remote_code=True) 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
Commit History
-
Add Sentence Transformers library_name
Verified signatureHello! ## Preface Congratulations on the release, I missed this when it was originally published! The scores look very impressive - do you want to share your rough training approach? I'm pretty curious. ## Details I added the Sentence Transformers library_name, to make it easier for users to find this model when searching for a Sentence Transformers-compatible reranker here: https://huggingface.co/models?pipeline_tag=text-ranking&library=sentence-transformers&sort=trending - Tom Aarsenfcda9b1 -
Update README.md
Verified signatured414210 -
Update README.md
Verified signature1972d8f -
Update README.md
Verified signature94cf687
-
Update README.md
Verified signaturea25b32d -
Update README.md
Verified signature86b3b93 -
Update README.md
Verified signature4cce56e -
Update README.md
Verified signature69a84c4 -
Create README.md
Verified signature0712a97 -
Upload folder using huggingface_hub
Verified signatureab15147
-
initial commit
Verified signature1506275