@@ -4,11 +4,11 @@ templates:
44 34a46bfe-97eb-44f7-abfc-b22b944be59f : !Template
55 answer_choices : null
66 id : 34a46bfe-97eb-44f7-abfc-b22b944be59f
7- jinja : " {% set ner_num = 9 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
7+ jinja : " {% set ner_num = 9 %}\n Voici un extrait d' 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 %}\"\n Lister tous les appareils mentionn\xE9 \
11- s dans cette notice : |||\n {% for idx in range(ner_tags|length) %}{% if ner_tags[idx]\
11+ s dans cet extrait : |||\n {% for idx in range(ner_tags|length) %}{% if ner_tags[idx]\
1212 \ == ner_num %}{{ words[idx] }}{% endif %}{% if idx+1 < ner_tags|length %}{%\
1313 \ if ner_tags[idx] == ner_num %}{% if ner_tags[idx+1] != ner_num %}\n {% else\
1414 \ %} {% endif %}{% endif %}{% endif %}{% endfor %}"
@@ -26,11 +26,11 @@ templates:
2626 36316877-8a0d-433a-b0d8-ac426a9ee922 : !Template
2727 answer_choices : null
2828 id : 36316877-8a0d-433a-b0d8-ac426a9ee922
29- jinja : " {% set ner_num = 8 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
29+ jinja : " {% set ner_num = 8 %}\n Voici un extrait d' 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 %}\"\n Lister toutes les zones g\xE9 \
33- ographiques qui sont mentionn\xE9 es dans cette notice : ||| \n {% for idx in\
33+ ographiques qui sont mentionn\xE9 es dans cet extrait : ||| \n {% for idx in\
3434 \ range(ner_tags|length) %}{% if ner_tags[idx] == ner_num %}{{ words[idx] }}{%\
3535 \ endif %}{% if idx+1 < ner_tags|length %}{% if ner_tags[idx] == ner_num %}{%\
3636 \ if ner_tags[idx+1] != ner_num %}\n {% else %} {% endif %}{% endif %}{% endif\
@@ -49,11 +49,11 @@ templates:
4949 471abd04-f81f-4546-80cf-28a2a1db54e6 : !Template
5050 answer_choices : null
5151 id : 471abd04-f81f-4546-80cf-28a2a1db54e6
52- jinja : " {% set ner_num = 10 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
52+ jinja : " {% set ner_num = 10 %}\n Voici un extrait d' 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 %}\"\n Lister tous les objets mentionn\xE9 \
56- s dans cette notice : |||\n {% for idx in range(ner_tags|length) %}{% if ner_tags[idx]\
56+ s dans cet extrait : |||\n {% for idx in range(ner_tags|length) %}{% if ner_tags[idx]\
5757 \ == ner_num %}{{ words[idx] }}{% endif %}{% if idx+1 < ner_tags|length %}{%\
5858 \ if ner_tags[idx] == ner_num %}{% if ner_tags[idx+1] != ner_num %}\n {% else\
5959 \ %} {% endif %}{% endif %}{% endif %}{% endfor %}"
@@ -71,11 +71,11 @@ templates:
7171 7ba4da6f-9043-42f7-9645-8fe5548d9480 : !Template
7272 answer_choices : null
7373 id : 7ba4da6f-9043-42f7-9645-8fe5548d9480
74- jinja : " {% set ner_num = 4 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
74+ jinja : " {% set ner_num = 4 %}\n Voici un extrait d' 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 %}\"\n Lister tous les \xEA tres vivants\
78- \ qui sont mentionn\xE9 s dans cette notice : ||| \n {% for idx in range(ner_tags|length)\
78+ \ qui sont mentionn\xE9 s dans cet extrait : ||| \n {% for idx in range(ner_tags|length)\
7979 \ %}{% if ner_tags[idx] == ner_num %}{{ words[idx] }}{% endif %}{% if idx+1\
8080 \ < ner_tags|length %}{% if ner_tags[idx] == ner_num %}{% if ner_tags[idx+1]\
8181 \ != ner_num %}\n {% else %} {% endif %}{% endif %}{% endif %}{% endfor %}"
@@ -93,11 +93,11 @@ templates:
9393 a428821a-cba4-4c43-aeba-f4a5c95beec4 : !Template
9494 answer_choices : null
9595 id : a428821a-cba4-4c43-aeba-f4a5c95beec4
96- jinja : " {% set ner_num = 2 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
96+ jinja : " {% set ner_num = 2 %}\n Voici un extrait d' 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 %}\"\n Lister toutes les proc\xE9 dures\
100- \ m\xE9 dicales qui sont mentionn\xE9 es dans cette notice : ||| \n {% for idx\
100+ \ m\xE9 dicales qui sont mentionn\xE9 es dans cet extrait : ||| \n {% for idx\
101101 \ in range(ner_tags|length) %}{% if ner_tags[idx] == ner_num %}{{ words[idx]\
102102 \ }}{% endif %}{% if idx+1 < ner_tags|length %}{% if ner_tags[idx] == ner_num\
103103 \ %}{% if ner_tags[idx+1] != ner_num %}\n {% else %} {% endif %}{% endif %}{%\
@@ -125,7 +125,7 @@ templates:
125125 \ %}{{ entities[-1].append(words[idx])|default(\"\" , True) }}{% endif %}{{\
126126 \ prev_entities.append(ner_tags[idx])|default(\"\" , True) }}{% endfor %}{% set\
127127 \ rand_idx = range(entities|length)|random %}{% if entities|length > 0 %}\n \
128- Voici une notice patient :\n\" {% for idx in range(words|length) %}{{ words[idx]\
128+ Voici un extrait d' une notice patient :\n\" {% for idx in range(words|length) %}{{ words[idx]\
129129 \ }}{% if idx+1 < words|length %}{% if (words[idx+1] not in \" ])'/\u2019 .,%-\u20AC \
130130 $\xA3\\\" )\" and words[idx][-1] not in \" '[(/\u2019 -\" ) %} {% endif %}{% endif\
131131 \ %}{% endfor %}{% endif %}\"\n\n Quel est le type de \" {% for idx in range(entities[rand_idx]|length)\
@@ -135,13 +135,13 @@ templates:
135135 \ %}{% endfor %}\" parmi \" partie du corps\" , \"\xEA tre vivant\" , \" sympt\xF4 \
136136 me ou maladie\" , \" proc\xE9 dure m\xE9 dicale\" , \" composant chimique ou m\xE9 \
137137 dicament\" , \" zone g\xE9 ographique\" , \" physiologie\" , \" ph\xE9 nom\xE8 ne\" ,\
138- \ \" objet\" ou \" appareil\" ? \n ||| {% if entity_types[rand_idx] == 1 %}partie\
139- \ du corps{%elif entity_types[rand_idx] == 2 %}\xEA tre vivant{%elif entity_types[rand_idx]\
140- \ == 3 %}sympt\xF4 me ou maladie{%elif entity_types[rand_idx] == 4 %}proc\xE9 \
138+ \ \" objet\" ou \" appareil\" ? \n ||| {% if entity_types[rand_idx] == 3 %}partie\
139+ \ du corps{%elif entity_types[rand_idx] == 4 %}\xEA tre vivant{%elif entity_types[rand_idx]\
140+ \ == 1 %}sympt\xF4 me ou maladie{%elif entity_types[rand_idx] == 2 %}proc\xE9 \
141141 dure m\xE9 dicale{%elif entity_types[rand_idx] == 5 %}composant chimique ou m\xE9 \
142- dicament{%elif entity_types[rand_idx] == 6 %}zone g\xE9 ographique{%elif entity_types[rand_idx]\
143- \ == 7 %}physiologie{%elif entity_types[rand_idx] == 8 %}ph\xE9 nom\xE8 ne{%elif\
144- \ entity_types[rand_idx] == 9 %}objet{%elif entity_types[rand_idx] == 10 %}appareil{%\
142+ dicament{%elif entity_types[rand_idx] == 8 %}zone g\xE9 ographique{%elif entity_types[rand_idx]\
143+ \ == 6 %}physiologie{%elif entity_types[rand_idx] == 7 %}ph\xE9 nom\xE8 ne{%elif\
144+ \ entity_types[rand_idx] == 10 %}objet{%elif entity_types[rand_idx] == 9 %}appareil{%\
145145 \ else %}none{%endif%}"
146146 metadata : !TemplateMetadata
147147 choices_in_prompt : true
@@ -155,11 +155,11 @@ templates:
155155 a6b1d3a2-9be4-4286-b921-fb1a1e59a541 : !Template
156156 answer_choices : null
157157 id : a6b1d3a2-9be4-4286-b921-fb1a1e59a541
158- jinja : " {% set ner_num = 1 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
158+ jinja : " {% set ner_num = 1 %}\n Voici un extrait d' 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 %}\"\n Lister tous les sympt\xF4 mes et\
162- \ les maladies qui sont mentionn\xE9 s dans cette notice : ||| \n {% for idx in\
162+ \ les maladies qui sont mentionn\xE9 s dans cet extrait : ||| \n {% for idx in\
163163 \ range(ner_tags|length) %}{% if ner_tags[idx] == ner_num %}{{ words[idx] }}{%\
164164 \ endif %}{% if idx+1 < ner_tags|length %}{% if ner_tags[idx] == ner_num %}{%\
165165 \ if ner_tags[idx+1] != ner_num %}\n {% else %} {% endif %}{% endif %}{% endif\
@@ -178,11 +178,11 @@ templates:
178178 ac549f30-b4c3-4238-8aef-dbcf0fb64bd6 : !Template
179179 answer_choices : null
180180 id : ac549f30-b4c3-4238-8aef-dbcf0fb64bd6
181- jinja : " {% set ner_num = 6 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
181+ jinja : " {% set ner_num = 6 %}\n Voici un extrait d' 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 %}\"\n Lister tous les mots \xE9 voquant\
185- \ la physiologie humaine qui sont mentionn\xE9 s dans cette notice : ||| \n {%\
185+ \ la physiologie humaine qui sont mentionn\xE9 s dans cet extrait : ||| \n {%\
186186 \ for idx in range(ner_tags|length) %}{% if ner_tags[idx] == ner_num %}{{ words[idx]\
187187 \ }}{% endif %}{% if idx+1 < ner_tags|length %}{% if ner_tags[idx] == ner_num\
188188 \ %}{% if ner_tags[idx+1] != ner_num %}\n {% else %} {% endif %}{% endif %}{%\
@@ -201,11 +201,11 @@ templates:
201201 c2fb4614-8321-4e74-bfdf-50535e0aab64 : !Template
202202 answer_choices : null
203203 id : c2fb4614-8321-4e74-bfdf-50535e0aab64
204- jinja : " {% set ner_num = 3 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
204+ jinja : " {% set ner_num = 3 %}\n Voici un extrait d' 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 %}\"\n Lister toutes les parties du corps\
208- \ qui sont mentionn\xE9 es dans cette notice : ||| \n {% for idx in range(ner_tags|length)\
208+ \ qui sont mentionn\xE9 es dans cet extrait : ||| \n {% for idx in range(ner_tags|length)\
209209 \ %}{% if ner_tags[idx] == ner_num %}{{ words[idx] }}{% endif %}{% if idx+1\
210210 \ < ner_tags|length %}{% if ner_tags[idx] == ner_num %}{% if ner_tags[idx+1]\
211211 \ != ner_num %}\n {% else %} {% endif %}{% endif %}{% endif %}{% endfor %}"
@@ -223,11 +223,11 @@ templates:
223223 cd73f07e-acab-4150-a677-5442b4ca4d31 : !Template
224224 answer_choices : null
225225 id : cd73f07e-acab-4150-a677-5442b4ca4d31
226- jinja : " {% set ner_num = 5 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
226+ jinja : " {% set ner_num = 5 %}\n Voici un extrait d' une notice patient :\n\" {% for idx in range(words|length)\
227227 \ %}{{ words[idx] }}{% if idx+1 < words|length %}{% if (words[idx+1] not in\
228228 \ \" ])'/\u2019 .,%-\u20AC $\xA3\\\" )\" and words[idx][-1] not in \" '[(/\u2019 \
229229 -\" ) %} {% endif %}{% endif %}{% endfor %}\"\n Lister tous les composants chimiques\
230- \ et les m\xE9 dicaments qui sont mentionn\xE9 s dans cette notice : ||| \n {%\
230+ \ et les m\xE9 dicaments qui sont mentionn\xE9 s dans cet extrait : ||| \n {%\
231231 \ for idx in range(ner_tags|length) %}{% if ner_tags[idx] == ner_num %}{{ words[idx]\
232232 \ }}{% endif %}{% if idx+1 < ner_tags|length %}{% if ner_tags[idx] == ner_num\
233233 \ %}{% if ner_tags[idx+1] != ner_num %}\n {% else %} {% endif %}{% endif %}{%\
@@ -246,11 +246,11 @@ templates:
246246 eb5b6f69-6834-4301-a153-546033427be1 : !Template
247247 answer_choices : null
248248 id : eb5b6f69-6834-4301-a153-546033427be1
249- jinja : " {% set ner_num = 7 %}\n Voici une notice patient :\n\" {% for idx in range(words|length)\
249+ jinja : " {% set ner_num = 7 %}\n Voici un extrait d' 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 %}\"\n Lister tous les ph\xE9 nom\xE8 \
253- nes physiologiques mentionn\xE9 s dans cette notice : |||\n {% for idx in range(ner_tags|length)\
253+ nes physiologiques mentionn\xE9 s dans cet extrait : |||\n {% for idx in range(ner_tags|length)\
254254 \ %}{% if ner_tags[idx] == ner_num %}{{ words[idx] }}{% endif %}{% if idx+1\
255255 \ < ner_tags|length %}{% if ner_tags[idx] == ner_num %}{% if ner_tags[idx+1]\
256256 \ != ner_num %}\n {% else %} {% endif %}{% endif %}{% endif %}{% endfor %}"
0 commit comments