Skip to content

Commit c03fcf1

Browse files
committed
fix : QuaeroFrenchMed labels changed
1 parent 7b170d4 commit c03fcf1

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

promptsource/templates/meczifho/QuaeroFrenchMed/EMEA/templates.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ templates:
44
34a46bfe-97eb-44f7-abfc-b22b944be59f: !Template
55
answer_choices: null
66
id: 34a46bfe-97eb-44f7-abfc-b22b944be59f
7-
jinja: "{% set ner_num = 10 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
7+
jinja: "{% set ner_num = 9 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
88
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
99
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
1010
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister tous les appareils mentionn\xE9\
@@ -26,7 +26,7 @@ templates:
2626
36316877-8a0d-433a-b0d8-ac426a9ee922: !Template
2727
answer_choices: null
2828
id: 36316877-8a0d-433a-b0d8-ac426a9ee922
29-
jinja: "{% set ner_num = 6 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
29+
jinja: "{% set ner_num = 8 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
3030
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
3131
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
3232
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister toutes les zones g\xE9\
@@ -49,7 +49,7 @@ templates:
4949
471abd04-f81f-4546-80cf-28a2a1db54e6: !Template
5050
answer_choices: null
5151
id: 471abd04-f81f-4546-80cf-28a2a1db54e6
52-
jinja: "{% set ner_num = 9 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
52+
jinja: "{% set ner_num = 10 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
5353
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
5454
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
5555
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister tous les objets mentionn\xE9\
@@ -71,7 +71,7 @@ templates:
7171
7ba4da6f-9043-42f7-9645-8fe5548d9480: !Template
7272
answer_choices: null
7373
id: 7ba4da6f-9043-42f7-9645-8fe5548d9480
74-
jinja: "{% set ner_num = 2 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
74+
jinja: "{% set ner_num = 4 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
7575
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
7676
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
7777
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister tous les \xEAtres vivants\
@@ -93,7 +93,7 @@ templates:
9393
a428821a-cba4-4c43-aeba-f4a5c95beec4: !Template
9494
answer_choices: null
9595
id: a428821a-cba4-4c43-aeba-f4a5c95beec4
96-
jinja: "{% set ner_num = 4 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
96+
jinja: "{% set ner_num = 2 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
9797
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
9898
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
9999
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister toutes les proc\xE9dures\
@@ -155,7 +155,7 @@ templates:
155155
a6b1d3a2-9be4-4286-b921-fb1a1e59a541: !Template
156156
answer_choices: null
157157
id: a6b1d3a2-9be4-4286-b921-fb1a1e59a541
158-
jinja: "{% set ner_num = 3 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
158+
jinja: "{% set ner_num = 1 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
159159
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
160160
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
161161
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister tous les sympt\xF4mes et\
@@ -178,7 +178,7 @@ templates:
178178
ac549f30-b4c3-4238-8aef-dbcf0fb64bd6: !Template
179179
answer_choices: null
180180
id: ac549f30-b4c3-4238-8aef-dbcf0fb64bd6
181-
jinja: "{% set ner_num = 7 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
181+
jinja: "{% set ner_num = 6 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
182182
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
183183
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
184184
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister tous les mots \xE9voquant\
@@ -201,7 +201,7 @@ templates:
201201
c2fb4614-8321-4e74-bfdf-50535e0aab64: !Template
202202
answer_choices: null
203203
id: c2fb4614-8321-4e74-bfdf-50535e0aab64
204-
jinja: "{% set ner_num = 1 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
204+
jinja: "{% set ner_num = 3 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
205205
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
206206
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
207207
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister toutes les parties du corps\
@@ -246,7 +246,7 @@ templates:
246246
eb5b6f69-6834-4301-a153-546033427be1: !Template
247247
answer_choices: null
248248
id: eb5b6f69-6834-4301-a153-546033427be1
249-
jinja: "{% set ner_num = 8 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
249+
jinja: "{% set ner_num = 7 %}\nVoici une notice patient :\n\"{% for idx in range(words|length)\
250250
\ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
251251
\ \"])'/\u2019.,%-\u20AC$\xA3\\\")\" and words[idx][-1] not in \"'[(/\u2019\
252252
-\") %} {% endif %}{% endif %}{% endfor %}\"\nLister tous les ph\xE9nom\xE8\

