yhao-wang commited on
Commit
0cbfa10
·
verified ·
1 Parent(s): 9d80813

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +31 -0
README.md CHANGED
@@ -1,3 +1,34 @@
1
  ---
2
  license: mit
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ task_categories:
4
+ - question-answering
5
+ language:
6
+ - en
7
  ---
8
+
9
+ # Data
10
+
11
+ ### Original source
12
+ All question-answer pairs were obtained from the [DPR](https://github.com/facebookresearch/DPR) repository.
13
+
14
+ ### Data format
15
+
16
+ The expected data format is a list of entry examples, where each entry example is a dictionary containing
17
+ - `question`: question text
18
+ - `reference`: list of answer text for evaluation
19
+ - `ctxs`: a list of passages
20
+
21
+ Entry example:
22
+ ```
23
+ {
24
+ 'question': 'who got the first nobel prize in physics',
25
+ 'answers': ['Wilhelm Conrad Röntgen'],
26
+ 'ctxs': [
27
+ "Wilhelm Conrad Röntgen won first Nobel Prize in Physics.",
28
+ "Wilhelm Conrad Röntgen won it for discovery of X-rays",
29
+ "Albert Einstein was awarded the 1921 Nobel Prize in Physics",
30
+ "The Nobel Prize in Physics is a yearly award.",
31
+ "First law of thermodynamics was stated by William"
32
+ ]
33
+ }
34
+ ```