Skip to content

Commit b860c0b

Browse files
authored
fix a prompt of RACE dataset (#841)
1 parent 40ae287 commit b860c0b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

promptsource/templates/race/all/templates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ templates:
103103
104104
Question: {{question}}
105105
106-
Yes or no, is the answer "{{ [options.0,options.1,options.2,options.3][{"A":0,"B":1,"C":2,"D":3}[answer]]
106+
Yes or no, is the answer "{{ [options.0,options.1,options.2,options.3][{"A":0,"B":1,"C":2,"D":3}[candidate]]
107107
}}"?
108108
109109
|||

promptsource/templates/race/high/templates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ templates:
1010
1111
Question: {{question}}
1212
13-
Yes or no, is the answer "{{ [options.0,options.1,options.2,options.3][{"A":0,"B":1,"C":2,"D":3}[answer]]
13+
Yes or no, is the answer "{{ [options.0,options.1,options.2,options.3][{"A":0,"B":1,"C":2,"D":3}[candidate]]
1414
}}"?
1515
1616
|||

promptsource/templates/race/middle/templates.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ templates:
6262
6363
Question: {{question}}
6464
65-
Yes or no, is the answer "{{ [options.0,options.1,options.2,options.3][{"A":0,"B":1,"C":2,"D":3}[answer]]
65+
Yes or no, is the answer "{{ [options.0,options.1,options.2,options.3][{"A":0,"B":1,"C":2,"D":3}[candidate]]
6666
}}"?
6767
6868
|||

0 commit comments

Comments
 (0)