Instructions to use sapienzanlp/relik-retriever-small-nyt-question-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use sapienzanlp/relik-retriever-small-nyt-question-encoder with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="sapienzanlp/relik-retriever-small-nyt-question-encoder", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("sapienzanlp/relik-retriever-small-nyt-question-encoder", trust_remote_code=True) model = AutoModel.from_pretrained("sapienzanlp/relik-retriever-small-nyt-question-encoder", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from sapienzanlp/relik-retriever-small-nyt-question-encoder: direct link, hf CLI and curl.
- Browser
- Download file 134 MB
-
https://huggingface.co/sapienzanlp/relik-retriever-small-nyt-question-encoder/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://sapienzanlp/relik-retriever-small-nyt-question-encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/sapienzanlp/relik-retriever-small-nyt-question-encoder/resolve/main/pytorch_model.bin
134 MB
- Xet hash:
- 31f1916d35e2f37c4edce79e87535f5a31986da699f84f3b4628ff8e26bd83af
- Size of remote file:
- 134 MB
- SHA256:
- 9d00da0accfb05fb29975b3af200cd92758e208cf12e579f29e8c1a14bb04f05
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.