Instructions to use facebook/dpr-reader-single-nq-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/dpr-reader-single-nq-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DPRReader tokenizer = AutoTokenizer.from_pretrained("facebook/dpr-reader-single-nq-base") model = DPRReader.from_pretrained("facebook/dpr-reader-single-nq-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.acf9281
-
inference: false
38f47a4 -
Add model card (#1)
- Add model card (e2ce543eaf25f05396ae0c73fcd0f9cf28682e2b) Co-authored-by: Marissa Gerchick <Marissa@users.noreply.huggingface.co>c04774e
-
Add tokenizer config
Thomas Wolf5114ec3 -
Add vocab
Thomas Wolf90a87e6
-
Add TensorFlow model
823b47f
-
Update .DS_Store
a0d941f -
Update config.json
10ce54a -
Update pytorch_model.bin
2793643
-
Update config.json
1aa5ddd
-
Update config.json
4265182 -
Update config.json
0d3b149
-
Update config.json
bd4677b -
Update config.json
4b2d4fb -
initial commit
0fef3c5