Skip to content

Commit e020740

Browse files
author
haileyschoelkopf
committed
regenerate ids (5/6)
1 parent 1d4d0cc commit e020740

File tree

1 file changed

+33
-32
lines changed

1 file changed

+33
-32
lines changed

promptsource/templates/xcopa/zh/templates.yaml

Lines changed: 33 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
dataset: xcopa
22
subset: zh
33
templates:
4-
0edd8660-f299-4819-a5ac-633c11177228: !Template
4+
059e17fc-11f0-4072-bbdc-d4667f77466b: !Template
55
answer_choices: '{{choice1}} ||| {{choice2}}'
6-
id: 0edd8660-f299-4819-a5ac-633c11177228
7-
jinja: 'Exercise: Choose the most plausible completion to this Chinese sentence:
6+
id: 059e17fc-11f0-4072-bbdc-d4667f77466b
7+
jinja: 'Exercise: choose the most plausible alternative.
88
99
1010
{{ premise }} {% if question == "cause" %} because... {% else %} so... {% endif
@@ -22,9 +22,9 @@ templates:
2222
original_task: true
2323
name: exercise
2424
reference: ''
25-
150789fe-e309-47a1-82c9-0a4dc2c6b12b: !Template
25+
1e0fc116-2741-460a-aefb-a8af579c1c57: !Template
2626
answer_choices: '{{choice1}} ||| {{choice2}}'
27-
id: 150789fe-e309-47a1-82c9-0a4dc2c6b12b
27+
id: 1e0fc116-2741-460a-aefb-a8af579c1c57
2828
jinja: "{% if question == \"effect\" %} \n{{ premise }} What could happen next,\
2929
\ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\
3030
\ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}"
@@ -37,9 +37,9 @@ templates:
3737
original_task: true
3838
name: "\u2026What could happen next, C1 or C2?"
3939
reference: ''
40-
4d879cbe-2fd7-424a-9d78-3f5200313fba: !Template
40+
3814efad-35ff-4c42-a666-084514d6356b: !Template
4141
answer_choices: '{{choice1}} ||| {{choice2}}'
42-
id: 4d879cbe-2fd7-424a-9d78-3f5200313fba
42+
id: 3814efad-35ff-4c42-a666-084514d6356b
4343
jinja: "{{ premise }} \n\nI am hesitating between two options. Help me choose\
4444
\ the more likely {% if question == \"cause\" %} cause: {% else %} effect: {%\
4545
\ endif %}\n- {{choice1}}\n- {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label]\
@@ -53,9 +53,9 @@ templates:
5353
original_task: true
5454
name: i_am_hesitating
5555
reference: ''
56-
66ea075e-4d03-4a78-b1fa-9a5228cf0c9d: !Template
56+
44a40995-73c8-4b15-b830-f5fd55473a59: !Template
5757
answer_choices: '{{choice1}} ||| {{choice2}}'
58-
id: 66ea075e-4d03-4a78-b1fa-9a5228cf0c9d
58+
id: 44a40995-73c8-4b15-b830-f5fd55473a59
5959
jinja: '{{ premise }} {% if question == "cause" %} This happened because... {%
6060
else %} As a consequence... {% endif %}
6161
@@ -73,12 +73,12 @@ templates:
7373
original_task: true
7474
name: plausible_alternatives
7575
reference: ''
76-
744047dc-1298-45a2-8d68-d67e3f834ded: !Template
77-
answer_choices: '{{choice1 }} ||| {{choice2}}'
78-
id: 744047dc-1298-45a2-8d68-d67e3f834ded
79-
jinja: '"{{ answer_choices[0] }}" or "{{ answer_choices[1] }}"? {{ premise }}{%
80-
if question == "cause" %}because {% else %} so {% endif %} ||| {% if label !=
81-
-1 %}{{ answer_choices[label] }}{% endif %}'
76+
48888279-affe-423a-80c8-51937f872ac8: !Template
77+
answer_choices: '{{choice1}} ||| {{choice2}}'
78+
id: 48888279-affe-423a-80c8-51937f872ac8
79+
jinja: '"{{ answer_choices[0] }}" or "{{ answer_choices[1] }}"? {{ premise }}
80+
{% if question == "cause" %} because {% else %} so {% endif %} ||| {% if label
81+
!= -1 %}{{ answer_choices[label] }}{% endif %}'
8282
metadata: !TemplateMetadata
8383
choices_in_prompt: true
8484
languages:
@@ -88,9 +88,9 @@ templates:
8888
original_task: true
8989
name: "C1 or C2? premise, so/because\u2026"
9090
reference: "Adapted from Perez et al. 2021 and Schick & Sch\xFCtz 2021."
91-
84da62c2-9440-4cfc-bdd4-d70c65e33a82: !Template
91+
4b7be3a0-a8f4-4289-9a39-297ce5ec0dae: !Template
9292
answer_choices: '{{choice1}} ||| {{choice2}}'
93-
id: 84da62c2-9440-4cfc-bdd4-d70c65e33a82
93+
id: 4b7be3a0-a8f4-4289-9a39-297ce5ec0dae
9494
jinja: "{% if question == \"effect\" %} \n{{ premise }} As a result, \"{{ answer_choices[0]\
9595
\ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\
9696
\ }}{%endif%}\n{% endif %}"
@@ -103,11 +103,11 @@ templates:
103103
original_task: true
104104
name: "\u2026As a result, C1 or C2?"
105105
reference: ''
106-
8ce80f8a-239e-4393-892c-f63dbb0d9929: !Template
106+
b3f10790-e8cf-4d05-b974-fd58b981ea26: !Template
107107
answer_choices: '{{choice1}} ||| {{choice2}}'
108-
id: 8ce80f8a-239e-4393-892c-f63dbb0d9929
108+
id: b3f10790-e8cf-4d05-b974-fd58b981ea26
109109
jinja: "{{ premise }} \n\nWhat's the best option?\n- {{choice1}}\n- {{choice2}}\n\
110-
\nWe are looking for {% if question == \"cause\" %}a cause {% else %}an effect\
110+
\nWe are looking for {% if question == \"cause\" %} a cause {% else %} an effect\
111111
\ {% endif %}\n||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}"
112112
metadata: !TemplateMetadata
113113
choices_in_prompt: true
@@ -118,9 +118,9 @@ templates:
118118
original_task: true
119119
name: best_option
120120
reference: ''
121-
8cf2ba73-aee5-4651-b5d4-b1b88afe4abb: !Template
121+
b6bd0360-3b39-4ae3-b837-b3fe8e7aefbf: !Template
122122
answer_choices: '{{choice1}} ||| {{choice2}}'
123-
id: 8cf2ba73-aee5-4651-b5d4-b1b88afe4abb
123+
id: b6bd0360-3b39-4ae3-b837-b3fe8e7aefbf
124124
jinja: "{% if question == \"cause\" %} \n{{ premise }} Which may be caused by\
125125
\ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\
126126
\ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}"
@@ -133,12 +133,12 @@ templates:
133133
original_task: true
134134
name: "\u2026which may be caused by"
135135
reference: ''
136-
a1f9951e-2b6b-4530-9636-9cdf4c1658c5: !Template
136+
c3b01f23-b69a-4a31-9258-08475490c4e4: !Template
137137
answer_choices: '{{choice1}} ||| {{choice2}}'
138-
id: a1f9951e-2b6b-4530-9636-9cdf4c1658c5
138+
id: c3b01f23-b69a-4a31-9258-08475490c4e4
139139
jinja: 'Pick the more likely continuation to the following sentence:
140140
141-
{{ premise }}{% if question == "cause" %} As a result of: {% else %} As a consequence:
141+
{{ premise }} {% if question == "cause" %} as a result of: {% else %} as a consequence:
142142
{% endif %}
143143
144144
- {{choice1}}
@@ -153,13 +153,13 @@ templates:
153153
original_task: true
154154
name: more likely
155155
reference: ''
156-
a61d8c21-da25-47bf-b5fe-14a8edd650af: !Template
156+
cbae3be6-a416-4dfe-bbf9-6dbca7f2e542: !Template
157157
answer_choices: '{{choice1}} ||| {{choice2}}'
158-
id: a61d8c21-da25-47bf-b5fe-14a8edd650af
158+
id: cbae3be6-a416-4dfe-bbf9-6dbca7f2e542
159159
jinja: '{{ premise }}
160160
161161
162-
Select the most plausible {% if question == "cause" %}cause: {% else %}effect:
162+
Select the most plausible {% if question == "cause" %} cause: {% else %} effect:
163163
{% endif %}
164164
165165
- {{choice1}}
@@ -174,9 +174,9 @@ templates:
174174
original_task: true
175175
name: cause_effect
176176
reference: ''
177-
a8bf11c3-bea2-45ba-a533-957d8bee5e2e: !Template
177+
dfa40a8a-cfe1-4695-b566-a5d83c98d630: !Template
178178
answer_choices: '{{choice1}} ||| {{choice2}}'
179-
id: a8bf11c3-bea2-45ba-a533-957d8bee5e2e
179+
id: dfa40a8a-cfe1-4695-b566-a5d83c98d630
180180
jinja: "{% if question == \"cause\" %} \n{{ premise }} Why? \"{{ answer_choices[0]\
181181
\ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\
182182
\ }}{%endif%}\n{% endif %}"
@@ -189,9 +189,9 @@ templates:
189189
original_task: true
190190
name: "\u2026why? C1 or C2"
191191
reference: ''
192-
f32348cd-d3cb-4619-87b9-e24f99c78567: !Template
192+
f42c13d4-8305-4499-b73c-6e20ed83569c: !Template
193193
answer_choices: '{{choice1}} ||| {{choice2}}'
194-
id: f32348cd-d3cb-4619-87b9-e24f99c78567
194+
id: f42c13d4-8305-4499-b73c-6e20ed83569c
195195
jinja: '{{ premise }} {% if question == "cause" %} because... {% else %} so...
196196
{% endif %}
197197
@@ -209,3 +209,4 @@ templates:
209209
original_task: true
210210
name: choose
211211
reference: ''
212+

0 commit comments

Comments
 (0)