Back to all models

Unable to determine this model’s pipeline type. Check the docs .

Monthly model downloads

facebook/dpr-question_encoder-single-nq-base facebook/dpr-question_encoder-single-nq-base
8,002 downloads
last 30 days

pytorch

tf

Contributed by

Facebook AI company
2 team members · 20 models

How to use this model directly from the 🤗/transformers library:

			
Copy to clipboard
from transformers import AutoTokenizer, AutoModelWithLMHead tokenizer = AutoTokenizer.from_pretrained("facebook/dpr-question_encoder-single-nq-base") model = AutoModelWithLMHead.from_pretrained("facebook/dpr-question_encoder-single-nq-base")