Instructions to use tau/spider-nq-ctx-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tau/spider-nq-ctx-encoder with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DPRContextEncoder tokenizer = AutoTokenizer.from_pretrained("tau/spider-nq-ctx-encoder") model = DPRContextEncoder.from_pretrained("tau/spider-nq-ctx-encoder", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download pytorch_model.bin from tau/spider-nq-ctx-encoder: direct link, hf CLI and curl.
- Browser
- Download file 438 MB
-
https://huggingface.co/tau/spider-nq-ctx-encoder/resolve/main/pytorch_model.bin
- Command line
-
hf download hf://tau/spider-nq-ctx-encoder/pytorch_model.bin
-
curl -L -o pytorch_model.bin https://huggingface.co/tau/spider-nq-ctx-encoder/resolve/main/pytorch_model.bin
438 MB
- Xet hash:
- b05bb6acd7d051e7eb6f7eab0455473d018c8b16c5e06a46e6da884d495d998e
- Size of remote file:
- 438 MB
- SHA256:
- 96b624af246d90422200ea154d742735952aa37e334e3e834e70e071f7deb16b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.