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
-
Add model card
Hi! This PR has a preliminary model card, based on the format we are using as part of our effort to standardize model cards at Hugging Face. It is very similar to the proposed model cards at https://huggingface.co/facebook/dpr-ctx_encoder-single-nq-base/discussions/1 and https://huggingface.co/facebook/dpr-question_encoder-single-nq-base/discussions/1 Feel free to merge if you are ok with the changes! (cc @Ezi @Meg @Nazneen)e2ce543
-
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