promptsource/templates/meczifho/QuaeroFrenchMed/MEDLINE/templates.yaml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ templates:
44
34a46bfe-97eb-44f7-abfc-b22b944be59f: !Template
55
answer_choices: null
66
id: 34a46bfe-97eb-44f7-abfc-b22b944be59f
7-
jinja: "{% set ner_num = 10 %}\nVoici le titre d'un article scientifique m\xE9\
7+
jinja: "{% set ner_num = 9 %}\nVoici le titre d'un article scientifique m\xE9\
88
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
99
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
1010
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -27,7 +27,7 @@ templates:
2727
36316877-8a0d-433a-b0d8-ac426a9ee922: !Template
2828
answer_choices: null
2929
id: 36316877-8a0d-433a-b0d8-ac426a9ee922
30-
jinja: "{% set ner_num = 6 %}\nVoici le titre d'un article scientifique m\xE9\
30+
jinja: "{% set ner_num = 8 %}\nVoici le titre d'un article scientifique m\xE9\
3131
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
3232
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
3333
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -50,7 +50,7 @@ templates:
5050
471abd04-f81f-4546-80cf-28a2a1db54e6: !Template
5151
answer_choices: null
5252
id: 471abd04-f81f-4546-80cf-28a2a1db54e6
53-
jinja: "{% set ner_num = 9 %}\nVoici le titre d'un article scientifique m\xE9\
53+
jinja: "{% set ner_num = 10 %}\nVoici le titre d'un article scientifique m\xE9\
5454
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
5555
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
5656
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -73,7 +73,7 @@ templates:
7373
7ba4da6f-9043-42f7-9645-8fe5548d9480: !Template
7474
answer_choices: null
7575
id: 7ba4da6f-9043-42f7-9645-8fe5548d9480
76-
jinja: "{% set ner_num = 2 %}\nVoici le titre d'un article scientifique m\xE9\
76+
jinja: "{% set ner_num = 4 %}\nVoici le titre d'un article scientifique m\xE9\
7777
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
7878
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
7979
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -96,7 +96,7 @@ templates:
9696
a428821a-cba4-4c43-aeba-f4a5c95beec4: !Template
9797
answer_choices: null
9898
id: a428821a-cba4-4c43-aeba-f4a5c95beec4
99-
jinja: "{% set ner_num = 4 %}\nVoici le titre d'un article scientifique m\xE9\
99+
jinja: "{% set ner_num = 2 %}\nVoici le titre d'un article scientifique m\xE9\
100100
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
101101
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
102102
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -158,7 +158,7 @@ templates:
158158
a6b1d3a2-9be4-4286-b921-fb1a1e59a541: !Template
159159
answer_choices: null
160160
id: a6b1d3a2-9be4-4286-b921-fb1a1e59a541
161-
jinja: "{% set ner_num = 3 %}\nVoici le titre d'un article scientifique m\xE9\
161+
jinja: "{% set ner_num = 1 %}\nVoici le titre d'un article scientifique m\xE9\
162162
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
163163
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
164164
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -181,7 +181,7 @@ templates:
181181
ac549f30-b4c3-4238-8aef-dbcf0fb64bd6: !Template
182182
answer_choices: null
183183
id: ac549f30-b4c3-4238-8aef-dbcf0fb64bd6
184-
jinja: "{% set ner_num = 7 %}\nVoici le titre d'un article scientifique m\xE9\
184+
jinja: "{% set ner_num = 6 %}\nVoici le titre d'un article scientifique m\xE9\
185185
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
186186
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
187187
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -204,7 +204,7 @@ templates:
204204
c2fb4614-8321-4e74-bfdf-50535e0aab64: !Template
205205
answer_choices: null
206206
id: c2fb4614-8321-4e74-bfdf-50535e0aab64
207-
jinja: "{% set ner_num = 1 %}\nVoici le titre d'un article scientifique m\xE9\
207+
jinja: "{% set ner_num = 3 %}\nVoici le titre d'un article scientifique m\xE9\
208208
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
209209
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
210210
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\
@@ -250,7 +250,7 @@ templates:
250250
eb5b6f69-6834-4301-a153-546033427be1: !Template
251251
answer_choices: null
252252
id: eb5b6f69-6834-4301-a153-546033427be1
253-
jinja: "{% set ner_num = 8 %}\nVoici le titre d'un article scientifique m\xE9\
253+
jinja: "{% set ner_num = 7 %}\nVoici le titre d'un article scientifique m\xE9\
254254
dical :\n\"{% for idx in range(words|length) %}{{ words[idx] }}{% if idx+1 <\
255255
\ words|length %}{% if (words[idx+1] not in \"])'/\u2019.,%-\u20AC$\xA3\\\"\
256256
)\" and words[idx][-1] not in \"'[(/\u2019-\") %} {% endif %}{% endif %}{% endfor\

0 commit comments

Comments
 (0)