The model should not be used to intentionally create hostile or alienating environments for people. In addition, the set of DPR models was not trained to be factual or true representations of people or events, and therefore using the models to generate such content is out-of-scope for the abilities of this model.
Risks, Limitations and Biases
CONTENT WARNING: Readers should be aware this section may contain content that is disturbing, offensive, and can propogate historical and current stereotypes.
Significant research has explored bias and fairness issues with language models (see, e.g.,
Sheng et al. (2021)
and
Bender et al. (2021)
). Predictions generated by the model can include disturbing and harmful stereotypes across protected classes; identity characteristics; and sensitive, social, and occupational groups.
[The dataset] was designed for end-to-end question answering. The questions were mined from real Google search queries and the answers were spans in Wikipedia articles identified by annotators.
Given a collection of M text passages, the goal of our dense passage retriever (DPR) is to index all the passages in a low-dimensional and continuous space, such that it can retrieve efficiently the top k passages relevant to the input question for the reader at run-time.
Our dense passage retriever (DPR) uses a dense encoder EP(·) which maps any text passage to a d- dimensional real-valued vectors and builds an index for all the M passages that we will use for retrieval. At run-time, DPR applies a different encoder EQ(·) that maps the input question to a d-dimensional vector, and retrieves k passages of which vectors are the closest to the question vector.
The authors report that for encoders, they used two independent BERT (
Devlin et al., 2019
) networks (base, un-cased) and use FAISS (
Johnson et al., 2017
) during inference time to encode and index passages. See the paper for further details on training, including encoders, inference, positive and negative passages, and in-batch negatives.
Evaluation
The following evaluation information is extracted from the
associated paper
.
See the
associated paper
for details on the modeling architecture, objective, compute infrastructure, and training details.
Citation Information
@inproceedings{karpukhin-etal-2020-dense,
title = "Dense Passage Retrieval for Open-Domain Question Answering",
author = "Karpukhin, Vladimir and Oguz, Barlas and Min, Sewon and Lewis, Patrick and Wu, Ledell and Edunov, Sergey and Chen, Danqi and Yih, Wen-tau",
booktitle = "Proceedings of the 2020 Conference on Empirical Methods in Natural Language Processing (EMNLP)",
month = nov,
year = "2020",
address = "Online",
publisher = "Association for Computational Linguistics",
url = "https://www.aclweb.org/anthology/2020.emnlp-main.550",
doi = "10.18653/v1/2020.emnlp-main.550",
pages = "6769--6781",
}
Model Card Authors
This model card was written by the team at Hugging Face.
Runs of facebook dpr-ctx_encoder-single-nq-base on huggingface.co
83.1K
Total runs
6.1K
24-hour runs
12.4K
3-day runs
16.4K
7-day runs
35.0K
30-day runs
More Information About dpr-ctx_encoder-single-nq-base huggingface.co Model
More dpr-ctx_encoder-single-nq-base license Visit here:
dpr-ctx_encoder-single-nq-base huggingface.co is an AI model on huggingface.co that provides dpr-ctx_encoder-single-nq-base's model effect (), which can be used instantly with this facebook dpr-ctx_encoder-single-nq-base model. huggingface.co supports a free trial of the dpr-ctx_encoder-single-nq-base model, and also provides paid use of the dpr-ctx_encoder-single-nq-base. Support call dpr-ctx_encoder-single-nq-base model through api, including Node.js, Python, http.
dpr-ctx_encoder-single-nq-base huggingface.co is an online trial and call api platform, which integrates dpr-ctx_encoder-single-nq-base's modeling effects, including api services, and provides a free online trial of dpr-ctx_encoder-single-nq-base, you can try dpr-ctx_encoder-single-nq-base online for free by clicking the link below.
facebook dpr-ctx_encoder-single-nq-base online free url in huggingface.co:
dpr-ctx_encoder-single-nq-base is an open source model from GitHub that offers a free installation service, and any user can find dpr-ctx_encoder-single-nq-base on GitHub to install. At the same time, huggingface.co provides the effect of dpr-ctx_encoder-single-nq-base install, users can directly use dpr-ctx_encoder-single-nq-base installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
dpr-ctx_encoder-single-nq-base install url in huggingface.co: