@@ -4,38 +4,155 @@ templates:
44 0f0e55f9-28b4-4844-b65d-b9544a0918eb : !Template
55 answer_choices : null
66 id : 0f0e55f9-28b4-4844-b65d-b9544a0918eb
7- jinja : " {{original}}\n\n How would I say this in another way? \n\n |||\n\n {{simplifications\
8- \ | choice}}"
7+ jinja : " {% set real_simplifications = [] %}{% for text in simplifications %}{%\
8+ \ if text|length < original|length %}{{real_simplifications.append(text) | default(\" \
9+ \" , True)}}{% endif %}{% endfor %}\n {% if real_simplifications %}\n Text: {{original}}\n \
10+ \n How would I simplify this? \n\n |||\n\n {{real_simplifications | choice}}\n \
11+ {% endif %}"
912 metadata : !TemplateMetadata
10- choices_in_prompt : null
11- metrics : []
13+ choices_in_prompt : false
14+ metrics :
15+ - BLEU
16+ - ROUGE
1217 original_task : true
13- name : asset_simplification1
18+ name : verbose-to-simplification
1419 reference : Rewrite text using one random simplification
1520 3cbfbc1c-6876-4dd7-b7db-45fb3233a667 : !Template
1621 answer_choices : null
1722 id : 3cbfbc1c-6876-4dd7-b7db-45fb3233a667
18- jinja : " {{simplifications | choice}}\n\n How would I say this in another way? \n \
19- \n |||\n\n {{original}}"
23+ jinja : ' {% set real_simplifications = [] %}{% for text in simplifications %}{%
24+ if text|length < original|length %}{{real_simplifications.append(text) | default("",
25+ True)}}{% endif %}{% endfor %}
26+
27+ {% if real_simplifications %}
28+
29+ Make the below sentence more verbose:
30+
31+
32+ {{real_simplifications | choice}}
33+
34+
35+ |||
36+
37+
38+ {{original}}
39+
40+ {% endif %}'
2041 metadata : !TemplateMetadata
21- choices_in_prompt : null
22- metrics : []
42+ choices_in_prompt : false
43+ metrics :
44+ - BLEU
45+ - ROUGE
2346 original_task : false
24- name : asset_simplification2
25- reference : Find the original text from the simplification
47+ name : simplification-to-verbose
48+ reference : Make the simplified text more verbose
49+ 41d32553-433c-44fb-9eda-0fce51bf9e14 : !Template
50+ answer_choices : A ||| B
51+ id : 41d32553-433c-44fb-9eda-0fce51bf9e14
52+ jinja : ' {% set rand_num = range(0,2) | choice %}
53+
54+ {% set real_simplifications = [] %}{% for text in simplifications %}{% if text|length
55+ < original|length %}{{real_simplifications.append(text) | default("", True)}}{%
56+ endif %}{% endfor %}
57+
58+ {% if real_simplifications %}
59+
60+ One of the following two sentences is more verbose than the other. Which one
61+ is it?
62+
63+ {% if rand_num %}
64+
65+ A: {{real_simplifications | choice}}
66+
67+
68+ B: {{original}}
69+
70+ {% else %}
71+
72+ A: {{original}}
73+
74+
75+ B: {{real_simplifications | choice}}
76+
77+ {% endif %}
78+
79+ |||
80+
81+ {{ answer_choices[rand_num] }}
82+
83+ {% endif %}'
84+ metadata : !TemplateMetadata
85+ choices_in_prompt : true
86+ metrics :
87+ - Accuracy
88+ original_task : false
89+ name : choose-verbose
90+ reference : ' '
91+ 5c2f56b9-5bd4-4455-9d68-0729bfdb9c84 : !Template
92+ answer_choices : A ||| B
93+ id : 5c2f56b9-5bd4-4455-9d68-0729bfdb9c84
94+ jinja : ' {% set rand_num = range(0,2) | choice %}
95+
96+ {% set real_simplifications = [] %}{% for text in simplifications %}{% if text|length
97+ < original|length %}{{real_simplifications.append(text) | default("", True)}}{%
98+ endif %}{% endfor %}
99+
100+ {% if real_simplifications %}
101+
102+ One of the following two sentences is more simple than the other. Which one
103+ is it?
104+
105+ {% if rand_num %}
106+
107+ A: {{real_simplifications | choice}}
108+
109+
110+ B: {{original}}
111+
112+ {% else %}
113+
114+ A: {{original}}
115+
116+
117+ B: {{real_simplifications | choice}}
118+
119+ {% endif %}
120+
121+ |||
122+
123+ {{ answer_choices[1-rand_num] }}
124+
125+ {% endif %}'
126+ metadata : !TemplateMetadata
127+ choices_in_prompt : true
128+ metrics :
129+ - Accuracy
130+ original_task : true
131+ name : choose-simplification
132+ reference : ' '
26133 d528d74b-bbc2-4888-ae21-db0ab37304df : !Template
27134 answer_choices : null
28135 id : d528d74b-bbc2-4888-ae21-db0ab37304df
29- jinja : ' I'' d like to explain to my child "{{original}}". How would I do so?
136+ jinja : ' {% set real_simplifications = [] %}{% for text in simplifications %}{%
137+ if text|length < original|length %}{{real_simplifications.append(text) | default("",
138+ True)}}{% endif %}{% endfor %}
139+
140+ {% if real_simplifications %}
141+
142+ I'' d like to explain to my child "{{original}}". How would I do so?
30143
31144
32145 |||
33146
34147
35- {{simplifications | choice}}'
148+ {{real_simplifications | choice}}
149+
150+ {% endif %}'
36151 metadata : !TemplateMetadata
37- choices_in_prompt : null
38- metrics : []
152+ choices_in_prompt : false
153+ metrics :
154+ - BLEU
155+ - ROUGE
39156 original_task : true
40- name : asset_simplification3
157+ name : verbose-to-simplification-implicit
41158 reference : Implicit simplification request
0 commit comments