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