soheeyang commited on
Commit
469a714
1 Parent(s): 4cc6850

Update readme

Browse files
Files changed (1) hide show
  1. README.md +9 -8
README.md CHANGED
@@ -4,7 +4,7 @@ Reader-Distilled Retriever (`RDR`)
4
 
5
  Sohee Yang and Minjoon Seo, [Is Retriever Merely an Approximator of Reader?](https://arxiv.org/abs/2010.10999), arXiv 2020
6
 
7
- The paper proposes to distill the reader into the retriever so that the retriever absorbs the strength of the reader while keeping its own benefit. The model is a DPR retriever further finetuned using knowledge distillation from the DPR reader. Using this approach, the answer recall rate increases by a large margin, especially at small numbers of top-k.
8
 
9
  This model is the question encoder of RDR trained solely on Natural Questions (NQ) (single-nq). This model is trained by the authors and is the official checkpoint of RDR.
10
 
@@ -12,14 +12,15 @@ This model is the question encoder of RDR trained solely on Natural Questions (N
12
 
13
  The following is the answer recall rate measured using PyTorch 1.4.0 and transformers 4.5.0.
14
 
15
- For the values of DPR, those in parentheses are directly taken from the paper. The values without parentheses are reported using the reproduction of DPR that consists of [this question encoder](https://huggingface.co/soheeyang/dpr-question_encoder-single-trivia-base) and [this queston encoder](https://huggingface.co/soheeyang/dpr-question_encoder-single-trivia-base).
16
 
17
- | | Top-K Passages | 1 | 5 | 20 | 50 | 100 |
18
- |-------------|------------------|-----------|-----------|-----------|-----------|-----------|
19
- |**TriviaQA Dev** | **DPR** | 54.27 | 71.11 | 79.53 | 82.72 | 85.07 |
20
- | | **RDR (This Model)** | **61.84** | **75.93** | **82.56** | **85.35** | **87.00** |
21
- |**TriviaQA Test**| **DPR** | 54.41 | 70.99 | 79.31 (79.4) | 82.90 | 84.99 (85.0) |
22
- | | **RDR (This Model)** | **62.56** | **75.92** | **82.52** | **85.64** | **87.26** |
 
23
 
24
  ## How to Use
25
 
4
 
5
  Sohee Yang and Minjoon Seo, [Is Retriever Merely an Approximator of Reader?](https://arxiv.org/abs/2010.10999), arXiv 2020
6
 
7
+ The paper proposes to distill the reader into the retriever so that the retriever absorbs the strength of the reader while keeping its own benefit. The model is a [DPR](https://arxiv.org/abs/2004.04906) retriever further finetuned using knowledge distillation from the DPR reader. Using this approach, the answer recall rate increases by a large margin, especially at small numbers of top-k.
8
 
9
  This model is the question encoder of RDR trained solely on Natural Questions (NQ) (single-nq). This model is trained by the authors and is the official checkpoint of RDR.
10
 
12
 
13
  The following is the answer recall rate measured using PyTorch 1.4.0 and transformers 4.5.0.
14
 
15
+ The values of DPR on the NQ dev set are taken from Table 1 of the [paper of RDR](https://arxiv.org/abs/2010.10999). The values of DPR on the NQ test set are taken from the [codebase of DPR](https://github.com/facebookresearch/DPR). DPR-adv is the a new DPR model released in March 2021. It is trained on the original DPR NQ train set and its version where hard negatives are mined using DPR index itself using the previous NQ checkpoint. Please refer to the [codebase of DPR](https://github.com/facebookresearch/DPR) for more details about DPR-adv-hn.
16
 
17
+ | | Top-K Passages | 1 | 5 | 20 | 50 | 100 |
18
+ |---------|------------------|-------|-------|-------|-------|-------|
19
+ | **NQ Dev** | **DPR** | 44.2 | - | 76.9 | 81.3 | 84.2 |
20
+ | | **RDR (This Model)** | **54.43** | **72.17** | **81.33** | **84.8** | **86.61** |
21
+ | **NQ Test** | **DPR** | 45.87 | 68.14 | 79.97 | - | 85.87 |
22
+ | | **DPR-adv-hn** | 52.47 | **72.24** | 81.33 | - | 87.29 |
23
+ | | **RDR (This Model)** | **54.29** | 72.16 | **82.8** | **86.34** | **88.2** |
24
 
25
  ## How to Use
26