Skip to content

xcopa ID prompt translation #796

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 9 commits into
base: eval-hackathon
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 31 additions & 31 deletions promptsource/templates/xcopa/id/templates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ templates:
1a87b487-1570-4873-aed9-b84d2fc0476c: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: 1a87b487-1570-4873-aed9-b84d2fc0476c
jinja: "{{ premise }} \n\nI am hesitating between two options. Help me choose\
\ the more likely {% if question == \"cause\" %}cause: {% else %}effect: {%\
\ endif %}\n- {{choice1}}\n- {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label]\
\ }}{%endif%}"
jinja: "{{ premise }} \n\nSaya kurang yakin di antara dua pilihan ini. Bantu saya\
\ memilih yang paling memungkinkan. {% if question == \"cause\" %} penyebab:\
\ {% else %} efek: {% endif %}\n- {{choice1}}\n- {{choice2}} ||| {% if label\
\ != -1 %}{{ answer_choices[label] }}{%endif%}"
metadata: !TemplateMetadata
choices_in_prompt: true
languages:
Expand All @@ -20,8 +20,8 @@ templates:
336c4c72-40e3-4122-881e-8cd7a1881eec: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: 336c4c72-40e3-4122-881e-8cd7a1881eec
jinja: "{% if question == \"cause\" %} \n{{ premise }} Why? \"{{ answer_choices[0]\
\ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\
jinja: "{% if question == \"cause\" %} \n{{ premise }} Kenapa? \"{{ answer_choices[0]\
\ }}\" atau \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\
\ }}{%endif%}\n{% endif %}"
metadata: !TemplateMetadata
choices_in_prompt: true
Expand All @@ -35,9 +35,9 @@ templates:
482f0b87-e748-4e98-8cc8-a23386bc50c3: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: 482f0b87-e748-4e98-8cc8-a23386bc50c3
jinja: "{{ premise }} \n\nWhat's the best option?\n- {{choice1}}\n- {{choice2}}\n\
\nWe are looking for {% if question == \"cause\" %}a cause {% else %}an effect\
\ {% endif %}\n||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}"
jinja: "{{ premise }} \n\nApa pilihan terbaik?\n- {{choice1}}\n- {{choice2}}\n\
\nKami mencari{% if question == \"cause\" %} alasannya {% else %} efeknya {%\
\ endif %}\n||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}"
metadata: !TemplateMetadata
choices_in_prompt: true
languages:
Expand All @@ -50,10 +50,10 @@ templates:
4a0640a5-c378-422d-879b-7490bc500c8a: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: 4a0640a5-c378-422d-879b-7490bc500c8a
jinja: '{{ premise }} {% if question == "cause" %}because... {% else %}so...
jinja: '{{ premise }} {% if question == "cause" %} karena... {% else %} maka...
{% endif %}

Choose between:
Pilihlah di antara:

- {{choice1}}

Expand All @@ -70,10 +70,10 @@ templates:
78e28a66-a84c-442c-9bf7-44aa49450412: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: 78e28a66-a84c-442c-9bf7-44aa49450412
jinja: '{{ premise }} {% if question == "cause" %} This happened because... {%
else %} As a consequence... {% endif %}
jinja: '{{ premise }} {% if question == "cause" %} Hal ini terjadi dikarenakan...
{% else %} Sebagai konsekuensi... {% endif %}

Help me pick the more plausible option:
Bantu saya memilih opsi yang lebih memungkinkan:

- {{choice1}}

Expand All @@ -90,9 +90,9 @@ templates:
7c0b578c-214f-4dc9-a9b4-252d91691cb0: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: 7c0b578c-214f-4dc9-a9b4-252d91691cb0
jinja: "{% if question == \"effect\" %} \n{{ premise }} As a result, \"{{ answer_choices[0]\
\ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\
\ }}{%endif%}\n{% endif %}"
jinja: "{% if question == \"effect\" %} \n{{ premise }} Sebagai hasilnya, \"{{\
\ answer_choices[0] }}\" atau \"{{ answer_choices[1] }}\"? ||| {% if label !=\
\ -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}"
metadata: !TemplateMetadata
choices_in_prompt: true
languages:
Expand All @@ -105,10 +105,10 @@ templates:
94b5be71-c989-4a62-96d9-a7cb042e83c7: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: 94b5be71-c989-4a62-96d9-a7cb042e83c7
jinja: 'Exercise: choose the most plausible alternative.
jinja: 'Latihan: pilihlah alternatif yang paling memungkinkan.


{{ premise }} {% if question == "cause" %} because... {% else %} so... {% endif
{{ premise }} {% if question == "cause" %} karena... {% else %} maka... {% endif
%}

- {{choice1}}
Expand All @@ -126,8 +126,8 @@ templates:
b308f6ce-673c-44c1-b84d-95a3045229ea: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: b308f6ce-673c-44c1-b84d-95a3045229ea
jinja: '"{{ answer_choices[0] }}" or "{{ answer_choices[1] }}"? {{ premise }}
{% if question == "cause" %} because {% else %} so {% endif %} ||| {% if label
jinja: '"{{ answer_choices[0] }}" atau "{{ answer_choices[1] }}"? {{ premise }}
{% if question == "cause" %} karena {% else %} maka {% endif %} ||| {% if label
!= -1 %}{{ answer_choices[label] }}{% endif %}'
metadata: !TemplateMetadata
choices_in_prompt: true
Expand All @@ -144,8 +144,8 @@ templates:
jinja: '{{ premise }}


Select the most plausible {% if question == "cause" %}cause: {% else %}effect:
{% endif %}
Pilihlah {% if question == "cause" %} penyebab {% else %} efek {% endif %} yang
paling masuk akal:

- {{choice1}}

Expand All @@ -162,8 +162,8 @@ templates:
d8263afb-215f-43c4-83b8-c85744144fdb: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: d8263afb-215f-43c4-83b8-c85744144fdb
jinja: "{% if question == \"cause\" %} \n{{ premise }} Which may be caused by\
\ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\
jinja: "{% if question == \"cause\" %} \n{{ premise }} Mungkin disebabkan oleh\
\ \"{{ answer_choices[0] }}\" atau \"{{ answer_choices[1] }}\"? ||| {% if label\
\ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}"
metadata: !TemplateMetadata
choices_in_prompt: true
Expand All @@ -177,9 +177,9 @@ templates:
eaddf2e0-ead4-456b-8e81-00bdcde8c7b0: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: eaddf2e0-ead4-456b-8e81-00bdcde8c7b0
jinja: "{% if question == \"effect\" %} \n{{ premise }} What could happen next,\
\ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\
\ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}"
jinja: "{% if question == \"effect\" %} \n{{ premise }} Apa yang dapat terjadi\
\ selanjutnya, \"{{ answer_choices[0] }}\" atau \"{{ answer_choices[1] }}\"\
? ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}"
metadata: !TemplateMetadata
choices_in_prompt: true
languages:
Expand All @@ -192,10 +192,10 @@ templates:
ebd4242a-14f2-4aed-a183-dc37a18dfe4b: !Template
answer_choices: '{{choice1}} ||| {{choice2}}'
id: ebd4242a-14f2-4aed-a183-dc37a18dfe4b
jinja: 'Pick the more likely continuation to the following sentence:
jinja: 'Pilihlah kelanjutan yang paling memungkinkan dari kalimat berikut:

{{ premise }} {% if question == "cause" %} as a result of: {% else %} as a consequence:
{% endif %}
{{ premise }} {% if question == "cause" %} sebagai hasil dari: {% else %} sebagai
konsekuensinya: {% endif %}

- {{choice1}}

Expand Down