Instructions to use castorini/bpr-nq-ctx-encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use castorini/bpr-nq-ctx-encoder with Transformers:
# Load model directly from transformers import AutoTokenizer, DPRContextEncoder tokenizer = AutoTokenizer.from_pretrained("castorini/bpr-nq-ctx-encoder") model = DPRContextEncoder.from_pretrained("castorini/bpr-nq-ctx-encoder") - Notebooks
- Google Colab
- Kaggle
File size: 134 Bytes
c905ce7 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ff71c8828ff312ea197499d17332e30212983822badbd636fb1c00f2e8dca2ba
size 437995699
|