Instructions to use facebook/dpr-ctx_encoder-single-nq-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/dpr-ctx_encoder-single-nq-base with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, DPRContextEncoder tokenizer = AutoTokenizer.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base") model = DPRContextEncoder.from_pretrained("facebook/dpr-ctx_encoder-single-nq-base", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit History
-
inference: false
bb21a3c -
Add model card (#1)
- Add model card (0104a42effcd0c015a1838b785be9e3898142476) - add model name (0685b1e4c8444745b7d498ff200924bbbcf5a488) Co-authored-by: Marissa Gerchick <Marissa@users.noreply.huggingface.co>8331db4
-
Add tokenizer config
Thomas Wolfaa2a11a -
Add tokenizer file
Thomas Wolff086944 -
Add vocab
Thomas Wolf48e6449
-
Add TensorFlow model
be5b858
-
Update .DS_Store
c145d5f -
Update config.json
aff229c -
Update pytorch_model.bin
2bc0991
-
Update config.json
530f41f
-
Update config.json
93ce1e0 -
Update config.json
4cbd752
-
Update config.json
9322279 -
Update .DS_Store
32e4afa -
Update config.json
5a93a19 -
initial commit
025a9da