<span id="3dn8r"></span>
    1. <span id="3dn8r"><optgroup id="3dn8r"></optgroup></span><li id="3dn8r"><meter id="3dn8r"></meter></li>


        dpr-question_encoder-single-nq-base


        Table of Contents

        • Model Details
        • How To Get Started With the Model
        • Uses
        • Risks, Limitations and Biases
        • Training
        • Evaluation
        • Environmental Impact
        • Technical Specifications
        • Citation Information
        • Model Card Authors


        Model Details

        Model Description: Dense Passage Retrieval (DPR) is a set of tools and models for state-of-the-art open-domain Q&A research. dpr-question_encoder-single-nq-base is the question encoder trained using the Natural Questions (NQ) dataset (Lee et al., 2019; Kwiatkowski et al., 2019).

        • Developed by: See GitHub repo for model developers
        • Model Type: BERT-based encoder
        • Language(s): CC-BY-NC-4.0, also see Code of Conduct
        • License: English
        • Related Models:

          • dpr-ctx_encoder-single-nq-base
          • dpr-reader-single-nq-base
          • dpr-ctx_encoder-multiset-base
          • dpr-question_encoder-multiset-base
          • dpr-reader-multiset-base
        • Resources for more information:

          • Research Paper
          • GitHub Repo
          • Hugging Face DPR docs
          • BERT Base Uncased Model Card


        How to Get Started with the Model

        Use the code below to get started with the model.
        from transformers import DPRQuestionEncoder, DPRQuestionEncoderTokenizer
        tokenizer = DPRQuestionEncoderTokenizer.from_pretrained("facebook/dpr-question_encoder-single-nq-base")
        model = DPRQuestionEncoder.from_pretrained("facebook/dpr-question_encoder-single-nq-base")
        input_ids = tokenizer("Hello, is my dog cute ?", return_tensors="pt")["input_ids"]
        embeddings = model(input_ids).pooler_output


        Uses


        Direct Use

        dpr-question_encoder-single-nq-base, dpr-ctx_encoder-single-nq-base, and dpr-reader-single-nq-base can be used for the task of open-domain question answering.


        Misuse and Out-of-scope Use

        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.


        Training


        Training Data

        This model was trained using the Natural Questions (NQ) dataset (Lee et al., 2019; Kwiatkowski et al., 2019). The model authors write that:

        [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.


        Training Procedure

        The training procedure is described in the associated paper:

        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.


        Testing Data, Factors and Metrics

        The model developers report the performance of the model on five QA datasets, using the top-k accuracy (k ∈ {20, 100}). The datasets were NQ, TriviaQA, WebQuestions (WQ), CuratedTREC (TREC), and SQuAD v1.1.


        Results

        Top 20 Top 100
        NQ TriviaQA WQ TREC SQuAD NQ TriviaQA WQ TREC SQuAD
        78.4 79.4 73.2 79.8 63.2 85.4 85.0 81.4 89.1 77.2

        數(shù)據(jù)評(píng)估

        facebook/dpr-question_encoder-single-nq-base瀏覽人數(shù)已經(jīng)達(dá)到666,如你需要查詢?cè)撜镜南嚓P(guān)權(quán)重信息,可以點(diǎn)擊"5118數(shù)據(jù)""愛(ài)站數(shù)據(jù)""Chinaz數(shù)據(jù)"進(jìn)入;以目前的網(wǎng)站數(shù)據(jù)參考,建議大家請(qǐng)以愛(ài)站數(shù)據(jù)為準(zhǔn),更多網(wǎng)站價(jià)值評(píng)估因素如:facebook/dpr-question_encoder-single-nq-base的訪問(wèn)速度、搜索引擎收錄以及索引量、用戶體驗(yàn)等;當(dāng)然要評(píng)估一個(gè)站的價(jià)值,最主要還是需要根據(jù)您自身的需求以及需要,一些確切的數(shù)據(jù)則需要找facebook/dpr-question_encoder-single-nq-base的站長(zhǎng)進(jìn)行洽談提供。如該站的IP、PV、跳出率等!

        關(guān)于facebook/dpr-question_encoder-single-nq-base特別聲明

        本站OpenI提供的facebook/dpr-question_encoder-single-nq-base都來(lái)源于網(wǎng)絡(luò),不保證外部鏈接的準(zhǔn)確性和完整性,同時(shí),對(duì)于該外部鏈接的指向,不由OpenI實(shí)際控制,在2023年 5月 26日 下午5:53收錄時(shí),該網(wǎng)頁(yè)上的內(nèi)容,都屬于合規(guī)合法,后期網(wǎng)頁(yè)的內(nèi)容如出現(xiàn)違規(guī),可以直接聯(lián)系網(wǎng)站管理員進(jìn)行刪除,OpenI不承擔(dān)任何責(zé)任。

        相關(guān)導(dǎo)航

        蟬鏡AI數(shù)字人

        暫無(wú)評(píng)論

        暫無(wú)評(píng)論...
        主站蜘蛛池模板: 日日操夜夜操免费视频| 日韩精品免费一级视频| 国产一级一片免费播放| 亚洲一区二区三区亚瑟| 国产va免费精品观看精品 | 222www免费视频| 亚洲国产天堂久久综合网站 | 免费无码专区毛片高潮喷水| 国产精品国产午夜免费福利看| 亚洲AV网一区二区三区| 又黄又爽的视频免费看| 久草免费福利在线| 浮力影院亚洲国产第一页| 国产又黄又爽又大的免费视频 | 亚洲精品天天影视综合网| 97在线视频免费播放| 亚洲制服在线观看| 成年女人色毛片免费看| 国产精品无码亚洲一区二区三区| 免费人妻av无码专区| 国产真人无码作爱免费视频| 亚洲精品人成在线观看| 在线播放免费播放av片| 特级毛片免费播放| 无码乱人伦一区二区亚洲| 午夜福利不卡片在线播放免费| 国产成人精品日本亚洲语音 | 亚洲精品美女久久久久9999| 精品久久久久成人码免费动漫| 精品亚洲AV无码一区二区三区| 国产成人免费一区二区三区| 亚洲精品视频免费观看| 亚洲日本在线观看| 情侣视频精品免费的国产| 国产成人aaa在线视频免费观看 | 久久久无码精品亚洲日韩蜜臀浪潮 | 色播在线永久免费视频网站| 亚洲午夜精品国产电影在线观看| 免费羞羞视频网站| 国产精品九九久久免费视频| 亚洲乱码中文论理电影|