vabatista commited on
Commit
eaaf9bf
1 Parent(s): 8baabb1

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -1
README.md CHANGED
@@ -8,4 +8,11 @@ pipeline_tag: sentence-similarity
8
 
9
  This similarity model was trained for 2 epochs based on the sentence-transformers/all-mpnet-base-v2. We used the SQuAD 2.0 dataset to compare similarity between questions and sentences containing the answer to the question. We employed the MultipleNegativesRankingLoss as the objective function. To generate negative examples, our strategy involved using BM25 to retrieve similar examples from all sentences in the dataset that did not contain the answer.
10
 
11
- As a result, we improved the retrieval of correct sentences (containing the answer) for a question, as measured by the MRR@10 metric.
 
 
 
 
 
 
 
 
8
 
9
  This similarity model was trained for 2 epochs based on the sentence-transformers/all-mpnet-base-v2. We used the SQuAD 2.0 dataset to compare similarity between questions and sentences containing the answer to the question. We employed the MultipleNegativesRankingLoss as the objective function. To generate negative examples, our strategy involved using BM25 to retrieve similar examples from all sentences in the dataset that did not contain the answer.
10
 
11
+ As a result, we improved the retrieval of correct sentences (containing the answer) for a question, as measured by Mean Reciprocal Rank (MRR@10) metric. We tested on 7 different SQuAD like datasets.
12
+
13
+ | Model | Drop | BioASQ | Hotpot | News | Textbook | NQ | Trivia |
14
+ | --------------------- | ---- | ------ | ------ | ---- | -------- | ---- | ------ |
15
+ | Baseline Dense | 0.37 | 0.12 | 0.28 | 0.29 | 0.17 | 0.29 | 0.47 |
16
+ | Baseline BM25 | 0.36 | 0.15 | 0.34 | 0.33 | 0.18 | 0.18 | 0.47 |
17
+ | Azure Hybrid Semantic | 0.35 | 0.18 | 0.29 | | | | |
18
+ | **This model** | 0.39 | 0.16 | 0.34 | 0.36 | 0.19 | 0.28 | 0.49 |