Instructions to use intfloat/simlm-msmarco-reranker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use intfloat/simlm-msmarco-reranker with sentence-transformers:
from sentence_transformers import CrossEncoder model = CrossEncoder("intfloat/simlm-msmarco-reranker") 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
Download pytorch_model.bin from intfloat/simlm-msmarco-reranker: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/intfloat/simlm-msmarco-reranker/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://intfloat/simlm-msmarco-reranker/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/intfloat/simlm-msmarco-reranker/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- c36eaeffcf62ca1be8b00d30d60427618e4373ede319eaeafafce986d6984007
- Size of remote file:
- 438 MB
- SHA256:
- 6e238673496cebca899c7ff63e6f3e9dcf856dc7abf8001e5892e0b0b03bff38
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.