From 77abd60f753e4d591f1ae36efeb743e125862951 Mon Sep 17 00:00:00 2001 From: shadieq Date: Wed, 23 Aug 2023 10:01:45 +0000 Subject: [PATCH] update template --- .../emotcmt_nusantara_text/templates.yaml | 79 ++++ .../emotcmt/emotcmt_source/templates.yaml | 19 + .../templates.yaml | 8 +- .../id_abusive_nusantara_text/templates.yaml | 6 +- .../id_abusive_nusantara_text/templates.yaml | 52 +++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 227 ++++++++++ .../templates.yaml | 219 ++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 219 ++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 387 +++++++++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 212 ++++++++++ .../templates.yaml | 219 ++++++++++ .../templates.yaml | 141 +++++++ .../templates.yaml | 214 ++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 388 ++++++++++++++++++ .../templates.yaml | 387 +++++++++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 212 ++++++++++ .../templates.yaml | 214 ++++++++++ .../templates.yaml | 219 ++++++++++ .../templates.yaml | 289 +++++++++++++ .../templates.yaml | 374 +++++++++++++++++ .../templates.yaml | 318 ++++++++++++++ .../templates.yaml | 182 ++++++++ .../templates.yaml | 319 ++++++++++++++ .../templates.yaml | 318 ++++++++++++++ .../templates.yaml | 192 +++++++++ .../templates.yaml | 319 ++++++++++++++ .../templates.yaml | 61 +++ .../templates.yaml | 182 ++++++++ .../templates.yaml | 319 ++++++++++++++ .../templates.yaml | 319 ++++++++++++++ .../templates.yaml | 193 +++++++++ .../smsa/smsa_nusantara_text/templates.yaml | 8 +- .../su_emot_nusantara_text/templates.yaml | 8 +- 50 files changed, 11101 insertions(+), 15 deletions(-) create mode 100644 indo_promptsource/promptsource/templates/emotcmt/emotcmt_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/emotcmt/emotcmt_source/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/id_abusive_news_comment/id_abusive_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_abs_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_bew_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_btk_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_jav_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mad_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mak_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_min_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mui_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_rej_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_sun_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_abs_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_bew_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_btk_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_abs_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_bew_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_btk_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_jav_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mad_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mak_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_source/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mui_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_rej_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_sun_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_jav_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mad_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mak_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_min_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_msa_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_rej_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_sun_ind_nusantara_t2t/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_abs_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bew_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bhp_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_btk_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_jav_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mad_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mak_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_min_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mui_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_rej_nusantara_text/templates.yaml create mode 100644 indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_sun_nusantara_text/templates.yaml diff --git a/indo_promptsource/promptsource/templates/emotcmt/emotcmt_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/emotcmt/emotcmt_nusantara_text/templates.yaml new file mode 100644 index 0000000..6b36724 --- /dev/null +++ b/indo_promptsource/promptsource/templates/emotcmt/emotcmt_nusantara_text/templates.yaml @@ -0,0 +1,79 @@ +dataset: emot +subset: emot_nusantara_text +templates: + 98f07ca1-6098-4a3a-94ac-4f878d289ffc: !Template + answer_choices: cinta ||| takut ||| sedih ||| senang ||| marah + id: 98f07ca1-6098-4a3a-94ac-4f878d289ffc + jinja: "apa emosi yang ingin diekspresikan oleh kalimat {{text}}?\n\n |||\n\ + \n {{answer_choices[label]}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: emot_nusantara_template_1 + reference: '' + 4f2409e0-928c-4ba6-8960-48c320e7c25f: !Template + answer_choices: cinta ||| takut ||| sedih ||| senang ||| marah + id: 4f2409e0-928c-4ba6-8960-48c320e7c25f + jinja: '' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: emot_4 + reference: '' + 75cf0f36-862a-470b-90fc-57c31de3589b: !Template + answer_choices: cinta ||| takut ||| sedih ||| senang ||| marah + id: 75cf0f36-862a-470b-90fc-57c31de3589b + jinja: 'Tentukan emosi yang diekspresikan oleh kalimat berikut + + Kalimat: {{text}} + + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: emot_1 + reference: '' + 847fb18b-f901-4984-bc61-540aad6a969a: !Template + answer_choices: cinta ||| takut ||| sedih ||| senang ||| marah + id: 847fb18b-f901-4984-bc61-540aad6a969a + jinja: '{{text}} + + Perasaan apa yang diekspresikan oleh kalimat diatas? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: emot_3 + reference: '' + a54b6f53-43b9-48ac-b45e-c14d319d98e7: !Template + answer_choices: cinta ||| takut ||| sedih ||| senang ||| marah + id: a54b6f53-43b9-48ac-b45e-c14d319d98e7 + jinja: '{{text}} + + Emosi apa yang diekspresikan oleh kalimat diatas? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: emot_2 + reference: '' + diff --git a/indo_promptsource/promptsource/templates/emotcmt/emotcmt_source/templates.yaml b/indo_promptsource/promptsource/templates/emotcmt/emotcmt_source/templates.yaml new file mode 100644 index 0000000..f252f97 --- /dev/null +++ b/indo_promptsource/promptsource/templates/emotcmt/emotcmt_source/templates.yaml @@ -0,0 +1,19 @@ +dataset: emot +subset: emot_source +templates: + 347d7216-3baa-45cf-8e34-ef9785a00a48: !Template + answer_choices: null + id: 347d7216-3baa-45cf-8e34-ef9785a00a48 + jinja: 'apa emosi yang ingin diekspresikan oleh kalimat {{text}? + + ||| + + {{label}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: emot_5 + reference: '' + \ No newline at end of file diff --git a/indo_promptsource/promptsource/templates/emotion_id_opinion/emotion_id_opinion_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/emotion_id_opinion/emotion_id_opinion_nusantara_text/templates.yaml index c74cd34..65cfd3b 100644 --- a/indo_promptsource/promptsource/templates/emotion_id_opinion/emotion_id_opinion_nusantara_text/templates.yaml +++ b/indo_promptsource/promptsource/templates/emotion_id_opinion/emotion_id_opinion_nusantara_text/templates.yaml @@ -4,7 +4,7 @@ templates: 98f07ca1-6098-4a3a-94ac-4f878d289ffc: !Template answer_choices: Joy ||| Love ||| Fear ||| Anger ||| Sad ||| Neutral id: 98f07ca1-6098-4a3a-94ac-4f878d289ffc - jinja: "apa emosi yang ingin diekspresikan oleh kalimat {{tweet}}?\n\n |||\n\ + jinja: "apa emosi yang ingin diekspresikan oleh kalimat {{text}}?\n\n |||\n\ \n {{answer_choices[label]}}" metadata: !TemplateMetadata choices_in_prompt: false @@ -29,7 +29,7 @@ templates: id: 75cf0f36-862a-470b-90fc-57c31de3589b jinja: 'Tentukan emosi yang diekspresikan oleh kalimat berikut - Kalimat: {{tweet}} + Kalimat: {{text}} ||| @@ -45,7 +45,7 @@ templates: 847fb18b-f901-4984-bc61-540aad6a969a: !Template answer_choices: Joy ||| Love ||| Fear ||| Anger ||| Sad ||| Neutral id: 847fb18b-f901-4984-bc61-540aad6a969a - jinja: '{{tweet}} + jinja: '{{text}} Perasaan apa yang diekspresikan oleh kalimat diatas? @@ -62,7 +62,7 @@ templates: a54b6f53-43b9-48ac-b45e-c14d319d98e7: !Template answer_choices: Joy ||| Love ||| Fear ||| Anger ||| Sad ||| Neutral id: a54b6f53-43b9-48ac-b45e-c14d319d98e7 - jinja: '{{tweet}} + jinja: '{{text}} Emosi apa yang diekspresikan oleh kalimat diatas? diff --git a/indo_promptsource/promptsource/templates/id_abusive/id_abusive_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/id_abusive/id_abusive_nusantara_text/templates.yaml index f5ccdc5..43e6037 100644 --- a/indo_promptsource/promptsource/templates/id_abusive/id_abusive_nusantara_text/templates.yaml +++ b/indo_promptsource/promptsource/templates/id_abusive/id_abusive_nusantara_text/templates.yaml @@ -4,7 +4,7 @@ templates: 4dcca527-bda4-48a5-a14b-2a3a81101b02: !Template answer_choices: not_abusive ||| abusive ||| abusive_and_offensive id: 4dcca527-bda4-48a5-a14b-2a3a81101b02 - jinja: 'Apakah kalimat {{tweet}} bersifat abusive? + jinja: 'Apakah kalimat {{text}} bersifat abusive? ||| @@ -19,7 +19,7 @@ templates: 6eed6c3b-7f8c-498b-b922-00e414770395: !Template answer_choices: not_abusive ||| abusive ||| abusive_and_offensive id: 6eed6c3b-7f8c-498b-b922-00e414770395 - jinja: '{{tweet}} + jinja: '{{text}} Apakah kalimat diatas mengandung unsur abusive atau tidak? @@ -38,7 +38,7 @@ templates: id: 707f561a-2a35-4c33-88c0-fbce20e70666 jinja: 'Tentukan apakah kalimat berikut terindikasi abusive dan offensif - Kalimat: {{tweet}} + Kalimat: {{text}} ||| diff --git a/indo_promptsource/promptsource/templates/id_abusive_news_comment/id_abusive_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/id_abusive_news_comment/id_abusive_nusantara_text/templates.yaml new file mode 100644 index 0000000..348f286 --- /dev/null +++ b/indo_promptsource/promptsource/templates/id_abusive_news_comment/id_abusive_nusantara_text/templates.yaml @@ -0,0 +1,52 @@ +dataset: id_abusive +subset: id_abusive_nusantara_text +templates: + 4dcca527-bda4-48a5-a14b-2a3a81101b02: !Template + answer_choices: not_abusive ||| abusive ||| abusive_and_offensive + id: 4dcca527-bda4-48a5-a14b-2a3a81101b02 + jinja: 'Apakah kalimat {{text bersifat abusive? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: id_abusive_3 + reference: '' + 6eed6c3b-7f8c-498b-b922-00e414770395: !Template + answer_choices: not_abusive ||| abusive ||| abusive_and_offensive + id: 6eed6c3b-7f8c-498b-b922-00e414770395 + jinja: '{{text + + Apakah kalimat diatas mengandung unsur abusive atau tidak? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: id_abusive_2 + reference: '' + 707f561a-2a35-4c33-88c0-fbce20e70666: !Template + answer_choices: not_abusive ||| abusive ||| abusive_and_offensive + id: 707f561a-2a35-4c33-88c0-fbce20e70666 + jinja: 'Tentukan apakah kalimat berikut terindikasi abusive dan offensif + + Kalimat: {{text + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: id_abusive_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_abs_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_abs_nusantara_text/templates.yaml new file mode 100644 index 0000000..6eec55f --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_abs_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_btk_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_bew_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_bew_nusantara_text/templates.yaml new file mode 100644 index 0000000..6eec55f --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_bew_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_btk_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_btk_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_btk_nusantara_text/templates.yaml new file mode 100644 index 0000000..6eec55f --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_btk_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_btk_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_jav_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_jav_nusantara_text/templates.yaml new file mode 100644 index 0000000..c08f818 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_jav_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_jav_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mad_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mad_nusantara_text/templates.yaml new file mode 100644 index 0000000..26ec2ee --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mad_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_mad_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mak_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mak_nusantara_text/templates.yaml new file mode 100644 index 0000000..84bdf29 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mak_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_mak_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_min_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_min_nusantara_text/templates.yaml new file mode 100644 index 0000000..4950908 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_min_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_min_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mui_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mui_nusantara_text/templates.yaml new file mode 100644 index 0000000..a6af9de --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_mui_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_mui_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_nusantara_text/templates.yaml new file mode 100644 index 0000000..ca976d0 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_rej_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_rej_nusantara_text/templates.yaml new file mode 100644 index 0000000..6eec55f --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_rej_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_btk_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_sun_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_sun_nusantara_text/templates.yaml new file mode 100644 index 0000000..6eec55f --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_emot/nusatranslation_emot_sun_nusantara_text/templates.yaml @@ -0,0 +1,227 @@ +dataset: nusatranslation_emot +subset: nusatranslation_emot_btk_nusantara_text +templates: + 87686dfb-bcda-4e75-84e0-c4061b9871a7: !Template + answer_choices: iya|||tidak + id: 87686dfb-bcda-4e75-84e0-c4061b9871a7 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}sahappyd{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %}? + + Teks: {{text}} + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format + reference: '' + ce2119a6-3233-47a0-a916-45c9f58e11f8: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce2119a6-3233-47a0-a916-45c9f58e11f8 + jinja: "Kategorikan teks berikut menjadi salah satu dari kategori: fear, sadness,\ + \ sad, happy, love, surprise, shame. \nTeks: {{text}}\nKategori: ||| {% if\ + \ label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{%\n\ + \ elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{%\n\ + \ elif label == 4 %}{{answer_choices[4]}}{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategorikan + reference: '' + 5759d080-2934-463a-b81c-4547391e04fd: !Template + answer_choices: iya|||tidak + id: 5759d080-2934-463a-b81c-4547391e04fd + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% endif %} + + Teks: {{text}} + + Pilihan jawaban: iya/tidak|||{% if label == _unsur %}{{answer_choices[0]}}{% + else %}{{answer_choices[1]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_with_choices + reference: '' + 04ae9595-12fa-4c5e-af31-3dfadeffffa2: !Template + answer_choices: iya|||tidak + id: 04ae9595-12fa-4c5e-af31-3dfadeffffa2 + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Q: Apakah teks berikut + mengandung unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif + _unsur == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif + _unsur == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}} + + Pilihan jawaban: iya/tidak + + A: |||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur_qa_format_with_choices + reference: '' + 0f475b61-51d4-40e0-8f58-29903e38734c': !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 0f475b61-51d4-40e0-8f58-29903e38734c' + jinja: 'Teks: {{text}} + + Pertanyaan: Tipe perasaan apa yang paling cocok untuk mendeskripsikan teks di + atas? Pilihan perasaan: + + - fear + + - sadness + + - happy + + - anger + + - love + + A:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %} + + ' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: context_qa + reference: '' + 7561af5e-d453-4d2f-a577-11e45188f0d5: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 7561af5e-d453-4d2f-a577-11e45188f0d5 + jinja: 'Teks: {{text}} + + Pilihan kategori: fear, sadness, sad, happy, love, surprise, shame + + Q: Apakah kategori dari pilihan kategori di atas yang paling cocok untuk teks + di atas? + + A: ||| {% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: qa_format + reference: '' + 24e63774-40f1-4446-ba01-5b28c1862f6e: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: 24e63774-40f1-4446-ba01-5b28c1862f6e + jinja: 'Klasifikasikan teks sebagai salah satu kategori berikut: + + - fear + + - sadness + + - happy + + - anger + + - love + + Teks: {{text}} + + Kategori:|||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: classification + reference: '' + 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb: !Template + answer_choices: iya|||tidak + id: 8677ba3f-ed79-41d9-a6fc-b01cd74cefeb + jinja: '{% set _unsur = [0, 1, 2, 3, 4] |random %} Apakah teks berikut mengandung + unsur {% if _unsur == 0 %}fear{% elif _unsur == 1 %}sadness{% elif _unsur + == 2 %}happy{% elif _unsur == 3 %}anger{% elif _unsur == 4 %}love{% elif _unsur + == 5 %}surprise{% elif _unsur == 6 %}shame{% endif %}? + + Teks: {{text}}|||{% if label == _unsur %}{{answer_choices[0]}}{% else %}{{answer_choices[1]}}{% + endif %}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: unsur + reference: '' + ce75eaff-4fab-4611-9450-f7cddbfbf68c: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: ce75eaff-4fab-4611-9450-f7cddbfbf68c + jinja: 'Kategori apa yang paling cocok untuk teks berikut? + + Teks: {{text}} + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: kategori_cocok + reference: '' + a7a272db-981d-4dc6-99c1-5bc500ff891f: !Template + answer_choices: fear|||sadness|||happy|||anger|||love + id: a7a272db-981d-4dc6-99c1-5bc500ff891f + jinja: 'Pertanyaan: kategori apa yang cocok untuk teks berikut? + + Pilihan Kategori: fear, sadness, sad, happy, love, surprise, shame + + Teks: {{text}} + + Kategori: |||{% if label == 0 %}{{answer_choices[0]}}{% elif label == 1 %}{{answer_choices[1]}}{% + elif label == 2 %}{{answer_choices[2]}}{% elif label == 3 %}{{answer_choices[3]}}{% + elif label == 4 %}{{answer_choices[4]}}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: post_qa_format + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_abs_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_abs_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..dfad8a8 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_abs_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,219 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_abs_ind_nusantara_t2t +templates: + 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b: !Template + answer_choices: null + id: 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b + jinja: 'Apa terjemahan bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" + +%}Ambon{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{% endif %}, jika diberikan teks berikut? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_8 + reference: '' + 26614f2c-162b-4dbb-8a4c-4895607b881a: !Template + answer_choices: null + id: 26614f2c-162b-4dbb-8a4c-4895607b881a + jinja: 'Apa padanan terjemahan dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{%+ endif +%} untuk text berikut dalam + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% + endif %}? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_10 + reference: '' + 3d8630dc-610f-4098-abb7-9d1c33796d4c: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Diberikan teks {{text_1}} dalam bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="abs" +%}Ambon{%+ endif +%}, buatkan padanannya dalam + bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_1 + reference: '' + 52ea76f4-bd22-4d4a-b116-576e5f2f008f: !Template + answer_choices: null + id: 52ea76f4-bd22-4d4a-b116-576e5f2f008f + jinja: 'Jika teks {{text_2}} dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{%+ endif +%} ditranslate kedalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% + endif +%}, apa hasilnya? + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_6 + reference: '' + 53e98f5f-2584-4354-980c-b2a2508f901f: !Template + answer_choices: null + id: 53e98f5f-2584-4354-980c-b2a2508f901f + jinja: '"{{text_1}}" + + Tolong buat hasil translate dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{%+ endif +%} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_4 + reference: '' + a9ba2668-9bc9-4703-8fb0-32907a26c9d3: !Template + answer_choices: null + id: a9ba2668-9bc9-4703-8fb0-32907a26c9d3 + jinja: 'Apa hasil translate teks {{text_2}} berbahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{%+ endif +%} dalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% + endif %}? + + ||| + + {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_5 + reference: '' + bd5877c7-36c5-46ac-acc2-526447aa1671: !Template + answer_choices: null + id: bd5877c7-36c5-46ac-acc2-526447aa1671 + jinja: 'Berikan hasil translasi bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="abs" +%}Ambon{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{% endif %}! + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_7 + reference: '' + cdb53117-c084-4018-9ec2-047e5e6d191f: !Template + answer_choices: null + id: cdb53117-c084-4018-9ec2-047e5e6d191f + jinja: 'Boleh tolong translate-in {{text_1}} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{%+ endif +%} ke bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{%+ + endif +%}? + + ||| + + Ya, hasilnya ini: + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_abs_ind_mt_2 + reference: '' + de18b66c-3df9-473a-ae8d-a1fb41c9d576: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Apa hasil translasi dari teks {{text_1}} berbahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{%+ endif +%} dalam bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{% + endif %}? + + ||| + + Hasilnya adalah {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_3 + reference: '' + f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca: !Template + answer_choices: null + id: f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca + jinja: 'Tolong terjemahin teks "{{text_1}}" dong dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% endif %} ke bahasa {%+ + if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{%+ + endif +%}. + + ||| + + "{{text_2}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_abs_ind_mt_9 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_bew_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_bew_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..ffdc7e1 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_bew_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_bew_ind_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25891: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25891 + jinja: 'Bahasa Indonesia: {{text_2}} + + Bahasa betawi: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + 0794ca73-a143-42c8-ad04-52124c04d642: !Template + answer_choices: null + id: 0794ca73-a143-42c8-ad04-52124c04d642 + jinja: '"{{text_1}}" dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a03f: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a03f + jinja: '"{{text_2}}" dalam bahasa betawi: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd58604d: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd58604d + jinja: 'Terjemahkan kalimat berikut ini dari bahasa betawi ke bahasa Indonesia: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d65: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d65 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa betawi: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + 98b2d1c7-f2ce-45cb-982e-c266dfb87032: !Template + answer_choices: null + id: 98b2d1c7-f2ce-45cb-982e-c266dfb87032 + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce352: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce352 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa betawi: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4053: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4053 + jinja: 'Translasi ke bahasa Indonesia: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + 787087ec-23a4-4249-87ed-1495dcccc9c7: !Template + answer_choices: null + id: 787087ec-23a4-4249-87ed-1495dcccc9c7 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||betawi' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + f6191c62-2ca2-4951-a5c0-2002db429239: !Template + answer_choices: null + id: f6191c62-2ca2-4951-a5c0-2002db429239 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + c365af2e-a273-4ed6-97b2-d6d8f17967c1: !Template + answer_choices: null + id: c365af2e-a273-4ed6-97b2-d6d8f17967c1 + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e662512b1: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e662512b1 + jinja: 'Translasi ke bahasa betawi: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c863b: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c863b + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1a8b: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1a8b + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf53e: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf53e + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa betawi?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876028: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876028 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||betawi' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac04: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac04 + jinja: 'Bahasa betawi: {{text_1}} + + Bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b384: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b384 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e785: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e785 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3570: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3570 + jinja: 'Translasikan teks berikut dalam bahasa betawi: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_btk_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_btk_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..e8566e3 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_btk_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_btk_ind_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25812: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25812 + jinja: 'Bahasa Indonesia: {{text_2}} + + Bahasa Batak: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + e7220cad-3f47-4a9c-b3c4-5b82fb636743: !Template + answer_choices: null + id: e7220cad-3f47-4a9c-b3c4-5b82fb636743 + jinja: '"{{text_1}}" dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a05f: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a05f + jinja: '"{{text_2}}" dalam bahasa Batak: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd58606d: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd58606d + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Batak ke bahasa Indonesia: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d85: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d85 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa Batak: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + e85b0194-d9e7-4c41-9a27-91857ddafff0: !Template + answer_choices: null + id: e85b0194-d9e7-4c41-9a27-91857ddafff0 + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce372: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce372 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa Batak: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4073: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4073 + jinja: 'Translasi ke bahasa Indonesia: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + 4962e3d5-a114-4422-bc9b-45a97e47eb44: !Template + answer_choices: null + id: 4962e3d5-a114-4422-bc9b-45a97e47eb44 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||Batak' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + ec667a80-5e48-4d8c-a408-d7262d052533: !Template + answer_choices: null + id: ec667a80-5e48-4d8c-a408-d7262d052533 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + 42215470-adc4-4989-bc25-68a9c4f9876e: !Template + answer_choices: null + id: 42215470-adc4-4989-bc25-68a9c4f9876e + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e662512d1: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e662512d1 + jinja: 'Translasi ke bahasa Batak: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c865b: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c865b + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1a0c: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1a0c + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf55e: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf55e + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa Batak?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876048: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876048 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||Batak' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac24: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac24 + jinja: 'Bahasa Batak: {{text_1}} + + Bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b305: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b305 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e706: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e706 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3590: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3590 + jinja: 'Translasikan teks berikut dalam bahasa Batak: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_abs_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_abs_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..6f49fe0 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_abs_nusantara_t2t/templates.yaml @@ -0,0 +1,219 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_abs_nusantara_t2t +templates: + 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b: !Template + answer_choices: null + id: 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b + jinja: 'Apa terjemahan bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" + +%}Ambon{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{% endif %}, jika diberikan teks berikut? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_8 + reference: '' + 26614f2c-162b-4dbb-8a4c-4895607b881a: !Template + answer_choices: null + id: 26614f2c-162b-4dbb-8a4c-4895607b881a + jinja: 'Apa padanan terjemahan dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{%+ endif +%} untuk text berikut dalam + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% + endif %}? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_10 + reference: '' + 3d8630dc-610f-4098-abb7-9d1c33796d4c: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Diberikan teks {{text_1}} dalam bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="abs" +%}Ambon{%+ endif +%}, buatkan padanannya dalam + bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_1 + reference: '' + 52ea76f4-bd22-4d4a-b116-576e5f2f008f: !Template + answer_choices: null + id: 52ea76f4-bd22-4d4a-b116-576e5f2f008f + jinja: 'Jika teks {{text_2}} dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{%+ endif +%} ditranslate kedalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% + endif +%}, apa hasilnya? + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_6 + reference: '' + 53e98f5f-2584-4354-980c-b2a2508f901f: !Template + answer_choices: null + id: 53e98f5f-2584-4354-980c-b2a2508f901f + jinja: '"{{text_1}}" + + Tolong buat hasil translate dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="abs" +%}Ambon{%+ endif +%} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_4 + reference: '' + a9ba2668-9bc9-4703-8fb0-32907a26c9d3: !Template + answer_choices: null + id: a9ba2668-9bc9-4703-8fb0-32907a26c9d3 + jinja: 'Apa hasil translate teks {{text_2}} berbahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{%+ endif +%} dalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% + endif %}? + + ||| + + {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_5 + reference: '' + bd5877c7-36c5-46ac-acc2-526447aa1671: !Template + answer_choices: null + id: bd5877c7-36c5-46ac-acc2-526447aa1671 + jinja: 'Berikan hasil translasi bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="abs" +%}Ambon{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{% endif %}! + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_7 + reference: '' + cdb53117-c084-4018-9ec2-047e5e6d191f: !Template + answer_choices: null + id: cdb53117-c084-4018-9ec2-047e5e6d191f + jinja: 'Boleh tolong translate-in {{text_1}} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{%+ endif +%} ke bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{%+ + endif +%}? + + ||| + + Ya, hasilnya ini: + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_ind_abs_mt_2 + reference: '' + de18b66c-3df9-473a-ae8d-a1fb41c9d576: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Apa hasil translasi dari teks {{text_1}} berbahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{%+ endif +%} dalam bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{% + endif %}? + + ||| + + Hasilnya adalah {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_3 + reference: '' + f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca: !Template + answer_choices: null + id: f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca + jinja: 'Tolong terjemahin teks "{{text_1}}" dong dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="abs" +%}Ambon{% endif %} ke bahasa {%+ + if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="abs" +%}Ambon{%+ + endif +%}. + + ||| + + "{{text_2}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_ind_abs_mt_9 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_bew_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_bew_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..efdc6ec --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_bew_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_bew_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25819: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25819 + jinja: 'Bahasa Indonesia: {{text_1}} + + Bahasa betawi: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + 92e6e206-c13b-4137-98fc-23d310b29b5b: !Template + answer_choices: null + id: 92e6e206-c13b-4137-98fc-23d310b29b5b + jinja: '"{{text_2}}" dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a0f3: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a0f3 + jinja: '"{{text_1}}" dalam bahasa betawi: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd5860d4: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd5860d4 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa betawi ke bahasa Indonesia: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d56: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d56 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa betawi: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + 7147b837-1985-4329-a46d-7afe0a0e9f86: !Template + answer_choices: null + id: 7147b837-1985-4329-a46d-7afe0a0e9f86 + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce325: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce325 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa betawi: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4035: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4035 + jinja: 'Translasi ke bahasa Indonesia: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + 4d667d7e-5076-4e9e-b7fd-896f4b1b499b: !Template + answer_choices: null + id: 4d667d7e-5076-4e9e-b7fd-896f4b1b499b + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||betawi' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + a1f68640-0dab-4f35-b053-2c611b995ff2: !Template + answer_choices: null + id: a1f68640-0dab-4f35-b053-2c611b995ff2 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + 9261effa-374a-4bea-a7de-ffb872cd1fd1: !Template + answer_choices: null + id: 9261effa-374a-4bea-a7de-ffb872cd1fd1 + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e6625121b: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e6625121b + jinja: 'Translasi ke bahasa betawi: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c86b3: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c86b3 + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1ab8: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1ab8 + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf5e3: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf5e3 + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa betawi?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876082: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876082 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||betawi' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac40: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac40 + jinja: 'Bahasa betawi: {{text_2}} + + Bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b348: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b348 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e758: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e758 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3507: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3507 + jinja: 'Translasikan teks berikut dalam bahasa betawi: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_btk_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_btk_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..70e31ac --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_btk_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_btk_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25821: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25821 + jinja: 'Bahasa Indonesia: {{text_1}} + + Bahasa Batak: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + 60838c8b-7c62-4301-a571-4b97f0bea1dd: !Template + answer_choices: null + id: 60838c8b-7c62-4301-a571-4b97f0bea1dd + jinja: '"{{text_2}}" dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a0f5: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a0f5 + jinja: '"{{text_1}}" dalam bahasa Batak: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd5860d6: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd5860d6 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Batak ke bahasa Indonesia: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d58: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d58 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa Batak: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + f95b9dd1-d035-470c-a65a-a7a3b7f0d4bd: !Template + answer_choices: null + id: f95b9dd1-d035-470c-a65a-a7a3b7f0d4bd + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce327: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce327 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa Batak: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4037: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4037 + jinja: 'Translasi ke bahasa Indonesia: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + e849a8ae-df51-4db7-8b56-7628c7ce88ff: !Template + answer_choices: null + id: e849a8ae-df51-4db7-8b56-7628c7ce88ff + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||Batak' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + 5d968a4f-ab52-4694-bcd0-30ea981a479f: !Template + answer_choices: null + id: 5d968a4f-ab52-4694-bcd0-30ea981a479f + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + 14e0c40f-ae18-441e-aed7-15589a4920f4: !Template + answer_choices: null + id: 14e0c40f-ae18-441e-aed7-15589a4920f4 + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e6625121d: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e6625121d + jinja: 'Translasi ke bahasa Batak: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c86b5: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c86b5 + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1ac0: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1ac0 + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf5e5: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf5e5 + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa Batak?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876084: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876084 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||Batak' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac42: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac42 + jinja: 'Bahasa Batak: {{text_2}} + + Bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b350: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b350 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e760: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e760 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3509: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3509 + jinja: 'Translasikan teks berikut dalam bahasa Batak: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_jav_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_jav_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..aa1e593 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_jav_nusantara_t2t/templates.yaml @@ -0,0 +1,387 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_jav_nusantara_t2t +templates: + eaef7d4b-6e3f-4d0a-98c9-655b4a3a1bc8: !Template + answer_choices: null + id: eaef7d4b-6e3f-4d0a-98c9-655b4a3a1bc8 + jinja: "Apa kalimat bahasa Jawa dari kalimat berikut ini? \n\n{{text_1}} ||| {{text_2}} " + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_2 + reference: '' + 208874f8-9b17-4a4a-88f7-c1ea3f0abd2a: !Template + answer_choices: null + id: 208874f8-9b17-4a4a-88f7-c1ea3f0abd2a + jinja: 'Sentence: {{text_2}} + + Translated version in Indonesian: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_19 + reference: '' + ea344618-6bf6-4440-bf82-4a352ac52b4c: !Template + answer_choices: null + id: ea344618-6bf6-4440-bf82-4a352ac52b4c + jinja: 'Kalimat: {{text_2}} + + Terjemahan Indonesia: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_13 + reference: '' + c1287980-5074-418a-bfc5-b7bab75bc75e: !Template + answer_choices: null + id: c1287980-5074-418a-bfc5-b7bab75bc75e + jinja: "Terjemahkan ke bahasa Jawa: \n\n{{text_1}} ||| {{text_2}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_6 + reference: '' + 2657a02f-2743-4e37-a707-eb0675b18a1d: !Template + answer_choices: null + id: 2657a02f-2743-4e37-a707-eb0675b18a1d + jinja: 'Sentence: {{text_1}} + + Please translate to Javanese ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_22 + reference: '' + eecadf44-e2b5-42cc-987f-fb260d427a9c: !Template + answer_choices: null + id: eecadf44-e2b5-42cc-987f-fb260d427a9c + jinja: '{{text_2}} + + ===== + + What is the Indonesian version? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_18 + reference: '' + f7735ec8-e1d3-45ec-9db9-08f2d6ad3d31: !Template + answer_choices: null + id: f7735ec8-e1d3-45ec-9db9-08f2d6ad3d31 + jinja: 'Indonesian: {{text_1}} + + Javanese: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_21 + reference: '' + 478e5dd6-8e7e-4780-8d79-41ede1d252f0: !Template + answer_choices: null + id: 478e5dd6-8e7e-4780-8d79-41ede1d252f0 + jinja: "Please translate the following sentence to Indonesian \n\n{{text_2}} |||\ + \ {{text_1}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_17 + reference: '' + 9ffcda70-f400-4e17-bba0-cef4e8d67541: !Template + answer_choices: null + id: 9ffcda70-f400-4e17-bba0-cef4e8d67541 + jinja: 'Kalimat: {{text_1}} + + Jawa: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_8 + reference: '' + 372eeb2a-460d-49c8-b749-37666294ef2b: !Template + answer_choices: null + id: 372eeb2a-460d-49c8-b749-37666294ef2b + jinja: '{{text_2}} + + ===== + + Apa bahasa Indonesia nya? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_12 + reference: '' + 1562541b-2c06-4922-af7c-22d1807956e2: !Template + answer_choices: null + id: 1562541b-2c06-4922-af7c-22d1807956e2 + jinja: 'Kalimat: {{text_1}} + + Terjemahan Jawa: ||| {{text_2}} ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_7 + reference: '' + ef661b6d-143b-4f20-9aab-d43111ffeb15: !Template + answer_choices: null + id: ef661b6d-143b-4f20-9aab-d43111ffeb15 + jinja: '{{text_1}} + + ===== + + Apa bahasa Jawa nya? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_5 + reference: '' + 88d7d58a-f66a-4c15-842b-29470d086797: !Template + answer_choices: null + id: 88d7d58a-f66a-4c15-842b-29470d086797 + jinja: 'Sentence: {{text_1}} + + Javanese Translation: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_24 + reference: '' + 0041914a-c196-48b3-b15a-be9a68043a8e: !Template + answer_choices: null + id: 0041914a-c196-48b3-b15a-be9a68043a8e + jinja: 'Tolong translate ke bahasa Jawa: {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_3 + reference: '' + aef63be3-5ce4-4df7-b0bf-7dddc601b269: !Template + answer_choices: null + id: aef63be3-5ce4-4df7-b0bf-7dddc601b269 + jinja: 'Sentence: {{text_2}} + + Indonesian: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_20 + reference: '' + 48cfadf2-6816-4bf6-8d41-673ca612a4e8: !Template + answer_choices: null + id: 48cfadf2-6816-4bf6-8d41-673ca612a4e8 + jinja: '{{text_1}} + + ===== + + What is the Javanese version? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_23 + reference: '' + 19663c20-096b-475d-b015-ca05815de3e2: !Template + answer_choices: null + id: 19663c20-096b-475d-b015-ca05815de3e2 + jinja: '{{text_1}} + + + Apa kalimat bahasa Jawa dari kalimat diatas? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_1 + reference: '' + 139cdaf2-6c56-4ae3-ab08-13765ef98d40: !Template + answer_choices: null + id: 139cdaf2-6c56-4ae3-ab08-13765ef98d40 + jinja: '{{text_2}} + + + Bisa tolong terjemahkan ke bahasa indonesia? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_10 + reference: '' + 446d68bc-51b0-41a8-880a-36475a883e07: !Template + answer_choices: null + id: 446d68bc-51b0-41a8-880a-36475a883e07 + jinja: "Tolong translate kalimat dibawah ke bahasa Indonesia \n\n{{text_2}} |||\ + \ {{text_1}} " + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_11 + reference: '' + 9f9bb6e9-d4af-417d-970c-669babea6b87: !Template + answer_choices: null + id: 9f9bb6e9-d4af-417d-970c-669babea6b87 + jinja: 'Kalimat: {{text_2}} + + Indonesia: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_14 + reference: '' + e615fb15-8e4e-4354-8859-595f8e3a1007: !Template + answer_choices: null + id: e615fb15-8e4e-4354-8859-595f8e3a1007 + jinja: 'Please translate to Indonesian: {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_16 + reference: '' + b42ba142-f7e5-46f0-9187-b0f47baa0c58: !Template + answer_choices: null + id: b42ba142-f7e5-46f0-9187-b0f47baa0c58 + jinja: 'Jawa: {{text_2}} + + Indonesia: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_9 + reference: '' + 7b8e44ec-b416-489a-b3a2-61735731d22a: !Template + answer_choices: null + id: 7b8e44ec-b416-489a-b3a2-61735731d22a + jinja: 'Sentence: {{text_1}} + + Javanese: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_25 + reference: '' + 1f9d75ba-f3bf-4dcd-b73d-dfc0cf442709: !Template + answer_choices: null + id: 1f9d75ba-f3bf-4dcd-b73d-dfc0cf442709 + jinja: 'Kalimat: {{text_1}} + + Tolong translate ke bahasa Jawa ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_jav_prompt_template_4 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mad_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mad_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..dfbf05e --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mad_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: korpus_nusantara +subset: korpus_nusantara_ind_mad_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25820: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25820 + jinja: 'Bahasa Indonesia: {{text_1}} + + Bahasa Madura: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + a249844f-b6b5-40b1-bc49-8d50af722abc: !Template + answer_choices: null + id: a249844f-b6b5-40b1-bc49-8d50af722abc + jinja: '"{{text_2}}" dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a0f4: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a0f4 + jinja: '"{{text_1}}" dalam bahasa Madura: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd5860d5: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd5860d5 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Madura ke bahasa Indonesia: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d57: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d57 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa Madura: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + b1d376ad-a8b2-4526-a2c8-4bafc1062fae: !Template + answer_choices: null + id: b1d376ad-a8b2-4526-a2c8-4bafc1062fae + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce326: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce326 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa Madura: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4036: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4036 + jinja: 'Translasi ke bahasa Indonesia: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + dac25ba1-248f-437f-99b9-a9ac9d7d6f18: !Template + answer_choices: null + id: dac25ba1-248f-437f-99b9-a9ac9d7d6f18 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||Madura' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + e09185fb-ed66-4a37-ba8b-4ae8b5570b51: !Template + answer_choices: null + id: e09185fb-ed66-4a37-ba8b-4ae8b5570b51 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + 151c322a-5956-48b5-862f-01c419124e4f: !Template + answer_choices: null + id: 151c322a-5956-48b5-862f-01c419124e4f + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e6625121c: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e6625121c + jinja: 'Translasi ke bahasa Madura: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c86b4: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c86b4 + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1ab9: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1ab9 + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf5e4: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf5e4 + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa Madura?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876083: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876083 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||Madura' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac41: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac41 + jinja: 'Bahasa Madura: {{text_2}} + + Bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b349: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b349 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e759: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e759 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3508: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3508 + jinja: 'Translasikan teks berikut dalam bahasa Madura: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mak_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mak_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..0adda00 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mak_nusantara_t2t/templates.yaml @@ -0,0 +1,212 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_mak_nusantara_t2t +templates: + 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5: !Template + answer_choices: null + id: 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["mak"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + terjemahan {{_kalimat}} {{_bahasa}} {{_mak}} {{_berikut}} ke bahasa Indonesia? + {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt4 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mak = ["makassar"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text_2}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_mak}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mak = ["makassar"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text_2}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_mak}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e: !Template + answer_choices: null + id: 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + arti dari {{_kalimat}} {{_bahasa}} {{_mak}} {{_berikut}} dalam bahasa Indonesia? + {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt5 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_mak}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + b4dbb102-9384-4803-9b8a-c4c021cdfe08: !Template + answer_choices: null + id: b4dbb102-9384-4803-9b8a-c4c021cdfe08 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + terjemahan {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} ke bahasa {{_mak}}? + {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt3 + reference: '' + b81d928f-6498-4f0d-9166-e342305a9f28: !Template + answer_choices: null + id: b81d928f-6498-4f0d-9166-e342305a9f28 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _mak = ["makassar"] + |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _berbahasa + = ["berbahasa", "dalam bahasa"] |random%} {% set _terjemahan = ["terjemahan", + "arti"] |random%} {{_jika}} {{_kalimat}} {{_berikut}} {{_berbahasa}} {{_mak}}, + terjemahkan {{_ke}} bahasa Indonesia: {{text_2}} ||| {{_kalimat}} {{_berikut}} + benar {{_berbahasa}} {{_mak}}, {{_berikut}} {{_terjemahan}}nya dalam bahasa + Indonesia: {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_2 + reference: '' + c8101f42-3b00-4ce6-a11b-66425f9bd04b: !Template + answer_choices: null + id: c8101f42-3b00-4ce6-a11b-66425f9bd04b + jinja: '{% set _tolong = ["", "Tolong", "Silahkan", "Coba"] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _mak = ["makassar"] |random%} + {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} {{_mak}} {{_berikut}} {{_ke}} bahasa Indonesia: {{text_2}} + ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt2 + reference: '' + ca17ab03-efb7-4ddc-a694-7850208c09fb: !Template + answer_choices: null + id: ca17ab03-efb7-4ddc-a694-7850208c09fb + jinja: '{% set _tolong = ["", "Tolong", "Silahkan", "Coba"] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _mak = ["makassar"] |random%} + {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} {{_ke}} bahasa {{_mak}}: {{text_1}} + ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt1 + reference: '' + dfc287ca-30a5-4adc-99b3-d8b5763e1967: !Template + answer_choices: null + id: dfc287ca-30a5-4adc-99b3-d8b5763e1967 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _mak = ["malay", + "melayu"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% + set _berbahasa = ["berbahasa", "dalam bahasa"] |random%} {{_jika}} {{_kalimat}} + {{_berikut}} berbahasa {{_mak}}, {{_terjemahkan}} {{_ke}} bahasa Indonesia: + {{text_1}} ||| Teks {{_berikut}} sudah {{_berbahasa}} Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_1 + reference: '' + ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb: !Template + answer_choices: null + id: ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + arti dari {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} dalam bahasa {{_mak}}? + {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt6 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mak = ["makassar"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text_2}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_mak}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..93669e6 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_nusantara_t2t/templates.yaml @@ -0,0 +1,219 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_min_nusantara_t2t +templates: + 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b: !Template + answer_choices: null + id: 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b + jinja: 'Apa terjemahan bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="min" + +%}Padang{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="min" +%}Padang{% endif %}, jika diberikan teks berikut? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_8 + reference: '' + 26614f2c-162b-4dbb-8a4c-4895607b881a: !Template + answer_choices: null + id: 26614f2c-162b-4dbb-8a4c-4895607b881a + jinja: 'Apa padanan terjemahan dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="min" +%}Minang{%+ endif +%} untuk text berikut dalam + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="min" +%}Minang{% + endif %}? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_10 + reference: '' + 3d8630dc-610f-4098-abb7-9d1c33796d4c: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Diberikan teks {{text_1}} dalam bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="min" +%}Minang{%+ endif +%}, buatkan padanannya dalam + bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="min" +%}Minang{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_1 + reference: '' + 52ea76f4-bd22-4d4a-b116-576e5f2f008f: !Template + answer_choices: null + id: 52ea76f4-bd22-4d4a-b116-576e5f2f008f + jinja: 'Jika teks {{text_2}} dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="min" +%}Minang{%+ endif +%} ditranslate kedalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="min" +%}Minang{% + endif +%}, apa hasilnya? + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_6 + reference: '' + 53e98f5f-2584-4354-980c-b2a2508f901f: !Template + answer_choices: null + id: 53e98f5f-2584-4354-980c-b2a2508f901f + jinja: '"{{text_1}}" + + Tolong buat hasil translate dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="min" +%}Minang{%+ endif +%} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="min" +%}Minang{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_4 + reference: '' + a9ba2668-9bc9-4703-8fb0-32907a26c9d3: !Template + answer_choices: null + id: a9ba2668-9bc9-4703-8fb0-32907a26c9d3 + jinja: 'Apa hasil translate teks {{text_2}} berbahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="min" +%}Minangkabau{%+ endif +%} dalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="min" +%}Minangkabau{% + endif %}? + + ||| + + {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_5 + reference: '' + bd5877c7-36c5-46ac-acc2-526447aa1671: !Template + answer_choices: null + id: bd5877c7-36c5-46ac-acc2-526447aa1671 + jinja: 'Berikan hasil translasi bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="min" +%}Minangkabau{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="min" +%}Minangkabau{% endif %}! + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_7 + reference: '' + cdb53117-c084-4018-9ec2-047e5e6d191f: !Template + answer_choices: null + id: cdb53117-c084-4018-9ec2-047e5e6d191f + jinja: 'Boleh tolong translate-in {{text_1}} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="min" +%}Minangkabau{%+ endif +%} ke bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="min" +%}Minangkabau{%+ + endif +%}? + + ||| + + Ya, hasilnya ini: + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_min_mt_2 + reference: '' + de18b66c-3df9-473a-ae8d-a1fb41c9d576: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Apa hasil translasi dari teks {{text_1}} berbahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="min" +%}Minangkabau{%+ endif +%} dalam bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="min" +%}Minangkabau{% + endif %}? + + ||| + + Hasilnya adalah {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_3 + reference: '' + f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca: !Template + answer_choices: null + id: f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca + jinja: 'Tolong terjemahin teks "{{text_1}}" dong dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="min" +%}Padang{% endif %} ke bahasa {%+ + if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="min" +%}Padang{%+ + endif +%}. + + ||| + + "{{text_2}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_ind_min_mt_9 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_source/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_source/templates.yaml new file mode 100644 index 0000000..047d2e8 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_min_source/templates.yaml @@ -0,0 +1,141 @@ +dataset: korpus_nusantara +subset: korpus_nusantara_ind_min_source +templates: + 0dc57053-28de-471e-ab6a-055553dbb84a: !Template + answer_choices: null + id: 0dc57053-28de-471e-ab6a-055553dbb84a + jinja: "Apakah Anda bisa menerjemahkan kalimat Minangkabau ini menjadi Bahasa\ + \ Indonesia? \n{{label}}\n|||\nTerjemahan ke Bahasa Indonesia: {{text}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_3 + reference: '' + 2acc729e-6c06-452b-b74d-d03e5fcafa4a: !Template + answer_choices: null + id: 2acc729e-6c06-452b-b74d-d03e5fcafa4a + jinja: 'Bahasa Minangkabau dari kalimati ini {{text}} apa? + + ||| + + {{label}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_6 + reference: '' + 452ea5bb-2097-4fe9-82fc-fbaead562c46: !Template + answer_choices: null + id: 452ea5bb-2097-4fe9-82fc-fbaead562c46 + jinja: 'Translate dari bahasa minangkabau ke bahasa indonesia {{label}} + + ||| + + text + + ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_9 + reference: '' + 632ce391-ca87-49ac-abe8-1403d99d2552: !Template + answer_choices: null + id: 632ce391-ca87-49ac-abe8-1403d99d2552 + jinja: 'translate dari bahasa Indonesia ke bahasa Minangkabau {{text}} + + ||| + + {{label}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_8 + reference: '' + 64d1d740-9f2e-4740-b8d5-8fa5165ca321: !Template + answer_choices: null + id: 64d1d740-9f2e-4740-b8d5-8fa5165ca321 + jinja: 'Coba terjemahkan paragraf ini ke Bahasa Minangkabau, {{text}} + + ||| + + {{label}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_7 + reference: '' + 6d4b04b8-50b4-41b5-a3a1-4d7237d41996: !Template + answer_choices: null + id: 6d4b04b8-50b4-41b5-a3a1-4d7237d41996 + jinja: 'Tolong terjemahkan kalimat ini ke dalam Bahasa Indonesia: {{label}} + + ||| + + {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_5 + reference: '' + 858f73a2-64bf-4ec7-b7f4-b67019d8b082: !Template + answer_choices: null + id: 858f73a2-64bf-4ec7-b7f4-b67019d8b082 + jinja: 'Mohon bantu terjemahkan paragraf dalam bahasa Minangkabau ini ke dalam + Bahasa Indonesia. {{label}} + + ||| + + Terjemahannya: {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_4 + reference: '' + 8f757075-4684-4ddd-bbaf-63eeb9cfcb5d: !Template + answer_choices: null + id: 8f757075-4684-4ddd-bbaf-63eeb9cfcb5d + jinja: 'Apa Bahasa Indonesia dari kalimat berikut: {{label}} ? + + ||| + + {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_1 + reference: '' + f37dea05-222b-4c94-aa6b-d8b689431c25: !Template + answer_choices: null + id: f37dea05-222b-4c94-aa6b-d8b689431c25 + jinja: 'Dapatkah Anda menerjemahkan teks Minangkabau berikut ke dalam Bahasa Indonesia? + {{label}} + + ||| + + {{text}} + + ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: korpus_nusantara_ind_min_2 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mui_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mui_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..e558516 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_mui_nusantara_t2t/templates.yaml @@ -0,0 +1,214 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_mui_nusantara_t2t +templates: + 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5: !Template + answer_choices: null + id: 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mui = ["musi"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} Apa terjemahan {{_kalimat}} {{_bahasa}} {{_mui}} {{_berikut}} ke + bahasa Indonesia? {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt4 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mui = ["musi"] |random%} {% set _menurut + = ["", "Menurut anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}} {{_kalimat}} + {{_berikut}} berbahasa apa? {{text_2}} ||| Bahasa dari {{_kalimat}} {{_berikut}} + adalah {{_mui}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mui = ["musi"] |random%} {% set _tebak + = ["Tebak", "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: + {{text_2}}! ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_mui}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e: !Template + answer_choices: null + id: 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mui = ["musi"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} Apa arti dari {{_kalimat}} {{_bahasa}} {{_mui}} {{_berikut}} dalam + bahasa Indonesia? {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt5 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _mui = ["musi"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_mui}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + b4dbb102-9384-4803-9b8a-c4c021cdfe08: !Template + answer_choices: null + id: b4dbb102-9384-4803-9b8a-c4c021cdfe08 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mui = ["musi"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} Apa terjemahan {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} ke + bahasa {{_mui}}? {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt3 + reference: '' + b81d928f-6498-4f0d-9166-e342305a9f28: !Template + answer_choices: null + id: b81d928f-6498-4f0d-9166-e342305a9f28 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _mui = ["malay", + "melayu"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% + set _berbahasa = ["berbahasa", "dalam bahasa"] |random%} {% set _terjemahan + = ["terjemahan", "arti"] |random%} {{_jika}} {{_kalimat}} {{_berikut}} {{_berbahasa}} + {{_mui}}, terjemahkan {{_ke}} bahasa Indonesia: {{text_2}} ||| {{_kalimat}} + {{_berikut}} benar {{_berbahasa}} {{_mui}}, {{_berikut}} {{_terjemahan}}nya + dalam bahasa Indonesia: {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_2 + reference: '' + c8101f42-3b00-4ce6-a11b-66425f9bd04b: !Template + answer_choices: null + id: c8101f42-3b00-4ce6-a11b-66425f9bd04b + jinja: '{% set _tolong = ["", "Tolong ", "Silahkan ", "Coba "] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _mui = ["musi"] + |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} {{_mui}} {{_berikut}} {{_ke}} bahasa Indonesia: {{text_2}} + ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt2 + reference: '' + ca17ab03-efb7-4ddc-a694-7850208c09fb: !Template + answer_choices: null + id: ca17ab03-efb7-4ddc-a694-7850208c09fb + jinja: '{% set _tolong = ["", "Tolong ", "Silahkan ", "Coba "] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _mui = ["musi"] + |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} {{_ke}} bahasa {{_mui}}: {{text_1}} + ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt1 + reference: '' + dfc287ca-30a5-4adc-99b3-d8b5763e1967: !Template + answer_choices: null + id: dfc287ca-30a5-4adc-99b3-d8b5763e1967 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _mui = ["malay", + "melayu"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% + set _berbahasa = ["berbahasa", "dalam bahasa"] |random%} {{_jika}} {{_kalimat}} + {{_berikut}} berbahasa {{_mui}}, {{_terjemahkan}} {{_ke}} bahasa Indonesia: + {{text_1}} ||| Teks {{_berikut}} sudah {{_berbahasa}} Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_1 + reference: '' + ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb: !Template + answer_choices: null + id: ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mui = ["musi"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} Apa arti dari {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} dalam + bahasa {{_mui}}? {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt6 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mui = ["musi"] |random%} Apa bahasa dari + {{_kalimat}} {{_berikut}}? {{text_2}} ||| Bahasa dari {{_kalimat}} {{_berikut}} + adalah {{_mui}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_rej_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_rej_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..c6b94f5 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_rej_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_rej_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25823: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25823 + jinja: 'Bahasa Indonesia: {{text_1}} + + Bahasa Rejang: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + db78775d-f1df-4d8f-a0c1-3fb0d94db0f2: !Template + answer_choices: null + id: db78775d-f1df-4d8f-a0c1-3fb0d94db0f2 + jinja: '"{{text_2}}" dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a0f6: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a0f6 + jinja: '"{{text_1}}" dalam bahasa Rejang: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd5860d7: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd5860d7 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Rejang ke bahasa Indonesia: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d59: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d59 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa Rejang: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + e9d46b9f-66a6-4290-9b46-4f99f05bc05f: !Template + answer_choices: null + id: e9d46b9f-66a6-4290-9b46-4f99f05bc05f + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce328: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce328 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa Rejang: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4038: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4038 + jinja: 'Translasi ke bahasa Indonesia: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + c2565ffd-1d87-4ec3-ba28-5cf58d35d679: !Template + answer_choices: null + id: c2565ffd-1d87-4ec3-ba28-5cf58d35d679 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||Rejang' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + 4ca21811-fcf3-4e76-aecc-83ebd4c47bbc: !Template + answer_choices: null + id: 4ca21811-fcf3-4e76-aecc-83ebd4c47bbc + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + 54e6b4ca-bd16-45e5-b7d0-505785cea0ac: !Template + answer_choices: null + id: 54e6b4ca-bd16-45e5-b7d0-505785cea0ac + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e6625121e: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e6625121e + jinja: 'Translasi ke bahasa Rejang: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c86b6: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c86b6 + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1ac1: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1ac1 + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf5e6: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf5e6 + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa Rejang?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876085: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876085 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||Rejang' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac43: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac43 + jinja: 'Bahasa Rejang: {{text_2}} + + Bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b351: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b351 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e761: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e761 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3510: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3510 + jinja: 'Translasikan teks berikut dalam bahasa Rejang: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_sun_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_sun_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..83e41e0 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_ind_sun_nusantara_t2t/templates.yaml @@ -0,0 +1,388 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_ind_sun_nusantara_t2t +templates: + 5cb05f9e-5619-4d2a-8f02-51497e6645cc: !Template + answer_choices: null + id: 5cb05f9e-5619-4d2a-8f02-51497e6645cc + jinja: 'Kalimat: {{text_2}} + + Indonesia: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_14 + reference: '' + f61d1f03-e3ed-4f10-82d3-c07c02190a41: !Template + answer_choices: null + id: f61d1f03-e3ed-4f10-82d3-c07c02190a41 + jinja: 'Sentence: {{text_1}} + + Sundanese: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_25 + reference: '' + f561c101-4891-4d15-8130-8f231e3bf5ac: !Template + answer_choices: null + id: f561c101-4891-4d15-8130-8f231e3bf5ac + jinja: "Please translate the following sentence to Indonesian \n\n{{text_2}} |||\ + \ {{text_1}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_17 + reference: '' + ed2b9de6-7941-4e9b-89c6-ef520814af15: !Template + answer_choices: null + id: ed2b9de6-7941-4e9b-89c6-ef520814af15 + jinja: "Terjemahkan ke bahasa Sunda: \n\n{{text_1}} ||| {{text_2}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_19 + reference: '' + 0c67d067-6e35-41bf-b9ce-d3bd41939dec: !Template + answer_choices: null + id: 0c67d067-6e35-41bf-b9ce-d3bd41939dec + jinja: 'Sentence: {{text_2}} + + Translated version in Indonesian: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_26 + reference: '' + c87dedda-e0be-419e-9a7c-2194deee368b: !Template + answer_choices: null + id: c87dedda-e0be-419e-9a7c-2194deee368b + jinja: 'Tolong translate ke bahasa Sunda: {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_3 + reference: '' + 2d1cd1c3-6578-41bf-9eec-a5304ba0a757: !Template + answer_choices: null + id: 2d1cd1c3-6578-41bf-9eec-a5304ba0a757 + jinja: 'Sentence: {{text_1}} + + Please translate to Sundanese ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_22 + reference: '' + e8884b4e-637f-4060-bd0d-33bd08795bac: !Template + answer_choices: null + id: e8884b4e-637f-4060-bd0d-33bd08795bac + jinja: 'Kalimat: {{text_1}} + + Sunda: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_8 + reference: '' + 02074ce9-aa91-4d24-9b58-735bb2ccd015: !Template + answer_choices: null + id: 02074ce9-aa91-4d24-9b58-735bb2ccd015 + jinja: '{{text_1}} + + ===== + + What is the Sundanese version? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_23 + reference: '' + 353ec236-8679-4f6c-978e-5348749c92d0: !Template + answer_choices: null + id: 353ec236-8679-4f6c-978e-5348749c92d0 + jinja: 'Kalimat: {{text_1}} + + Terjemahan Sunda: ||| {{text_2}} ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_7 + reference: '' + baf21c45-46b1-4678-9570-db6c10ec80b8: !Template + answer_choices: null + id: baf21c45-46b1-4678-9570-db6c10ec80b8 + jinja: 'Sentence: {{text_1}} + + Sundanese Translation: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_24 + reference: '' + c6b678f7-7b24-4fad-9ce2-519e05aa6fe4: !Template + answer_choices: null + id: c6b678f7-7b24-4fad-9ce2-519e05aa6fe4 + jinja: 'Kalimat: {{text_2}} + + Terjemahan Indonesia: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_13 + reference: '' + 72e072f9-994c-427a-b6d7-52f908d4fab6: !Template + answer_choices: null + id: 72e072f9-994c-427a-b6d7-52f908d4fab6 + jinja: 'Sentence: {{text_2}} + + Indonesian: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_20 + reference: '' + 60e8dd6b-941c-46b3-abb7-c4f6a5944b34: !Template + answer_choices: null + id: 60e8dd6b-941c-46b3-abb7-c4f6a5944b34 + jinja: 'Please translate to Indonesian: {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_16 + reference: '' + 333d5442-048f-45da-935b-efd5ca952731: !Template + answer_choices: null + id: 333d5442-048f-45da-935b-efd5ca952731 + jinja: '{{text_2}} + + + Bisa tolong terjemahkan ke bahasa indonesia? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_10 + reference: '' + d0abb503-aaa9-4af5-b916-3e9cae1b7f6f: !Template + answer_choices: null + id: d0abb503-aaa9-4af5-b916-3e9cae1b7f6f + jinja: 'Kalimat: {{text_1}} + + Tolong translate ke bahasa Sunda ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_4 + reference: '' + 3f2ecf59-0350-4f3f-9783-d11586ee88c7: !Template + answer_choices: null + id: 3f2ecf59-0350-4f3f-9783-d11586ee88c7 + jinja: '{{text_2}} + + ===== + + Apa bahasa Indonesia nya? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_12 + reference: '' + 65fd0d1b-9942-497a-aa2e-9adc4608b84e: !Template + answer_choices: null + id: 65fd0d1b-9942-497a-aa2e-9adc4608b84e + jinja: '{{text_2}} + + ===== + + What is the Indonesian version? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_18 + reference: '' + 51249247-2a63-49d5-84ab-65b436c588d2: !Template + answer_choices: null + id: 51249247-2a63-49d5-84ab-65b436c588d2 + jinja: 'Indonesian: {{text_1}} + + Sundanese: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_21 + reference: '' + aaa8550a-9af8-4bee-baa1-9eb0f448a1c4: !Template + answer_choices: null + id: aaa8550a-9af8-4bee-baa1-9eb0f448a1c4 + jinja: 'Sunda: {{text_2}} + + Indonesia: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_9 + reference: '' + 103d2c6d-5c64-4c34-a3a1-7dbceb3c025e: !Template + answer_choices: null + id: 103d2c6d-5c64-4c34-a3a1-7dbceb3c025e + jinja: "Tolong translate kalimat dibawah ke bahasa Indonesia \n\n{{text_2}} |||\ + \ {{text_1}} " + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_11 + reference: '' + 07aeb1d9-5b36-4fee-9359-9b44879f84db: !Template + answer_choices: null + id: 07aeb1d9-5b36-4fee-9359-9b44879f84db + jinja: "Apa kalimat bahasa Sunda dari kalimat berikut ini? \n\n{{text_1}} |||\ + \ {{text_2}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_2 + reference: '' + 9685a210-7876-4bec-89bc-71f17312222c: !Template + answer_choices: null + id: 9685a210-7876-4bec-89bc-71f17312222c + jinja: '{{text_1}} + + ===== + + Apa bahasa Sunda nya? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_5 + reference: '' + 9b74226d-500a-470e-915e-8d6552a821a7: !Template + answer_choices: null + id: 9b74226d-500a-470e-915e-8d6552a821a7 + jinja: '{{text_1}} + + + Apa kalimat bahasa Sunda dari kalimat diatas? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_ind_sun_prompt_template_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_jav_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_jav_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..5f4dd22 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_jav_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,387 @@ +dataset: korpus_nusantara +subset: korpus_nusantara_jav_ind_nusantara_t2t +templates: + 6307d8a7-7f27-4501-b952-f310329023b1: !Template + answer_choices: null + id: 6307d8a7-7f27-4501-b952-f310329023b1 + jinja: "Apa kalimat bahasa Jawa dari kalimat berikut ini? \n\n{{text_2}} ||| {{text_1}} " + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_jav_ind_template_2 + reference: '' + 1209dd2a-03d6-4d65-9447-f7e87cde1eec: !Template + answer_choices: null + id: 1209dd2a-03d6-4d65-9447-f7e87cde1eec + jinja: 'Sentence: {{text_1}} + + Translated version in Indonesian: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_19 + reference: '' + d35d2582-6621-4065-8c8b-699584dddb1b: !Template + answer_choices: null + id: d35d2582-6621-4065-8c8b-699584dddb1b + jinja: 'Kalimat: {{text_1}} + + Terjemahan Indonesia: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_13 + reference: '' + 1993b968-645f-407c-ba67-c3a12d2e8f31: !Template + answer_choices: null + id: 1993b968-645f-407c-ba67-c3a12d2e8f31 + jinja: "Terjemahkan ke bahasa Jawa: \n\n{{text_2}} ||| {{text_1}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_6 + reference: '' + e0bfe8ff-7458-4c44-8bb4-cdeb18d05f46: !Template + answer_choices: null + id: e0bfe8ff-7458-4c44-8bb4-cdeb18d05f46 + jinja: 'Sentence: {{text_2}} + + Please translate to Javanese ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_22 + reference: '' + 9c2079c6-bcff-4552-813e-597e236fc19e: !Template + answer_choices: null + id: 9c2079c6-bcff-4552-813e-597e236fc19e + jinja: '{{text_1}} + + ===== + + What is the Indonesian version? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_18 + reference: '' + 55261439-a4a2-4238-a962-d222235556f3: !Template + answer_choices: null + id: 55261439-a4a2-4238-a962-d222235556f3 + jinja: 'Indonesian: {{text_2}} + + Javanese: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_21 + reference: '' + 3e3bf022-b0ef-4d57-846e-6f4e8e8c3aee: !Template + answer_choices: null + id: 3e3bf022-b0ef-4d57-846e-6f4e8e8c3aee + jinja: "Please translate the following sentence to Indonesian \n\n{{text_1}} |||\ + \ {{text_2}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_jav_ind_template_17 + reference: '' + 50ab1f53-25e3-47b1-9de3-c7d88148a4be: !Template + answer_choices: null + id: 50ab1f53-25e3-47b1-9de3-c7d88148a4be + jinja: 'Kalimat: {{text_2}} + + Jawa: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_8 + reference: '' + 551111d4-74ca-46a4-a40e-be53fe2439c1: !Template + answer_choices: null + id: 551111d4-74ca-46a4-a40e-be53fe2439c1 + jinja: '{{text_1}} + + ===== + + Apa bahasa Indonesia nya? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_12 + reference: '' + e8c9e88e-b9a9-46fc-b563-32e15210e1cc: !Template + answer_choices: null + id: e8c9e88e-b9a9-46fc-b563-32e15210e1cc + jinja: 'Kalimat: {{text_2}} + + Terjemahan Jawa: ||| {{text_1}} ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_7 + reference: '' + 6824d92b-6745-47b2-abaa-e9207c3e7160: !Template + answer_choices: null + id: 6824d92b-6745-47b2-abaa-e9207c3e7160 + jinja: '{{text_2}} + + ===== + + Apa bahasa Jawa nya? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_5 + reference: '' + d20dd2fd-abc7-4d13-a01e-3a6476a995b8: !Template + answer_choices: null + id: d20dd2fd-abc7-4d13-a01e-3a6476a995b8 + jinja: 'Sentence: {{text_2}} + + Javanese Translation: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_24 + reference: '' + 2dfc5865-d104-415b-8fbd-324dd8e0fba9: !Template + answer_choices: null + id: 2dfc5865-d104-415b-8fbd-324dd8e0fba9 + jinja: 'Tolong translate ke bahasa Jawa: {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: korpus_nusantara_jav_ind_template_3 + reference: '' + 4bdccb49-8a64-4d55-94e8-68f4335bf8f3: !Template + answer_choices: null + id: 4bdccb49-8a64-4d55-94e8-68f4335bf8f3 + jinja: 'Sentence: {{text_1}} + + Indonesian: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_20 + reference: '' + 148a3e2c-c0e3-49a7-90f2-feafab53e497: !Template + answer_choices: null + id: 148a3e2c-c0e3-49a7-90f2-feafab53e497 + jinja: '{{text_2}} + + ===== + + What is the Javanese version? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_23 + reference: '' + 11007450-9c02-4132-9c49-01800848b565: !Template + answer_choices: null + id: 11007450-9c02-4132-9c49-01800848b565 + jinja: '{{text_2}} + + + Apa kalimat bahasa Jawa dari kalimat diatas? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_1 + reference: '' + 7c75a6af-fa63-498e-97d5-ea2c3ed549ef: !Template + answer_choices: null + id: 7c75a6af-fa63-498e-97d5-ea2c3ed549ef + jinja: '{{text_1}} + + + Bisa tolong terjemahkan ke bahasa indonesia? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_10 + reference: '' + 715d8c94-a847-4b6e-a087-10fe2d8d9ee7: !Template + answer_choices: null + id: 715d8c94-a847-4b6e-a087-10fe2d8d9ee7 + jinja: "Tolong translate kalimat dibawah ke bahasa Indonesia \n\n{{text_1}} |||\ + \ {{text_2}} " + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_11 + reference: '' + 0777f81c-de2e-4a32-a901-7603d39b763e: !Template + answer_choices: null + id: 0777f81c-de2e-4a32-a901-7603d39b763e + jinja: 'Kalimat: {{text_1}} + + Indonesia: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_14 + reference: '' + c63346e5-85d7-4654-b6d9-1cbf2f056896: !Template + answer_choices: null + id: c63346e5-85d7-4654-b6d9-1cbf2f056896 + jinja: 'Please translate to Indonesian: {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_16 + reference: '' + 0ae80eae-6976-4059-b764-88674f4485b3: !Template + answer_choices: null + id: 0ae80eae-6976-4059-b764-88674f4485b3 + jinja: 'Sentence: {{text_2}} + + Javanese: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_25 + reference: '' + f4fafa40-6dcc-4ca4-af05-76799fa66feb: !Template + answer_choices: null + id: f4fafa40-6dcc-4ca4-af05-76799fa66feb + jinja: 'Kalimat: {{text_2}} + + Tolong translate ke bahasa Jawa ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_4 + reference: '' + b9225627-f3e7-444f-8f26-a1e7e8db1744: !Template + answer_choices: null + id: b9225627-f3e7-444f-8f26-a1e7e8db1744 + jinja: 'Jawa: {{text_1}} + + Indonesia: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: korpus_nusantara_jav_ind_template_9 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mad_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mad_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..4b60c09 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mad_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: korpus_nusantara +subset: korpus_nusantara_mad_ind_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25802: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25802 + jinja: 'Bahasa Indonesia: {{text_2}} + + Bahasa Madura: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + 6097b45d-8d2a-449d-bff7-297a2bf03a77: !Template + answer_choices: null + id: 6097b45d-8d2a-449d-bff7-297a2bf03a77 + jinja: '"{{text_1}}" dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a04f: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a04f + jinja: '"{{text_2}}" dalam bahasa Madura: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd58605d: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd58605d + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Madura ke bahasa Indonesia: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d75: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d75 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa Madura: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + 431f7930-25b6-40f2-af8d-3aa656e28519: !Template + answer_choices: null + id: 431f7930-25b6-40f2-af8d-3aa656e28519 + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce362: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce362 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa Madura: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4063: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4063 + jinja: 'Translasi ke bahasa Indonesia: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + 3b6337ed-d3e7-4662-938b-dff17afe87d7: !Template + answer_choices: null + id: 3b6337ed-d3e7-4662-938b-dff17afe87d7 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||Madura' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + f45b8386-2a18-4098-bda2-2dbcdbe0e1b3: !Template + answer_choices: null + id: f45b8386-2a18-4098-bda2-2dbcdbe0e1b3 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + ae6dcd62-8c81-4202-b21e-dae31eecc286: !Template + answer_choices: null + id: ae6dcd62-8c81-4202-b21e-dae31eecc286 + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e662512c1: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e662512c1 + jinja: 'Translasi ke bahasa Madura: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c864b: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c864b + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1a9b: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1a9b + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf54e: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf54e + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa Madura?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876038: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876038 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||Madura' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac14: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac14 + jinja: 'Bahasa Madura: {{text_1}} + + Bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b394: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b394 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e795: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e795 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3580: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3580 + jinja: 'Translasikan teks berikut dalam bahasa Madura: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mak_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mak_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..52c4e70 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_mak_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,212 @@ +dataset: korpus_nusantara +subset: korpus_nusantara_mak_ind_nusantara_t2t +templates: + 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5: !Template + answer_choices: null + id: 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + terjemahan {{_kalimat}} {{_bahasa}} {{_mak}} {{_berikut}} ke bahasa Indonesia? + {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt4 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mak = ["makassar"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text_1}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_mak}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mak = ["makassar"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text_1}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_mak}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e: !Template + answer_choices: null + id: 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + arti dari {{_kalimat}} {{_bahasa}} {{_mak}} {{_berikut}} dalam bahasa Indonesia? + {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt5 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_mak}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + b4dbb102-9384-4803-9b8a-c4c021cdfe08: !Template + answer_choices: null + id: b4dbb102-9384-4803-9b8a-c4c021cdfe08 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + terjemahan {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} ke bahasa {{_mak}}? + {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt3 + reference: '' + b81d928f-6498-4f0d-9166-e342305a9f28: !Template + answer_choices: null + id: b81d928f-6498-4f0d-9166-e342305a9f28 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _mak = ["makassar"] + |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _berbahasa + = ["berbahasa", "dalam bahasa"] |random%} {% set _terjemahan = ["terjemahan", + "arti"] |random%} {{_jika}} {{_kalimat}} {{_berikut}} {{_berbahasa}} {{_mak}}, + terjemahkan {{_ke}} bahasa Indonesia: {{text_1}} ||| {{_kalimat}} {{_berikut}} + benar {{_berbahasa}} {{_mak}}, {{_berikut}} {{_terjemahan}}nya dalam bahasa + Indonesia: {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_2 + reference: '' + c8101f42-3b00-4ce6-a11b-66425f9bd04b: !Template + answer_choices: null + id: c8101f42-3b00-4ce6-a11b-66425f9bd04b + jinja: '{% set _tolong = ["", "Tolong", "Silahkan", "Coba"] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _mak = ["makassar"] |random%} + {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} {{_mak}} {{_berikut}} {{_ke}} bahasa Indonesia: {{text_1}} + ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt2 + reference: '' + ca17ab03-efb7-4ddc-a694-7850208c09fb: !Template + answer_choices: null + id: ca17ab03-efb7-4ddc-a694-7850208c09fb + jinja: '{% set _tolong = ["", "Tolong ", "Silahkan ", "Coba "] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _mak = ["makassar"] |random%} + {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} {{_ke}} bahasa {{_mak}}: {{text_2}} + ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt1 + reference: '' + dfc287ca-30a5-4adc-99b3-d8b5763e1967: !Template + answer_choices: null + id: dfc287ca-30a5-4adc-99b3-d8b5763e1967 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _mak = ["malay", + "melayu"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% + set _berbahasa = ["berbahasa", "dalam bahasa"] |random%} {{_jika}} {{_kalimat}} + {{_berikut}} berbahasa {{_mak}}, {{_terjemahkan}} {{_ke}} bahasa Indonesia: + {{text_2}} ||| Teks {{_berikut}} sudah {{_berbahasa}} Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_1 + reference: '' + ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb: !Template + answer_choices: null + id: ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _mak = ["makassar"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} Apa + arti dari {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} dalam bahasa {{_mak}}? + {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt6 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mak = ["makassar"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text_1}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_mak}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_min_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_min_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..d0aa474 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_min_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,214 @@ +dataset: korpus_nusantara +subset: korpus_nusantara_min_ind_nusantara_t2t +templates: + 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5: !Template + answer_choices: null + id: 2c9ca9bf-24ab-4eb7-9801-5aca513dddb5 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _minang = ["minang", "minangkabau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} Apa terjemahan {{_kalimat}} {{_bahasa}} {{_minang}} {{_berikut}} + ke bahasa Indonesia? {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt4 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _minang = ["minang", "minangkabau"] |random%} {% set + _menurut = ["", "Menurut anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} berbahasa apa? {{text_1}} ||| Bahasa dari {{_kalimat}} + {{_berikut}} adalah {{_minang}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _minang = ["minang", "minangkabau"] |random%} {% set + _tebak = ["Tebak", "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} + {{_berikut}}: {{text_1}}! ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_minang}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e: !Template + answer_choices: null + id: 64f0a273-b482-45a5-ab9a-f2a3d51bbe4e + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _minang = ["minang", "minangkabau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} Apa arti dari {{_kalimat}} {{_bahasa}} {{_minang}} {{_berikut}} + dalam bahasa Indonesia? {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt5 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _minang = ["minang", "minangkabau"] |random%} {% set _kalimat + = ["kalimat", "teks"] |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_minang}} + ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + b4dbb102-9384-4803-9b8a-c4c021cdfe08: !Template + answer_choices: null + id: b4dbb102-9384-4803-9b8a-c4c021cdfe08 + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _minang = ["minang", "minangkabau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} Apa terjemahan {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} + ke bahasa {{_minang}}? {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt3 + reference: '' + b81d928f-6498-4f0d-9166-e342305a9f28: !Template + answer_choices: null + id: b81d928f-6498-4f0d-9166-e342305a9f28 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _minang = ["minang", + "minangkabau"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} + {% set _berbahasa = ["berbahasa", "dalam bahasa"] |random%} {% set _terjemahan + = ["terjemahan", "arti"] |random%} {{_jika}} {{_kalimat}} {{_berikut}} {{_berbahasa}} + {{_minang}}, terjemahkan {{_ke}} bahasa Indonesia: {{text_1}} ||| {{_kalimat}} + {{_berikut}} benar {{_berbahasa}} {{_minang}}, {{_berikut}} {{_terjemahan}}nya + dalam bahasa Indonesia: {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_2 + reference: '' + c8101f42-3b00-4ce6-a11b-66425f9bd04b: !Template + answer_choices: null + id: c8101f42-3b00-4ce6-a11b-66425f9bd04b + jinja: '{% set _tolong = ["", "Tolong ", "Silahkan ", "Coba "] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _minang = ["minang", "minangkabau"] + |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} {{_minang}} {{_berikut}} {{_ke}} bahasa Indonesia: + {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt2 + reference: '' + ca17ab03-efb7-4ddc-a694-7850208c09fb: !Template + answer_choices: null + id: ca17ab03-efb7-4ddc-a694-7850208c09fb + jinja: '{% set _tolong = ["", "Tolong ", "Silahkan ", "Coba "] |random%} {% set _terjemahkan + = ["terjemahkan", "translate", "artikan"] |random%} {% set _bahasa = ["bahasa", + "berbahasa"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set + _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set _minang = ["minang", "minangkabau"] + |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {{_tolong}}{{_terjemahkan}} + {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} {{_ke}} bahasa {{_minang}}: + {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt1 + reference: '' + dfc287ca-30a5-4adc-99b3-d8b5763e1967: !Template + answer_choices: null + id: dfc287ca-30a5-4adc-99b3-d8b5763e1967 + jinja: '{% set _jika = ["Jika", "Kalau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _terjemahkan + = ["terjemahkan", "artikan", "translate"] |random%} {% set _minang = ["malay", + "melayu"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% + set _berbahasa = ["berbahasa", "dalam bahasa"] |random%} {{_jika}} {{_kalimat}} + {{_berikut}} berbahasa {{_minang}}, {{_terjemahkan}} {{_ke}} bahasa Indonesia: + {{text_2}} ||| Teks {{_berikut}} sudah {{_berbahasa}} Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: mt_reasoning_1 + reference: '' + ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb: !Template + answer_choices: null + id: ea2c5968-1291-46ac-a8c7-dcc1cdd57bbb + jinja: '{% set _bahasa = ["bahasa", "berbahasa"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _ke = ["ke", "ke dalam", "menjadi"] |random%} {% set + _minang = ["minang", "minangkabau"] |random%} {% set _kalimat = ["kalimat", + "teks"] |random%} Apa arti dari {{_kalimat}} {{_bahasa}} Indonesia {{_berikut}} + dalam bahasa {{_minang}}? {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: true + name: mt6 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _minang = ["minang", "minangkabau"] |random%} Apa bahasa + dari {{_kalimat}} {{_berikut}}? {{text_1}} ||| Bahasa dari {{_kalimat}} {{_berikut}} + adalah {{_minang}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_msa_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_msa_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..bc9a7d8 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_msa_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,219 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_mui_ind_nusantara_t2t +templates: + 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b: !Template + answer_choices: null + id: 0fb92154-1ef1-48e0-ba5b-5f39b66aa95b + jinja: 'Apa terjemahan bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="mui" + +%}Musi{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="mui" +%}Musi{% endif %}, jika diberikan teks berikut? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_8 + reference: '' + 26614f2c-162b-4dbb-8a4c-4895607b881a: !Template + answer_choices: null + id: 26614f2c-162b-4dbb-8a4c-4895607b881a + jinja: 'Apa padanan terjemahan dari bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="mui" +%}Musi{%+ endif +%} untuk text berikut dalam + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="mui" +%}Musi{% + endif %}? + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_10 + reference: '' + 3d8630dc-610f-4098-abb7-9d1c33796d4c: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Diberikan teks {{text_1}} dalam bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="mui" +%}Musi{%+ endif +%}, buatkan padanannya dalam + bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="mui" +%}Musi{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_1 + reference: '' + 52ea76f4-bd22-4d4a-b116-576e5f2f008f: !Template + answer_choices: null + id: 52ea76f4-bd22-4d4a-b116-576e5f2f008f + jinja: 'Jika teks {{text_2}} dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="mui" +%}Musi{%+ endif +%} ditranslate kedalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="mui" +%}Musi{% + endif +%}, apa hasilnya? + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_6 + reference: '' + 53e98f5f-2584-4354-980c-b2a2508f901f: !Template + answer_choices: null + id: 53e98f5f-2584-4354-980c-b2a2508f901f + jinja: '"{{text_1}}" + + Tolong buat hasil translate dalam bahasa {%+ if text_2_name=="ind" +%}Indonesia{%+ + elif text_2_name=="mui" +%}Musi{%+ endif +%} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="mui" +%}Musi{% endif %}! + + ||| + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_4 + reference: '' + a9ba2668-9bc9-4703-8fb0-32907a26c9d3: !Template + answer_choices: null + id: a9ba2668-9bc9-4703-8fb0-32907a26c9d3 + jinja: 'Apa hasil translate teks {{text_2}} berbahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="mui" +%}Musi{%+ endif +%} dalam bahasa + {%+ if text_1_name=="ind" +%}Indonesia{%+ elif text_1_name=="mui" +%}Musi{% + endif %}? + + ||| + + {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_5 + reference: '' + bd5877c7-36c5-46ac-acc2-526447aa1671: !Template + answer_choices: null + id: bd5877c7-36c5-46ac-acc2-526447aa1671 + jinja: 'Berikan hasil translasi bahasa {%+ if text_1_name=="ind" +%}Indonesia{%+ + elif text_1_name=="mui" +%}Musi{%+ endif +%} dari bahasa {%+ if text_2_name=="ind" + +%}Indonesia{%+ elif text_2_name=="mui" +%}Musi{% endif %}! + + "{{text_2}}" + + ||| + + "{{text_1}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_7 + reference: '' + cdb53117-c084-4018-9ec2-047e5e6d191f: !Template + answer_choices: null + id: cdb53117-c084-4018-9ec2-047e5e6d191f + jinja: 'Boleh tolong translate-in {{text_1}} dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="mui" +%}Musi{%+ endif +%} ke bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="mui" +%}Musi{%+ + endif +%}? + + ||| + + Ya, hasilnya ini: + + {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_mui_ind_mt_2 + reference: '' + de18b66c-3df9-473a-ae8d-a1fb41c9d576: !Template + answer_choices: null + id: 3d8630dc-610f-4098-abb7-9d1c33796d4c + jinja: 'Apa hasil translasi dari teks {{text_1}} berbahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="mui" +%}Musi{%+ endif +%} dalam bahasa + {%+ if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="mui" +%}Musi{% + endif %}? + + ||| + + Hasilnya adalah {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_3 + reference: '' + f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca: !Template + answer_choices: null + id: f76c2646-d6f0-47a6-b1c0-5cf763f9b4ca + jinja: 'Tolong terjemahin teks "{{text_1}}" dong dari bahasa {%+ if text_1_name=="ind" + +%}Indonesia{%+ elif text_1_name=="mui" +%}Musi{% endif %} ke bahasa {%+ + if text_2_name=="ind" +%}Indonesia{%+ elif text_2_name=="mui" +%}Musi{%+ + endif +%}. + + ||| + + "{{text_2}}"' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: nusatranslation_mt_mui_ind_mt_9 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_rej_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_rej_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..9d16aa8 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_rej_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,289 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_rej_ind_nusantara_t2t +templates: + 01ac0273-2efb-48b9-88a4-6fb919c25832: !Template + answer_choices: null + id: 01ac0273-2efb-48b9-88a4-6fb919c25832 + jinja: 'Bahasa Indonesia: {{text_2}} + + Bahasa Rejang: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation_2 + reference: '' + 40e6e4e2-f509-4d35-963e-91faae3037c0: !Template + answer_choices: null + id: 40e6e4e2-f509-4d35-963e-91faae3037c0 + jinja: '"{{text_1}}" dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa_2 + reference: '' + 15847b0a-c18e-4038-aa15-16e13372a06f: !Template + answer_choices: null + id: 15847b0a-c18e-4038-aa15-16e13372a06f + jinja: '"{{text_2}}" dalam bahasa Rejang: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: dalam_bahasa + reference: '' + 1d39425f-b25f-43b8-99cd-479cbd58607d: !Template + answer_choices: null + id: 1d39425f-b25f-43b8-99cd-479cbd58607d + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Rejang ke bahasa Indonesia: + "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: terjemahkan_kalimat + reference: '' + 2a281674-592e-4b77-94b0-84cbf7515d95: !Template + answer_choices: null + id: 2a281674-592e-4b77-94b0-84cbf7515d95 + jinja: '"{{text_2}}" + + Teks di atas dalam bahasa Rejang: |||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas + reference: '' + 2dab4d3a-19d4-4a3b-a4d1-1d78fd5db04a: !Template + answer_choices: null + id: 2dab4d3a-19d4-4a3b-a4d1-1d78fd5db04a + jinja: Apa itu "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu + reference: '' + 322c632c-8a73-46f0-a6a0-0fcabe7ce382: !Template + answer_choices: null + id: 322c632c-8a73-46f0-a6a0-0fcabe7ce382 + jinja: 'Terjemahkan kalimat berikut ini dari bahasa Indonesia ke bahasa Rejang: + "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: terjemahkan_kalimat_2 + reference: '' + 3c515ec7-48e9-4c5c-8144-be2b31ca4083: !Template + answer_choices: null + id: 3c515ec7-48e9-4c5c-8144-be2b31ca4083 + jinja: 'Translasi ke bahasa Indonesia: {{text_1}}.|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to + reference: '' + 84ffd174-287c-45a5-bc05-dba301b0ccab: !Template + answer_choices: null + id: 84ffd174-287c-45a5-bc05-dba301b0ccab + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_1}}|||Rejang' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa_2 + reference: '' + b9588473-35ff-4394-bf29-9e1aa3bef2f8: !Template + answer_choices: null + id: b9588473-35ff-4394-bf29-9e1aa3bef2f8 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_2}}"?|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa + reference: '' + 8f2e88f2-ec5a-4811-a312-e067dbb6fd3f: !Template + answer_choices: null + id: 8f2e88f2-ec5a-4811-a312-e067dbb6fd3f + jinja: Apa itu "{{text_2}}" dalam bahasa Indonesia?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: apa_itu_2 + reference: '' + 84db86ce-8c27-4a7a-974a-072e662512e1: !Template + answer_choices: null + id: 84db86ce-8c27-4a7a-974a-072e662512e1 + jinja: 'Translasi ke bahasa Rejang: {{text_2}}.|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translate_to_2 + reference: '' + 9584e722-1da0-44a5-a99a-d51fb98c866b: !Template + answer_choices: null + id: 9584e722-1da0-44a5-a99a-d51fb98c866b + jinja: Apa terjemahan dari "{{text_1}}" dalam bahasa Indonesia?|||{{text_2}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan_2 + reference: '' + a5b7d432-499c-457d-95a7-3ba63dce1a1c: !Template + answer_choices: null + id: a5b7d432-499c-457d-95a7-3ba63dce1a1c + jinja: 'Translasikan teks berikut dalam bahasa Indonesia: "{{text_1}}"|||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan_2 + reference: '' + bb614e52-4d61-460a-a0ac-87858c3cf56e: !Template + answer_choices: null + id: bb614e52-4d61-460a-a0ac-87858c3cf56e + jinja: Apa terjemahan dari "{{text_2}}" dalam bahasa Rejang?|||{{text_1}} + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + - ROUGE + original_task: true + name: apa_terjemahan + reference: '' + c7bfab7c-e562-46a8-bc27-d0ee92876058: !Template + answer_choices: null + id: c7bfab7c-e562-46a8-bc27-d0ee92876058 + jinja: 'Apa bahasa yang digunakan dalam teks berikut: "{{text_1}}"?|||Rejang' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: apa_bahasa_2 + reference: '' + decd8de8-4593-4c53-8fdb-fb40ad51ac34: !Template + answer_choices: null + id: decd8de8-4593-4c53-8fdb-fb40ad51ac34 + jinja: 'Bahasa Rejang: {{text_1}} + + Bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: simple_translation + reference: '' + df260c8e-c804-4cf3-a15e-9c3c4e47b315: !Template + answer_choices: null + id: df260c8e-c804-4cf3-a15e-9c3c4e47b315 + jinja: '"{{text_1}}" + + Teks di atas dalam bahasa Indonesia: |||{{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: teks_di_atas_2 + reference: '' + e2af8dbe-1b98-4476-9c44-244ab6a3e716: !Template + answer_choices: null + id: e2af8dbe-1b98-4476-9c44-244ab6a3e716 + jinja: 'Identifikasi bahasa yang digunakan dalam teks berikut: {{text_2}}|||Indonesia' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: identifikasi_bahasa + reference: '' + e890c771-7fee-4ef9-ba02-4b7b93af3501: !Template + answer_choices: null + id: e890c771-7fee-4ef9-ba02-4b7b93af3501 + jinja: 'Translasikan teks berikut dalam bahasa Rejang: "{{text_2}}"|||{{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: translasikan + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_sun_ind_nusantara_t2t/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_sun_ind_nusantara_t2t/templates.yaml new file mode 100644 index 0000000..aa16998 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_mt/nusatranslation_mt_sun_ind_nusantara_t2t/templates.yaml @@ -0,0 +1,374 @@ +dataset: nusatranslation_mt +subset: nusatranslation_mt_sun_ind_nusantara_t2t +templates: + 1f97b745-4bbf-47b0-927a-f3b8292f6dc0: !Template + answer_choices: null + id: 1f97b745-4bbf-47b0-927a-f3b8292f6dc0 + jinja: 'Kalimat: {{text_1}} + + Indonesia: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_14 + reference: '' + 701ee1c4-7009-43ea-93f4-99085b554c9e: !Template + answer_choices: null + id: 701ee1c4-7009-43ea-93f4-99085b554c9e + jinja: 'Sentence: {{text_2}} + + Sundanese: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_25 + reference: '' + f561c101-4891-4d15-8130-8f231e3bf5ac: !Template + answer_choices: null + id: f561c101-4891-4d15-8130-8f231e3bf5ac + jinja: "Please translate the following sentence to Indonesian \n\n{{text_1}} |||\ + \ {{text_2}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_17 + reference: '' + d7b19f2d-1b72-4b03-896b-014dffe07b35: !Template + answer_choices: null + id: d7b19f2d-1b72-4b03-896b-014dffe07b35 + jinja: 'Sentence: {{text_1}} + + Translated version in Indonesian: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_19 + reference: '' + b077f988-f3c6-4f12-96a2-26407940aa43: !Template + answer_choices: null + id: b077f988-f3c6-4f12-96a2-26407940aa43 + jinja: 'Tolong translate ke bahasa Sunda: {{text_2}} ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_3 + reference: '' + 965bf4cd-c147-4f79-8f6a-4f8a82989b8b: !Template + answer_choices: null + id: 965bf4cd-c147-4f79-8f6a-4f8a82989b8b + jinja: 'Sentence: {{text_2}} + + Please translate to Sundanese ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_22 + reference: '' + 2050c36f-23cd-48be-93ac-bbf1a234faf0: !Template + answer_choices: null + id: 2050c36f-23cd-48be-93ac-bbf1a234faf0 + jinja: 'Kalimat: {{text_2}} + + Sunda: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_8 + reference: '' + 2ad8b067-d6bb-4055-92b4-c16e3e21bb93: !Template + answer_choices: null + id: 2ad8b067-d6bb-4055-92b4-c16e3e21bb93 + jinja: '{{text_2}} + + ===== + + What is the Sundanese version? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_23 + reference: '' + e23df21f-76c0-459b-ba8e-f4da40b825f7: !Template + answer_choices: null + id: e23df21f-76c0-459b-ba8e-f4da40b825f7 + jinja: 'Kalimat: {{text_2}} + + Terjemahan Sunda: ||| {{text_1}} ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_7 + reference: '' + baf21c45-46b1-4678-9570-db6c10ec80b8: !Template + answer_choices: null + id: baf21c45-46b1-4678-9570-db6c10ec80b8 + jinja: 'Sentence: {{text_2}} + + Sundanese Translation: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_24 + reference: '' + 1f9491f8-49b2-4b32-a5cf-f44b6a50e240: !Template + answer_choices: null + id: 1f9491f8-49b2-4b32-a5cf-f44b6a50e240 + jinja: 'Kalimat: {{text_1}} + + Terjemahan Indonesia: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_13 + reference: '' + c4d9f4de-2eff-4d9b-9c2f-7d26b2ba34ea: !Template + answer_choices: null + id: c4d9f4de-2eff-4d9b-9c2f-7d26b2ba34ea + jinja: 'Sentence: {{text_1}} + + Indonesian: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_20 + reference: '' + c5b3ae90-73e7-4a57-9afe-de9f5aa591f0: !Template + answer_choices: null + id: c5b3ae90-73e7-4a57-9afe-de9f5aa591f0 + jinja: 'Please translate to Indonesian: {{text_1}} ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_16 + reference: '' + 8998ee5f-c7f3-4b11-8172-6af16dcd7c29: !Template + answer_choices: null + id: 8998ee5f-c7f3-4b11-8172-6af16dcd7c29 + jinja: '{{text_1}} + + + Bisa tolong terjemahkan ke bahasa indonesia? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_10 + reference: '' + 46a19f6b-3a96-4f31-9934-586c84dc7c12: !Template + answer_choices: null + id: 46a19f6b-3a96-4f31-9934-586c84dc7c12 + jinja: 'Kalimat: {{text_2}} + + Tolong translate ke bahasa Sunda ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_4 + reference: '' + f7188219-5cb6-4be2-ae0e-50590f646217: !Template + answer_choices: null + id: f7188219-5cb6-4be2-ae0e-50590f646217 + jinja: '{{text_1}} + + ===== + + Apa bahasa Indonesia nya? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_12 + reference: '' + 10de16a9-c277-4aa1-8fd7-f396d3af4ffe: !Template + answer_choices: null + id: 10de16a9-c277-4aa1-8fd7-f396d3af4ffe + jinja: '{{text_1}} + + ===== + + What is the Indonesian version? ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_18 + reference: '' + e54ca421-54cf-412c-9889-3230555ae090: !Template + answer_choices: null + id: e54ca421-54cf-412c-9889-3230555ae090 + jinja: 'Indonesian: {{text_2}} + + Sundanese: ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - en + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_21 + reference: '' + 52f6cd45-8407-4166-b8c3-6d21fa9f01f2: !Template + answer_choices: null + id: 52f6cd45-8407-4166-b8c3-6d21fa9f01f2 + jinja: 'Sunda: {{text_1}} + + Indonesia: ||| {{text_2}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_9 + reference: '' + 52540277-b0a2-4825-aabe-3fdca3a7f98f: !Template + answer_choices: null + id: 52540277-b0a2-4825-aabe-3fdca3a7f98f + jinja: "Tolong translate kalimat dibawah ke bahasa Indonesia \n\n{{text_1}} |||\ + \ {{text_2}} " + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_11 + reference: '' + 660182e5-24dd-4bd9-9051-c17f25a79c83: !Template + answer_choices: null + id: 660182e5-24dd-4bd9-9051-c17f25a79c83 + jinja: "Apa kalimat bahasa Sunda dari kalimat berikut ini? \n\n{{text_2}} |||\ + \ {{text_1}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_2 + reference: '' + 386cc5fe-bcd9-4a5d-a7ee-194285f1c6f0: !Template + answer_choices: null + id: 386cc5fe-bcd9-4a5d-a7ee-194285f1c6f0 + jinja: '{{text_2}} + + ===== + + Apa bahasa Sunda nya? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_5 + reference: '' + b711d00f-1707-41c4-af27-0ad3186bee0c: !Template + answer_choices: null + id: b711d00f-1707-41c4-af27-0ad3186bee0c + jinja: '{{text_2}} + + + Apa kalimat bahasa Sunda dari kalimat diatas? ||| {{text_1}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - ROUGE + - BLEU + original_task: true + name: nusatranslation_mt_sun_ind_prompt_template_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_abs_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_abs_nusantara_text/templates.yaml new file mode 100644 index 0000000..9beaf92 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_abs_nusantara_text/templates.yaml @@ -0,0 +1,318 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_ace_nusantara_text +templates: + 0a0750c1-0b31-4371-8535-9778c4f61554: !Template + answer_choices: negative ||| neutral ||| positive + id: 0a0750c1-0b31-4371-8535-9778c4f61554 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _diasosiasikan = ["diasosiasikan", "dihubungkan"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} + dapat diasosiasikan dengan {{_emosi}} apa? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} dapat + {{_diasosiasikan}} dengan {{_emosi}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_5 + reference: '' + 0ae1035c-d60d-4451-bd87-520d65deda09: !Template + answer_choices: negative ||| neutral ||| positive + id: 0ae1035c-d60d-4451-bd87-520d65deda09 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} {% set _emosi = ["emosi", "sentimen"] + |random%} {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + Apa {{_emosi}} yang {{_paling}} {{_cocok}} dengan {{_kalimat}}{{_bahasa}} {{_berikut}}: + {{text}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_6 + reference: '' + 0c882d58-2bf5-461e-a243-8380371d38e6: !Template + answer_choices: negative ||| neutral ||| positive + id: 0c882d58-2bf5-461e-a243-8380371d38e6 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mengandung = ["", " mengandung sentimen", " mengandung + emosi"] |random%} {% set _choice = [ "positif, netral, atau negatif", "positif, + negatif, atau netral", "negatif, netral, atau positif", "negatif, positif, atau + netral", "netral, positif, atau negatif", "netral, negatif, atau positif", ] + |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + apakah {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{_choice}}? {{text}} + ||| {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_2 + reference: '' + 2371e80c-9403-49e0-9665-f2312f368ed8: !Template + answer_choices: negative ||| neutral ||| positive + id: 2371e80c-9403-49e0-9665-f2312f368ed8 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _cocok = ["cocok", + "pas", "sesuai"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _paling = ["", "paling"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{text}}, + {{_emosi}} apa yang {{_paling}} + {{_cocok}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_9 + reference: '' + 37e0efc7-4db8-4d3a-be00-c5bb77452cd2: !Template + answer_choices: negative ||| neutral ||| positive + id: 37e0efc7-4db8-4d3a-be00-c5bb77452cd2 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}} {{text}} {{_paling}} + {{_cocok}} dengan suatu nilai sentimen? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} {{_paling}} + {{_cocok}} dengan nilai sentimen {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_7 + reference: '' + 77aea9a6-6358-4d2e-bee6-528291481a34: !Template + answer_choices: negative ||| neutral ||| positive + id: 77aea9a6-6358-4d2e-bee6-528291481a34 + jinja: '{% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set _ingin + = ["", "ingin", "mau"] |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", + "diekspresikan"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {% + set _berikut = ["berikut", "ini"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + Apa {{_emosi}} yang {{_ingin}} {{_ditunjukkan}} + oleh penulis saat menulis {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| answer_choice[label]' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_12 + reference: '' + 96305ac8-cd58-44cc-bbe8-31a85175ee42: !Template + answer_choices: negative ||| neutral ||| positive + id: 96305ac8-cd58-44cc-bbe8-31a85175ee42 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + apakah sentimen dari {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| + sentimen untuk {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_1 + reference: '' + 98501ac8-8bbb-4626-b177-f38b19730cd5: !Template + answer_choices: negative ||| neutral ||| positive + id: 98501ac8-8bbb-4626-b177-f38b19730cd5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set + _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_prediksi}} + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_10 + reference: '' + 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9: !Template + answer_choices: negative ||| neutral ||| positive + id: 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{text}}. + {{_prediksi}} {{_emosi}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! ||| {{_emosi}} dari + {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_8 + reference: '' + 9ef05596-df16-424a-a1f9-d08d937ba0b5: !Template + answer_choices: negative ||| neutral ||| positive + id: 9ef05596-df16-424a-a1f9-d08d937ba0b5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _jika = ["jika", "kalau"] |random%} {% set _ada = ["ada", "diberikan"] + |random%} {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_jika}} {{_ada}} {{_kalimat}}{{_bahasa}} seperti {{_berikut}}: "{{text}}", + apa {{_emosi}}nya? ||| {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_13 + reference: '' + b0f92daf-8746-4919-8461-671a3f03f8dd: !Template + answer_choices: negative ||| neutral ||| positive + id: b0f92daf-8746-4919-8461-671a3f03f8dd + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] + |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] + |random%} {% set _ingin = ["", "ingin", "mau"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_emosi}} apa yang + {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| {{_emosi}} + yang {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_11 + reference: '' + bcef72b5-214f-490a-9ec1-778dfe5ef1da: !Template + answer_choices: negative ||| neutral ||| positive + id: bcef72b5-214f-490a-9ec1-778dfe5ef1da + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _cocok = ["cocok", "pas", "sesuai"] |random%} + {% set _paling = ["", "paling"] |random%} {% set _prediksi = ["prediksi", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_prediksi}} {{_emosi}} yang {{_paling}} {{_cocok}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! + {{text}} ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_4 + reference: '' + d98f3022-3e22-4506-bbf6-85e3f3f81dc9: !Template + answer_choices: negative ||| neutral ||| positive + id: d98f3022-3e22-4506-bbf6-85e3f3f81dc9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _prediksi = ["prediksi", "tentukan", "tebak"] |random%} {% set _emosi + = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Aceh", " berbahasa Aceh"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{_berikut}}, + {{text}}, {{_prediksi}} {{_emosi}}nya ||| {{_emosi}} dari {{_kalimat}}{{_bahasa}} + {{_berikut}} + adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_3 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _aceh = ["Aceh"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_aceh}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _aceh = ["Aceh"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_aceh}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _aceh = ["Aceh"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_aceh}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _aceh = ["Aceh"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_aceh}} ||| {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bew_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bew_nusantara_text/templates.yaml new file mode 100644 index 0000000..6f92ed2 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bew_nusantara_text/templates.yaml @@ -0,0 +1,182 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_bbc_nusantara_text +templates: + 3492c169-0d95-4e9e-a038-74c6e8d593e1: !Template + answer_choices: negative ||| neutral ||| positive + id: 3492c169-0d95-4e9e-a038-74c6e8d593e1 + jinja: 'Berikan hasil analisis sentimen dari text ini! + + {{text}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_5 + reference: '' + 43aa3cd0-20e8-4253-80df-a229669855f5: !Template + answer_choices: negative ||| neutral ||| positive + id: 43aa3cd0-20e8-4253-80df-a229669855f5 + jinja: 'Teks berbahasa Batak Toba ini "{{text}}" memiliki sentimen apa? + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_2 + reference: '' + 4f81be0a-2ad8-486c-ab64-287ead4cfda8: !Template + answer_choices: negative ||| neutral ||| positive + id: 4f81be0a-2ad8-486c-ab64-287ead4cfda8 + jinja: 'Jika terdapat teks berikut dalam hasil ulasan "{{text}}", beri tendensi + yang cocok! + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_1 + reference: '' + 5acf0d64-40e2-4b21-a487-5202c240494d: !Template + answer_choices: negative ||| neutral ||| positive + id: 5acf0d64-40e2-4b21-a487-5202c240494d + jinja: 'Kalau kamu dikasih teks "{{text}}" dalam bahasa Batak Toba, bisa nebak + sentimennya nggak ya? + + ||| + + Kemungkinan besar sih sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_9 + reference: '' + 7a978397-47f0-4959-8a07-94c5c4eea8fc: !Template + answer_choices: negative ||| neutral ||| positive + id: 7a978397-47f0-4959-8a07-94c5c4eea8fc + jinja: '"{{text}}" + + Aku nemu teks ini yang katanya berbahasa Batak Toba, kira-kira apakah dia memiliki + tendensi yang tersirat? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, tendensinya adalah {{answer_choices + [label]}}. {%+ else +%}Nggak, tidak ada tendensi tertentu.{%+ endif +%} + + ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_3 + reference: '' + 9a44db51-9a57-467c-925c-09b3f8272c99: !Template + answer_choices: negative ||| neutral ||| positive + id: 9a44db51-9a57-467c-925c-09b3f8272c99 + jinja: '"{{text}}" + + Dalam bahasa Batak Toba, apakah ada emosi yang terkandung di dalamnya? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, kecenderungan emosinya adalah + {{answer_choices [label]}}. {%+ else +%}Tidak ada.{%+ endif +%}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_4 + reference: '' + a16d3126-91ee-42f3-a13d-8387eb2cbd03: !Template + answer_choices: negative ||| neutral ||| positive + id: a16d3126-91ee-42f3-a13d-8387eb2cbd03 + jinja: 'Apa sentimen dari teks ini? + + "{{text}}" + + ||| + + Sepertinya, sentimennya itu adalah {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_10 + reference: '' + a505d97b-5f7b-4f99-88c9-df2dd8354727: !Template + answer_choices: negative ||| neutral ||| positive + id: a505d97b-5f7b-4f99-88c9-df2dd8354727 + jinja: 'Aduh, ada temen ku yang nulis "{{text}}" dalam bahasa Batak Toba nih, + kira-kira perasaannya lagi senang, sedih, atau biasa aja ya? + + ||| + + Kayaknya sih lagi {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_8 + reference: '' + b03e1c45-98af-4107-ac29-7f59ea1d172a: !Template + answer_choices: negative ||| neutral ||| positive + id: b03e1c45-98af-4107-ac29-7f59ea1d172a + jinja: 'Diberikan teks "{{text}}". Kalau ada orang lain yang pengen tau apakah + ada emosi yang tersirat di balik tulisan ini, jawabannya apa ya? + + ||| + + Berdasarkan hasil analisis, jawabannya itu {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_7 + reference: '' + b414db88-199f-429f-87ee-8062e5e8cb66: !Template + answer_choices: negative ||| neutral ||| positive + id: b414db88-199f-429f-87ee-8062e5e8cb66 + jinja: 'Text ini kira-kira apa ya sentimennya? + + {{text}} + + ||| + + Sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_bbc_6 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bhp_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bhp_nusantara_text/templates.yaml new file mode 100644 index 0000000..4380c25 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_bhp_nusantara_text/templates.yaml @@ -0,0 +1,319 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_bjn_nusantara_text +templates: + 0a0750c1-0b31-4371-8535-9778c4f61554: !Template + answer_choices: negative ||| neutral ||| positive + id: 0a0750c1-0b31-4371-8535-9778c4f61554 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _diasosiasikan = ["diasosiasikan", "dihubungkan"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} + dapat diasosiasikan dengan {{_emosi}} apa? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} dapat + {{_diasosiasikan}} dengan {{_emosi}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_5 + reference: '' + 0ae1035c-d60d-4451-bd87-520d65deda09: !Template + answer_choices: negative ||| neutral ||| positive + id: 0ae1035c-d60d-4451-bd87-520d65deda09 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} {% set _emosi = ["emosi", "sentimen"] + |random%} {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + Apa {{_emosi}} yang {{_paling}} {{_cocok}} dengan {{_kalimat}}{{_bahasa}} {{_berikut}}: + {{text}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_6 + reference: '' + 0c882d58-2bf5-461e-a243-8380371d38e6: !Template + answer_choices: negative ||| neutral ||| positive + id: 0c882d58-2bf5-461e-a243-8380371d38e6 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mengandung = ["", " mengandung sentimen", " mengandung + emosi"] |random%} {% set _choice = [ "positif, netral, atau negatif", "positif, + negatif, atau netral", "negatif, netral, atau positif", "negatif, positif, atau + netral", "netral, positif, atau negatif", "netral, negatif, atau positif", ] + |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + apakah {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{_choice}}? {{text}} + ||| {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_2 + reference: '' + 2371e80c-9403-49e0-9665-f2312f368ed8: !Template + answer_choices: negative ||| neutral ||| positive + id: 2371e80c-9403-49e0-9665-f2312f368ed8 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _cocok = ["cocok", + "pas", "sesuai"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _paling = ["", "paling"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{text}}, + {{_emosi}} apa yang {{_paling}} + {{_cocok}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_9 + reference: '' + 37e0efc7-4db8-4d3a-be00-c5bb77452cd2: !Template + answer_choices: negative ||| neutral ||| positive + id: 37e0efc7-4db8-4d3a-be00-c5bb77452cd2 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}} {{text}} {{_paling}} + {{_cocok}} dengan suatu nilai sentimen? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} {{_paling}} + {{_cocok}} dengan nilai sentimen {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_7 + reference: '' + 77aea9a6-6358-4d2e-bee6-528291481a34: !Template + answer_choices: negative ||| neutral ||| positive + id: 77aea9a6-6358-4d2e-bee6-528291481a34 + jinja: '{% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set _ingin + = ["", "ingin", "mau"] |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", + "diekspresikan"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {% + set _berikut = ["berikut", "ini"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + Apa {{_emosi}} yang {{_ingin}} {{_ditunjukkan}} + oleh penulis saat menulis {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| answer_choice[label]' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_12 + reference: '' + 96305ac8-cd58-44cc-bbe8-31a85175ee42: !Template + answer_choices: negative ||| neutral ||| positive + id: 96305ac8-cd58-44cc-bbe8-31a85175ee42 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + apakah sentimen dari {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| + sentimen untuk {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_1 + reference: '' + 98501ac8-8bbb-4626-b177-f38b19730cd5: !Template + answer_choices: negative ||| neutral ||| positive + id: 98501ac8-8bbb-4626-b177-f38b19730cd5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set + _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_prediksi}} + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_10 + reference: '' + 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9: !Template + answer_choices: negative ||| neutral ||| positive + id: 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{text}}. + {{_prediksi}} {{_emosi}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! ||| {{_emosi}} dari + {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_8 + reference: '' + 9ef05596-df16-424a-a1f9-d08d937ba0b5: !Template + answer_choices: negative ||| neutral ||| positive + id: 9ef05596-df16-424a-a1f9-d08d937ba0b5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _jika = ["jika", "kalau"] |random%} {% set _ada = ["ada", "diberikan"] + |random%} {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_jika}} {{_ada}} {{_kalimat}}{{_bahasa}} seperti {{_berikut}}: "{{text}}", + apa {{_emosi}}nya? ||| {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_13 + reference: '' + b0f92daf-8746-4919-8461-671a3f03f8dd: !Template + answer_choices: negative ||| neutral ||| positive + id: b0f92daf-8746-4919-8461-671a3f03f8dd + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] + |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] + |random%} {% set _ingin = ["", "ingin", "mau"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_emosi}} apa yang + {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| {{_emosi}} + yang {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_11 + reference: '' + bcef72b5-214f-490a-9ec1-778dfe5ef1da: !Template + answer_choices: negative ||| neutral ||| positive + id: bcef72b5-214f-490a-9ec1-778dfe5ef1da + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _cocok = ["cocok", "pas", "sesuai"] |random%} + {% set _paling = ["", "paling"] |random%} {% set _prediksi = ["prediksi", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_prediksi}} {{_emosi}} yang {{_paling}} {{_cocok}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! + {{text}} ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_4 + reference: '' + d98f3022-3e22-4506-bbf6-85e3f3f81dc9: !Template + answer_choices: negative ||| neutral ||| positive + id: d98f3022-3e22-4506-bbf6-85e3f3f81dc9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _prediksi = ["prediksi", "tentukan", "tebak"] |random%} {% set _emosi + = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Banjar", " berbahasa Banjar", " bahasa Banjarmasin", " berbahasa Banjarmasin"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{_berikut}}, + {{text}}, {{_prediksi}} {{_emosi}}nya ||| {{_emosi}} dari {{_kalimat}}{{_bahasa}} + {{_berikut}} + adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_3 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _banjar = ["Banjar", "Banjarmasin"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_banjar}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _banjar = ["Banjar", "Banjarmasin"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_banjar}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _banjar = ["Banjar", "Banjarmasin"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_banjar}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _banjar = ["Banjar", "Banjarmasin"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_banjar}} ||| {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_btk_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_btk_nusantara_text/templates.yaml new file mode 100644 index 0000000..197c429 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_btk_nusantara_text/templates.yaml @@ -0,0 +1,318 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_ban_nusantara_text +templates: + 0a0750c1-0b31-4371-8535-9778c4f61554: !Template + answer_choices: negatif ||| netral ||| positif + id: 0a0750c1-0b31-4371-8535-9778c4f61554 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _diasosiasikan = ["diasosiasikan", "dihubungkan"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} + dapat diasosiasikan dengan {{_emosi}} apa? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} dapat + {{_diasosiasikan}} dengan {{_emosi}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_5 + reference: '' + 0ae1035c-d60d-4451-bd87-520d65deda09: !Template + answer_choices: negatif ||| netral ||| positif + id: 0ae1035c-d60d-4451-bd87-520d65deda09 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} {% set _emosi = ["emosi", "sentimen"] + |random%} {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + Apa {{_emosi}} yang {{_paling}} {{_cocok}} dengan {{_kalimat}}{{_bahasa}} {{_berikut}}: + {{text}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_6 + reference: '' + 0c882d58-2bf5-461e-a243-8380371d38e6: !Template + answer_choices: negatif ||| netral ||| positif + id: 0c882d58-2bf5-461e-a243-8380371d38e6 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mengandung = ["", " mengandung sentimen", " mengandung + emosi"] |random%} {% set _choice = [ "positif, netral, atau negatif", "positif, + negatif, atau netral", "negatif, netral, atau positif", "negatif, positif, atau + netral", "netral, positif, atau negatif", "netral, negatif, atau positif", ] + |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + apakah {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{_choice}}? {{text}} + ||| {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_2 + reference: '' + 2371e80c-9403-49e0-9665-f2312f368ed8: !Template + answer_choices: negatif ||| netral ||| positif + id: 2371e80c-9403-49e0-9665-f2312f368ed8 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _cocok = ["cocok", + "pas", "sesuai"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _paling = ["", "paling"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{text}}, + {{_emosi}} apa yang {{_paling}} + {{_cocok}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_9 + reference: '' + 37e0efc7-4db8-4d3a-be00-c5bb77452cd2: !Template + answer_choices: negatif ||| netral ||| positif + id: 37e0efc7-4db8-4d3a-be00-c5bb77452cd2 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}} {{text}} {{_paling}} + {{_cocok}} dengan suatu nilai sentimen? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} {{_paling}} + {{_cocok}} dengan nilai sentimen {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_7 + reference: '' + 77aea9a6-6358-4d2e-bee6-528291481a34: !Template + answer_choices: negatif ||| netral ||| positif + id: 77aea9a6-6358-4d2e-bee6-528291481a34 + jinja: '{% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set _ingin + = ["", "ingin", "mau"] |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", + "diekspresikan"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {% + set _berikut = ["berikut", "ini"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + Apa {{_emosi}} yang {{_ingin}} {{_ditunjukkan}} + oleh penulis saat menulis {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| answer_choice[label]' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_12 + reference: '' + 96305ac8-cd58-44cc-bbe8-31a85175ee42: !Template + answer_choices: negatif ||| netral ||| positif + id: 96305ac8-cd58-44cc-bbe8-31a85175ee42 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + apakah sentimen dari {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| + sentimen untuk {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_1 + reference: '' + 98501ac8-8bbb-4626-b177-f38b19730cd5: !Template + answer_choices: negatif ||| netral ||| positif + id: 98501ac8-8bbb-4626-b177-f38b19730cd5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set + _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_prediksi}} + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_10 + reference: '' + 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9: !Template + answer_choices: negatif ||| netral ||| positif + id: 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{text}}. + {{_prediksi}} {{_emosi}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! ||| {{_emosi}} dari + {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_8 + reference: '' + 9ef05596-df16-424a-a1f9-d08d937ba0b5: !Template + answer_choices: negatif ||| netral ||| positif + id: 9ef05596-df16-424a-a1f9-d08d937ba0b5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _jika = ["jika", "kalau"] |random%} {% set _ada = ["ada", "diberikan"] + |random%} {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_jika}} {{_ada}} {{_kalimat}}{{_bahasa}} seperti {{_berikut}}: "{{text}}", + apa {{_emosi}}nya? ||| {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_13 + reference: '' + b0f92daf-8746-4919-8461-671a3f03f8dd: !Template + answer_choices: negatif ||| netral ||| positif + id: b0f92daf-8746-4919-8461-671a3f03f8dd + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] + |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] + |random%} {% set _ingin = ["", "ingin", "mau"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_emosi}} apa yang + {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| {{_emosi}} + yang {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_11 + reference: '' + bcef72b5-214f-490a-9ec1-778dfe5ef1da: !Template + answer_choices: negatif ||| netral ||| positif + id: bcef72b5-214f-490a-9ec1-778dfe5ef1da + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _cocok = ["cocok", "pas", "sesuai"] |random%} + {% set _paling = ["", "paling"] |random%} {% set _prediksi = ["prediksi", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_prediksi}} {{_emosi}} yang {{_paling}} {{_cocok}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! + {{text}} ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_4 + reference: '' + d98f3022-3e22-4506-bbf6-85e3f3f81dc9: !Template + answer_choices: negatif ||| netral ||| positif + id: d98f3022-3e22-4506-bbf6-85e3f3f81dc9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _prediksi = ["prediksi", "tentukan", "tebak"] |random%} {% set _emosi + = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Bali", " berbahasa Bali"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{_berikut}}, + {{text}}, {{_prediksi}} {{_emosi}}nya ||| {{_emosi}} dari {{_kalimat}}{{_bahasa}} + {{_berikut}} + adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_3 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _bali = ["Bali"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_bali}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _bali = ["Bali"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_bali}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _bali = ["Bali"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_bali}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _bali = ["Bali"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_bali}} ||| {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_jav_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_jav_nusantara_text/templates.yaml new file mode 100644 index 0000000..0b052e7 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_jav_nusantara_text/templates.yaml @@ -0,0 +1,192 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_jav_nusantara_text +templates: + 3492c169-0d95-4e9e-a038-74c6e8d593e1: !Template + answer_choices: negative ||| neutral ||| positive + id: 3492c169-0d95-4e9e-a038-74c6e8d593e1 + jinja: 'Berikan hasil analisis sentimen dari text ini! + + {{text}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_5 + reference: '' + 43aa3cd0-20e8-4253-80df-a229669855f5: !Template + answer_choices: negative ||| neutral ||| positive + id: 43aa3cd0-20e8-4253-80df-a229669855f5 + jinja: 'Teks berbahasa Jawa ini "{{text}}" memiliki sentimen apa? + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_2 + reference: '' + 4f81be0a-2ad8-486c-ab64-287ead4cfda8: !Template + answer_choices: negative ||| neutral ||| positive + id: 4f81be0a-2ad8-486c-ab64-287ead4cfda8 + jinja: 'Jika terdapat teks berikut dalam hasil ulasan "{{text}}", beri tendensi + yang cocok! + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_1 + reference: '' + 5acf0d64-40e2-4b21-a487-5202c240494d: !Template + answer_choices: negative ||| neutral ||| positive + id: 5acf0d64-40e2-4b21-a487-5202c240494d + jinja: 'Kalau kamu dikasih teks "{{text}}" dalam bahasa Jawa, bisa nebak sentimennya + nggak ya? + + ||| + + Kemungkinan besar sih sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_9 + reference: '' + 7a978397-47f0-4959-8a07-94c5c4eea8fc: !Template + answer_choices: negative ||| neutral ||| positive + id: 7a978397-47f0-4959-8a07-94c5c4eea8fc + jinja: '"{{text}}" + + Aku nemu teks ini yang katanya berbahasa Jawa, kira-kira apakah dia memiliki + tendensi yang tersirat? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, tendensinya adalah {{answer_choices + [label]}}. {%+ else +%}Nggak, tidak ada tendensi tertentu.{%+ endif +%} + + ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_3 + reference: '' + 9a44db51-9a57-467c-925c-09b3f8272c99: !Template + answer_choices: negative ||| neutral ||| positive + id: 9a44db51-9a57-467c-925c-09b3f8272c99 + jinja: '"{{text}}" + + Dalam bahasa Jawa, apakah ada emosi yang terkandung di dalamnya? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, kecenderungan emosinya adalah + {{answer_choices [label]}}. {%+ else +%}Tidak ada.{%+ endif +%}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_4 + reference: '' + a16d3126-91ee-42f3-a13d-8387eb2cbd03: !Template + answer_choices: negative ||| neutral ||| positive + id: a16d3126-91ee-42f3-a13d-8387eb2cbd03 + jinja: 'Apa sentimen dari teks ini? + + "{{text}}" + + ||| + + Sepertinya, sentimennya itu adalah {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_10 + reference: '' + a505d97b-5f7b-4f99-88c9-df2dd8354727: !Template + answer_choices: negative ||| neutral ||| positive + id: a505d97b-5f7b-4f99-88c9-df2dd8354727 + jinja: 'Aduh, ada temen ku yang nulis "{{text}}" dalam bahasa Jawa nih, kira-kira + perasaannya lagi senang, sedih, atau biasa aja ya? + + ||| + + Kayaknya sih lagi {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_8 + reference: '' + b03e1c45-98af-4107-ac29-7f59ea1d172a: !Template + answer_choices: negative ||| neutral ||| positive + id: b03e1c45-98af-4107-ac29-7f59ea1d172a + jinja: 'Diberikan teks "{{text}}". Kalau ada orang lain yang pengen tau apakah + ada emosi yang tersirat di balik tulisan ini, jawabannya apa ya? + + ||| + + Berdasarkan hasil analisis, jawabannya itu {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_7 + reference: '' + b414db88-199f-429f-87ee-8062e5e8cb66: !Template + answer_choices: negative ||| neutral ||| positive + id: b414db88-199f-429f-87ee-8062e5e8cb66 + jinja: 'Text ini kira-kira apa ya sentimennya? + + {{text}} + + ||| + + Sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - jv + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_jav_6 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mad_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mad_nusantara_text/templates.yaml new file mode 100644 index 0000000..76f1690 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mad_nusantara_text/templates.yaml @@ -0,0 +1,319 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_mad_nusantara_text +templates: + 0a0750c1-0b31-4371-8535-9778c4f61554: !Template + answer_choices: negatif ||| netral ||| positif + id: 0a0750c1-0b31-4371-8535-9778c4f61554 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _diasosiasikan = ["diasosiasikan", "dihubungkan"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} + dapat diasosiasikan dengan {{_emosi}} apa? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} dapat + {{_diasosiasikan}} dengan {{_emosi}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_5 + reference: '' + 0ae1035c-d60d-4451-bd87-520d65deda09: !Template + answer_choices: negatif ||| netral ||| positif + id: 0ae1035c-d60d-4451-bd87-520d65deda09 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} {% set _emosi = ["emosi", "sentimen"] + |random%} {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + Apa {{_emosi}} yang {{_paling}} {{_cocok}} dengan {{_kalimat}}{{_bahasa}} {{_berikut}}: + {{text}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_6 + reference: '' + 0c882d58-2bf5-461e-a243-8380371d38e6: !Template + answer_choices: negatif ||| netral ||| positif + id: 0c882d58-2bf5-461e-a243-8380371d38e6 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mengandung = ["", " mengandung sentimen", " mengandung + emosi"] |random%} {% set _choice = [ "positif, netral, atau negatif", "positif, + negatif, atau netral", "negatif, netral, atau positif", "negatif, positif, atau + netral", "netral, positif, atau negatif", "netral, negatif, atau positif", ] + |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + apakah {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{_choice}}? {{text}} + ||| {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_2 + reference: '' + 2371e80c-9403-49e0-9665-f2312f368ed8: !Template + answer_choices: negatif ||| netral ||| positif + id: 2371e80c-9403-49e0-9665-f2312f368ed8 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _cocok = ["cocok", + "pas", "sesuai"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _paling = ["", "paling"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{text}}, + {{_emosi}} apa yang {{_paling}} + {{_cocok}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_9 + reference: '' + 37e0efc7-4db8-4d3a-be00-c5bb77452cd2: !Template + answer_choices: negatif ||| netral ||| positif + id: 37e0efc7-4db8-4d3a-be00-c5bb77452cd2 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}} {{text}} {{_paling}} + {{_cocok}} dengan suatu nilai sentimen? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} {{_paling}} + {{_cocok}} dengan nilai sentimen {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_7 + reference: '' + 77aea9a6-6358-4d2e-bee6-528291481a34: !Template + answer_choices: negatif ||| netral ||| positif + id: 77aea9a6-6358-4d2e-bee6-528291481a34 + jinja: '{% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set _ingin + = ["", "ingin", "mau"] |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", + "diekspresikan"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {% + set _berikut = ["berikut", "ini"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + Apa {{_emosi}} yang {{_ingin}} {{_ditunjukkan}} + oleh penulis saat menulis {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| answer_choice[label]' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_12 + reference: '' + 96305ac8-cd58-44cc-bbe8-31a85175ee42: !Template + answer_choices: negatif ||| netral ||| positif + id: 96305ac8-cd58-44cc-bbe8-31a85175ee42 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + apakah sentimen dari {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| + sentimen untuk {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_1 + reference: '' + 98501ac8-8bbb-4626-b177-f38b19730cd5: !Template + answer_choices: negatif ||| netral ||| positif + id: 98501ac8-8bbb-4626-b177-f38b19730cd5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set + _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_prediksi}} + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_10 + reference: '' + 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9: !Template + answer_choices: negatif ||| netral ||| positif + id: 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{text}}. + {{_prediksi}} {{_emosi}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! ||| {{_emosi}} dari + {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_8 + reference: '' + 9ef05596-df16-424a-a1f9-d08d937ba0b5: !Template + answer_choices: negatif ||| netral ||| positif + id: 9ef05596-df16-424a-a1f9-d08d937ba0b5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _jika = ["jika", "kalau"] |random%} {% set _ada = ["ada", "diberikan"] + |random%} {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_jika}} {{_ada}} {{_kalimat}}{{_bahasa}} seperti {{_berikut}}: "{{text}}", + apa {{_emosi}}nya? ||| {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_13 + reference: '' + b0f92daf-8746-4919-8461-671a3f03f8dd: !Template + answer_choices: negatif ||| netral ||| positif + id: b0f92daf-8746-4919-8461-671a3f03f8dd + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] + |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] + |random%} {% set _ingin = ["", "ingin", "mau"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_emosi}} apa yang + {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| {{_emosi}} + yang {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_11 + reference: '' + bcef72b5-214f-490a-9ec1-778dfe5ef1da: !Template + answer_choices: negatif ||| netral ||| positif + id: bcef72b5-214f-490a-9ec1-778dfe5ef1da + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _cocok = ["cocok", "pas", "sesuai"] |random%} + {% set _paling = ["", "paling"] |random%} {% set _prediksi = ["prediksi", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_prediksi}} {{_emosi}} yang {{_paling}} {{_cocok}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! + {{text}} ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_4 + reference: '' + d98f3022-3e22-4506-bbf6-85e3f3f81dc9: !Template + answer_choices: negatif ||| netral ||| positif + id: d98f3022-3e22-4506-bbf6-85e3f3f81dc9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _prediksi = ["prediksi", "tentukan", "tebak"] |random%} {% set _emosi + = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Madura", " berbahasa Madura"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{_berikut}}, + {{text}}, {{_prediksi}} {{_emosi}}nya ||| {{_emosi}} dari {{_kalimat}}{{_bahasa}} + {{_berikut}} + adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_3 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _madura = ["Madura"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_madura}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _madura = ["Madura"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_madura}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _madura = ["Madura"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_madura}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _madura = ["Madura"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_madura}} ||| {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mak_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mak_nusantara_text/templates.yaml new file mode 100644 index 0000000..ba316aa --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mak_nusantara_text/templates.yaml @@ -0,0 +1,61 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_mak_nusantara_text +templates: + 614e522d-3f7b-48b8-ba5d-09c5129fd64f: !Template + answer_choices: negative ||| neutral ||| positive + id: 614e522d-3f7b-48b8-ba5d-09c5129fd64f + jinja: '{{text}} + + Tentukan sentiment dari kalimat diatas. + + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: true + name: nusatranslation_senti_ind_source_prompt + reference: '' + 8eea3f69-e42b-4963-9fba-a04a6adda758: !Template + answer_choices: negative ||| neutral ||| positive + id: 8eea3f69-e42b-4963-9fba-a04a6adda758 + jinja: '' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: nusatranslation_senti_ind_2 + reference: '' + dd8a23e0-9042-40dc-80b9-afceb178be8d: !Template + answer_choices: negative ||| neutral ||| positive + id: dd8a23e0-9042-40dc-80b9-afceb178be8d + jinja: '' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: '{{text}} Tentukan sentiment dari kalimat diatas. ||| {{answer_choices[label]}}' + reference: '' + ef7ff156-086b-47ee-8c6b-d0cd6e99d0ec: !Template + answer_choices: negative ||| neutral ||| positive + id: ef7ff156-086b-47ee-8c6b-d0cd6e99d0ec + jinja: '{{text}} + + Tentukan sentiment dari kalimat diatas. + + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: [] + original_task: false + name: nusatranslation_senti_ind_1 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_min_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_min_nusantara_text/templates.yaml new file mode 100644 index 0000000..d857ff8 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_min_nusantara_text/templates.yaml @@ -0,0 +1,182 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_min_nusantara_text +templates: + 3492c169-0d95-4e9e-a038-74c6e8d593e1: !Template + answer_choices: negative ||| neutral ||| positive + id: 3492c169-0d95-4e9e-a038-74c6e8d593e1 + jinja: 'Berikan hasil analisis sentimen dari text ini! + + {{text}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_5 + reference: '' + 43aa3cd0-20e8-4253-80df-a229669855f5: !Template + answer_choices: negative ||| neutral ||| positive + id: 43aa3cd0-20e8-4253-80df-a229669855f5 + jinja: 'Teks berbahasa Minang ini "{{text}}" memiliki sentimen apa? + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_2 + reference: '' + 4f81be0a-2ad8-486c-ab64-287ead4cfda8: !Template + answer_choices: negative ||| neutral ||| positive + id: 4f81be0a-2ad8-486c-ab64-287ead4cfda8 + jinja: 'Jika terdapat teks berikut dalam hasil ulasan "{{text}}", beri tendensi + yang cocok! + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_1 + reference: '' + 5acf0d64-40e2-4b21-a487-5202c240494d: !Template + answer_choices: negative ||| neutral ||| positive + id: 5acf0d64-40e2-4b21-a487-5202c240494d + jinja: 'Kalau kamu dikasih teks "{{text}}" dalam bahasa Minang, bisa nebak sentimennya + nggak ya? + + ||| + + Kemungkinan besar sih sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_9 + reference: '' + 7a978397-47f0-4959-8a07-94c5c4eea8fc: !Template + answer_choices: negative ||| neutral ||| positive + id: 7a978397-47f0-4959-8a07-94c5c4eea8fc + jinja: '"{{text}}" + + Aku nemu teks ini yang katanya berbahasa Minang, kira-kira apakah dia memiliki + tendensi yang tersirat? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, tendensinya adalah {{answer_choices + [label]}}. {%+ else +%}Nggak, tidak ada tendensi tertentu.{%+ endif +%} + + ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_3 + reference: '' + 9a44db51-9a57-467c-925c-09b3f8272c99: !Template + answer_choices: negative ||| neutral ||| positive + id: 9a44db51-9a57-467c-925c-09b3f8272c99 + jinja: '"{{text}}" + + Dalam bahasa Minangkabau, apakah ada emosi yang terkandung di dalamnya? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, kecenderungan emosinya adalah + {{answer_choices [label]}}. {%+ else +%}Tidak ada.{%+ endif +%}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_4 + reference: '' + a16d3126-91ee-42f3-a13d-8387eb2cbd03: !Template + answer_choices: negative ||| neutral ||| positive + id: a16d3126-91ee-42f3-a13d-8387eb2cbd03 + jinja: 'Apa sentimen dari teks ini? + + "{{text}}" + + ||| + + Sepertinya, sentimennya itu adalah {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_10 + reference: '' + a505d97b-5f7b-4f99-88c9-df2dd8354727: !Template + answer_choices: negative ||| neutral ||| positive + id: a505d97b-5f7b-4f99-88c9-df2dd8354727 + jinja: 'Aduh, ada temen ku orang Padang yang nulis "{{text}}" nih, kira-kira + perasaannya lagi senang, sedih, atau biasa aja ya? + + ||| + + Kayaknya sih lagi {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_8 + reference: '' + b03e1c45-98af-4107-ac29-7f59ea1d172a: !Template + answer_choices: negative ||| neutral ||| positive + id: b03e1c45-98af-4107-ac29-7f59ea1d172a + jinja: 'Diberikan teks "{{text}}". Kalau ada orang lain yang pengen tau apakah + ada emosi yang tersirat di balik tulisan ini, jawabannya apa ya? + + ||| + + Berdasarkan hasil analisis, jawabannya itu {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_7 + reference: '' + b414db88-199f-429f-87ee-8062e5e8cb66: !Template + answer_choices: negative ||| neutral ||| positive + id: b414db88-199f-429f-87ee-8062e5e8cb66 + jinja: 'Text ini kira-kira apa ya sentimennya? + + {{text}} + + ||| + + Sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_min_6 + reference: '' diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mui_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mui_nusantara_text/templates.yaml new file mode 100644 index 0000000..15f50bf --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_mui_nusantara_text/templates.yaml @@ -0,0 +1,319 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_mui_nusantara_text +templates: + 0a0750c1-0b31-4371-8535-9778c4f61554: !Template + answer_choices: negative ||| neutral ||| positive + id: 0a0750c1-0b31-4371-8535-9778c4f61554 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _diasosiasikan = ["diasosiasikan", "dihubungkan"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} + dapat diasosiasikan dengan {{_emosi}} apa? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} dapat + {{_diasosiasikan}} dengan {{_emosi}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_5 + reference: '' + 0ae1035c-d60d-4451-bd87-520d65deda09: !Template + answer_choices: negative ||| neutral ||| positive + id: 0ae1035c-d60d-4451-bd87-520d65deda09 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} {% set _emosi = ["emosi", "sentimen"] + |random%} {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + Apa {{_emosi}} yang {{_paling}} {{_cocok}} dengan {{_kalimat}}{{_bahasa}} {{_berikut}}: + {{text}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_6 + reference: '' + 0c882d58-2bf5-461e-a243-8380371d38e6: !Template + answer_choices: negative ||| neutral ||| positive + id: 0c882d58-2bf5-461e-a243-8380371d38e6 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mengandung = ["", " mengandung sentimen", " mengandung + emosi"] |random%} {% set _choice = [ "positif, netral, atau negatif", "positif, + negatif, atau netral", "negatif, netral, atau positif", "negatif, positif, atau + netral", "netral, positif, atau negatif", "netral, negatif, atau positif", ] + |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + apakah {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{_choice}}? {{text}} + ||| {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_2 + reference: '' + 2371e80c-9403-49e0-9665-f2312f368ed8: !Template + answer_choices: negative ||| neutral ||| positive + id: 2371e80c-9403-49e0-9665-f2312f368ed8 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _cocok = ["cocok", + "pas", "sesuai"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _paling = ["", "paling"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{text}}, + {{_emosi}} apa yang {{_paling}} + {{_cocok}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_9 + reference: '' + 37e0efc7-4db8-4d3a-be00-c5bb77452cd2: !Template + answer_choices: negative ||| neutral ||| positive + id: 37e0efc7-4db8-4d3a-be00-c5bb77452cd2 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}} {{text}} {{_paling}} + {{_cocok}} dengan suatu nilai sentimen? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} {{_paling}} + {{_cocok}} dengan nilai sentimen {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_7 + reference: '' + 77aea9a6-6358-4d2e-bee6-528291481a34: !Template + answer_choices: negative ||| neutral ||| positive + id: 77aea9a6-6358-4d2e-bee6-528291481a34 + jinja: '{% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set _ingin + = ["", "ingin", "mau"] |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", + "diekspresikan"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {% + set _berikut = ["berikut", "ini"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + Apa {{_emosi}} yang {{_ingin}} {{_ditunjukkan}} + oleh penulis saat menulis {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| answer_choice[label]' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_12 + reference: '' + 96305ac8-cd58-44cc-bbe8-31a85175ee42: !Template + answer_choices: negative ||| neutral ||| positive + id: 96305ac8-cd58-44cc-bbe8-31a85175ee42 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + apakah sentimen dari {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| + sentimen untuk {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_1 + reference: '' + 98501ac8-8bbb-4626-b177-f38b19730cd5: !Template + answer_choices: negative ||| neutral ||| positive + id: 98501ac8-8bbb-4626-b177-f38b19730cd5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set + _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_prediksi}} + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_10 + reference: '' + 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9: !Template + answer_choices: negative ||| neutral ||| positive + id: 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{text}}. + {{_prediksi}} {{_emosi}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! ||| {{_emosi}} dari + {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_8 + reference: '' + 9ef05596-df16-424a-a1f9-d08d937ba0b5: !Template + answer_choices: negative ||| neutral ||| positive + id: 9ef05596-df16-424a-a1f9-d08d937ba0b5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _jika = ["jika", "kalau"] |random%} {% set _ada = ["ada", "diberikan"] + |random%} {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_jika}} {{_ada}} {{_kalimat}}{{_bahasa}} seperti {{_berikut}}: "{{text}}", + apa {{_emosi}}nya? ||| {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_13 + reference: '' + b0f92daf-8746-4919-8461-671a3f03f8dd: !Template + answer_choices: negative ||| neutral ||| positive + id: b0f92daf-8746-4919-8461-671a3f03f8dd + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] + |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] + |random%} {% set _ingin = ["", "ingin", "mau"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_emosi}} apa yang + {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| {{_emosi}} + yang {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_11 + reference: '' + bcef72b5-214f-490a-9ec1-778dfe5ef1da: !Template + answer_choices: negative ||| neutral ||| positive + id: bcef72b5-214f-490a-9ec1-778dfe5ef1da + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _cocok = ["cocok", "pas", "sesuai"] |random%} + {% set _paling = ["", "paling"] |random%} {% set _prediksi = ["prediksi", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_prediksi}} {{_emosi}} yang {{_paling}} {{_cocok}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! + {{text}} ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_4 + reference: '' + d98f3022-3e22-4506-bbf6-85e3f3f81dc9: !Template + answer_choices: negative ||| neutral ||| positive + id: d98f3022-3e22-4506-bbf6-85e3f3f81dc9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _prediksi = ["prediksi", "tentukan", "tebak"] |random%} {% set _emosi + = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Musi", " berbahasa Musi"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{_berikut}}, + {{text}}, {{_prediksi}} {{_emosi}}nya ||| {{_emosi}} dari {{_kalimat}}{{_bahasa}} + {{_berikut}} + adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_3 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _Musi = ["Musi"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_Musi}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _Musi = ["Musi"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_Musi}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _Musi = ["Musi"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_Musi}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _Musi = ["Musi"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_Musi}} ||| {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_rej_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_rej_nusantara_text/templates.yaml new file mode 100644 index 0000000..602cf29 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_rej_nusantara_text/templates.yaml @@ -0,0 +1,319 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_rej_nusantara_text +templates: + 0a0750c1-0b31-4371-8535-9778c4f61554: !Template + answer_choices: negative ||| neutral ||| positive + id: 0a0750c1-0b31-4371-8535-9778c4f61554 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _diasosiasikan = ["diasosiasikan", "dihubungkan"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} + dapat diasosiasikan dengan {{_emosi}} apa? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} dapat + {{_diasosiasikan}} dengan {{_emosi}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_5 + reference: '' + 0ae1035c-d60d-4451-bd87-520d65deda09: !Template + answer_choices: negative ||| neutral ||| positive + id: 0ae1035c-d60d-4451-bd87-520d65deda09 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} {% set _emosi = ["emosi", "sentimen"] + |random%} {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + Apa {{_emosi}} yang {{_paling}} {{_cocok}} dengan {{_kalimat}}{{_bahasa}} {{_berikut}}: + {{text}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_6 + reference: '' + 0c882d58-2bf5-461e-a243-8380371d38e6: !Template + answer_choices: negative ||| neutral ||| positive + id: 0c882d58-2bf5-461e-a243-8380371d38e6 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _mengandung = ["", " mengandung sentimen", " mengandung + emosi"] |random%} {% set _choice = [ "positif, netral, atau negatif", "positif, + negatif, atau netral", "negatif, netral, atau positif", "negatif, positif, atau + netral", "netral, positif, atau negatif", "netral, negatif, atau positif", ] + |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + apakah {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{_choice}}? {{text}} + ||| {{_kalimat}}{{_bahasa}} {{_berikut}}{{_mengandung}} {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_2 + reference: '' + 2371e80c-9403-49e0-9665-f2312f368ed8: !Template + answer_choices: negative ||| neutral ||| positive + id: 2371e80c-9403-49e0-9665-f2312f368ed8 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _cocok = ["cocok", + "pas", "sesuai"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _paling = ["", "paling"] |random%} + {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{text}}, + {{_emosi}} apa yang {{_paling}} + {{_cocok}}? ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_9 + reference: '' + 37e0efc7-4db8-4d3a-be00-c5bb77452cd2: !Template + answer_choices: negative ||| neutral ||| positive + id: 37e0efc7-4db8-4d3a-be00-c5bb77452cd2 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _paling = ["", + "paling"] |random%} {% set _berikut = ["berikut", "ini"] |random%} {% set _cocok + = ["cocok", "pas", "sesuai"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_kalimat}}{{_bahasa}} {{_berikut}} {{text}} {{_paling}} + {{_cocok}} dengan suatu nilai sentimen? ||| {{_kalimat}}{{_bahasa}} {{_berikut}} {{_paling}} + {{_cocok}} dengan nilai sentimen {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_7 + reference: '' + 77aea9a6-6358-4d2e-bee6-528291481a34: !Template + answer_choices: negative ||| neutral ||| positive + id: 77aea9a6-6358-4d2e-bee6-528291481a34 + jinja: '{% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set _ingin + = ["", "ingin", "mau"] |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", + "diekspresikan"] |random%} {% set _kalimat = ["kalimat", "teks"] |random%} {% + set _berikut = ["berikut", "ini"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + Apa {{_emosi}} yang {{_ingin}} {{_ditunjukkan}} + oleh penulis saat menulis {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| answer_choice[label]' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_12 + reference: '' + 96305ac8-cd58-44cc-bbe8-31a85175ee42: !Template + answer_choices: negative ||| neutral ||| positive + id: 96305ac8-cd58-44cc-bbe8-31a85175ee42 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + apakah sentimen dari {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| + sentimen untuk {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_1 + reference: '' + 98501ac8-8bbb-4626-b177-f38b19730cd5: !Template + answer_choices: negative ||| neutral ||| positive + id: 98501ac8-8bbb-4626-b177-f38b19730cd5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} {% set + _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_prediksi}} + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}: {{text}} ||| + {{_emosi}} yang {{_ditunjukkan}} dari {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_10 + reference: '' + 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9: !Template + answer_choices: negative ||| neutral ||| positive + id: 9e90d17f-9ccb-4901-9a6e-5c1332ed8ac9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _prediksi = ["prediksi", "berikan", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{text}}. + {{_prediksi}} {{_emosi}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! ||| {{_emosi}} dari + {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_8 + reference: '' + 9ef05596-df16-424a-a1f9-d08d937ba0b5: !Template + answer_choices: negative ||| neutral ||| positive + id: 9ef05596-df16-424a-a1f9-d08d937ba0b5 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "sentimen"] |random%} + {% set _jika = ["jika", "kalau"] |random%} {% set _ada = ["ada", "diberikan"] + |random%} {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_jika}} {{_ada}} {{_kalimat}}{{_bahasa}} seperti {{_berikut}}: "{{text}}", + apa {{_emosi}}nya? ||| {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_13 + reference: '' + b0f92daf-8746-4919-8461-671a3f03f8dd: !Template + answer_choices: negative ||| neutral ||| positive + id: b0f92daf-8746-4919-8461-671a3f03f8dd + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] + |random%} {% set _ditunjukkan = ["ditunjukkan", "diutarakan", "diekspresikan"] + |random%} {% set _ingin = ["", "ingin", "mau"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_emosi}} apa yang + {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}}? {{text}} ||| {{_emosi}} + yang {{_ingin}} {{_ditunjukkan}} oleh {{_kalimat}}{{_bahasa}} {{_berikut}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_11 + reference: '' + bcef72b5-214f-490a-9ec1-778dfe5ef1da: !Template + answer_choices: negative ||| neutral ||| positive + id: bcef72b5-214f-490a-9ec1-778dfe5ef1da + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} + {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _cocok = ["cocok", "pas", "sesuai"] |random%} + {% set _paling = ["", "paling"] |random%} {% set _prediksi = ["prediksi", "tentukan", + "tebak"] |random%} {% set _emosi = ["emosi", "perasaan", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_prediksi}} {{_emosi}} yang {{_paling}} {{_cocok}} dari {{_kalimat}}{{_bahasa}} {{_berikut}}! + {{text}} ||| {{_emosi}} yang {{_paling}} {{_cocok}} adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_4 + reference: '' + d98f3022-3e22-4506-bbf6-85e3f3f81dc9: !Template + answer_choices: negative ||| neutral ||| positive + id: d98f3022-3e22-4506-bbf6-85e3f3f81dc9 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini", "tersebut"] |random%} {% set _diberikan = ["diberikan", "dengan"] |random%} + {% set _prediksi = ["prediksi", "tentukan", "tebak"] |random%} {% set _emosi + = ["emosi", "sentimen"] |random%} + {% set _bahasa = ["", " bahasa Rejang", " berbahasa Rejang"] |random%} + {{_diberikan}} {{_kalimat}}{{_bahasa}} {{_berikut}}, + {{text}}, {{_prediksi}} {{_emosi}}nya ||| {{_emosi}} dari {{_kalimat}}{{_bahasa}} + {{_berikut}} + adalah {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: true + name: sentiment_analysis_3 + reference: '' + ed10e574-2f1c-4c27-a240-27d8df02e25f: !Template + answer_choices: null + id: ed10e574-2f1c-4c27-a240-27d8df02e25f + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _Rejang = ["Rejang"] |random%} Apa bahasa dari {{_kalimat}} + {{_berikut}}? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_Rejang}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_1 + reference: '' + 43acb49d-bbc6-4e8d-a351-490ac86a8d35: !Template + answer_choices: null + id: 43acb49d-bbc6-4e8d-a351-490ac86a8d35 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _Rejang = ["Rejang"] |random%} {% set _menurut = ["", "Menurut + anda, ", "Menurut pendapat anda, "] |random%} {{_menurut}}{{_kalimat}} {{_berikut}} + berbahasa apa? {{text}} ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_Rejang}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: guess_lang_3 + reference: '' + 4c91eed2-eb8a-4a49-988e-d40b0bfe1886: !Template + answer_choices: null + id: 4c91eed2-eb8a-4a49-988e-d40b0bfe1886 + jinja: '{% set _kalimat = ["kalimat", "teks"] |random%} {% set _berikut = ["berikut", + "ini"] |random%} {% set _Rejang = ["Rejang"] |random%} {% set _tebak = ["Tebak", + "Perkirakan"] |random%} {{_tebak}} bahasa dari {{_kalimat}} {{_berikut}}: {{text}}! + ||| Bahasa dari {{_kalimat}} {{_berikut}} adalah {{_Rejang}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - Accuracy + original_task: false + name: guess_lang_2 + reference: '' + ad95a4b8-2c9a-436f-9934-d1ca46849e78: !Template + answer_choices: null + id: ad95a4b8-2c9a-436f-9934-d1ca46849e78 + jinja: '{% set _buatlah = ["Buatlah", "Berikan contoh", "Berikan satu contoh", + "Buatkan", "Generate"] |random%} {% set _berbahasa = ["berbahasa", "dalam bahasa"] + |random%} {% set _Rejang = ["Rejang"] |random%} {% set _kalimat = ["kalimat", "teks"] + |random%} {{_buatlah}} {{_kalimat}} {{_berbahasa}} {{_Rejang}} ||| {{text}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - id + metrics: + - BLEU + original_task: false + name: generate_sentence_1 + reference: '' + diff --git a/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_sun_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_sun_nusantara_text/templates.yaml new file mode 100644 index 0000000..09f9585 --- /dev/null +++ b/indo_promptsource/promptsource/templates/nusatranslation_senti/nusatranslation_senti_sun_nusantara_text/templates.yaml @@ -0,0 +1,193 @@ +dataset: nusatranslation_senti +subset: nusatranslation_senti_sun_nusantara_text +templates: +templates: + 3492c169-0d95-4e9e-a038-74c6e8d593e1: !Template + answer_choices: negative ||| neutral ||| positive + id: 3492c169-0d95-4e9e-a038-74c6e8d593e1 + jinja: 'Berikan hasil analisis sentimen dari text ini! + + {{text}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_5 + reference: '' + 43aa3cd0-20e8-4253-80df-a229669855f5: !Template + answer_choices: negative ||| neutral ||| positive + id: 43aa3cd0-20e8-4253-80df-a229669855f5 + jinja: 'Teks berbahasa Sunda ini "{{text}}" memiliki sentimen apa? + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_2 + reference: '' + 4f81be0a-2ad8-486c-ab64-287ead4cfda8: !Template + answer_choices: negative ||| neutral ||| positive + id: 4f81be0a-2ad8-486c-ab64-287ead4cfda8 + jinja: 'Jika terdapat teks berikut dalam hasil ulasan "{{text}}", beri tendensi + yang cocok! + + ||| + + {{ answer_choices [label] }}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_1 + reference: '' + 5acf0d64-40e2-4b21-a487-5202c240494d: !Template + answer_choices: negative ||| neutral ||| positive + id: 5acf0d64-40e2-4b21-a487-5202c240494d + jinja: 'Kalau kamu dikasih teks "{{text}}" dalam bahasa Sunda, bisa nebak sentimennya + nggak ya? + + ||| + + Kemungkinan besar sih sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_9 + reference: '' + 7a978397-47f0-4959-8a07-94c5c4eea8fc: !Template + answer_choices: negative ||| neutral ||| positive + id: 7a978397-47f0-4959-8a07-94c5c4eea8fc + jinja: '"{{text}}" + + Aku nemu teks ini yang katanya berbahasa Sunda, kira-kira apakah dia memiliki + tendensi yang tersirat? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, tendensinya adalah {{answer_choices + [label]}}. {%+ else +%}Nggak, tidak ada tendensi tertentu.{%+ endif +%} + + ' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_3 + reference: '' + 9a44db51-9a57-467c-925c-09b3f8272c99: !Template + answer_choices: negative ||| neutral ||| positive + id: 9a44db51-9a57-467c-925c-09b3f8272c99 + jinja: '"{{text}}" + + Dalam bahasa Sunda, apakah ada emosi yang terkandung di dalamnya? + + ||| + + {%+ if answer_choices["label"] !=neutral +%}Ya, kecenderungan emosinya adalah + {{answer_choices [label]}}. {%+ else +%}Tidak ada.{%+ endif +%}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_4 + reference: '' + a16d3126-91ee-42f3-a13d-8387eb2cbd03: !Template + answer_choices: negative ||| neutral ||| positive + id: a16d3126-91ee-42f3-a13d-8387eb2cbd03 + jinja: 'Apa sentimen dari teks ini? + + "{{text}}" + + ||| + + Sepertinya, sentimennya itu adalah {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_10 + reference: '' + a505d97b-5f7b-4f99-88c9-df2dd8354727: !Template + answer_choices: negative ||| neutral ||| positive + id: a505d97b-5f7b-4f99-88c9-df2dd8354727 + jinja: 'Aduh, ada temen ku yang nulis "{{text}}" dalam bahasa Sunda nih, kira-kira + perasaannya lagi senang, sedih, atau biasa aja ya? + + ||| + + Kayaknya sih lagi {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_8 + reference: '' + b03e1c45-98af-4107-ac29-7f59ea1d172a: !Template + answer_choices: negative ||| neutral ||| positive + id: b03e1c45-98af-4107-ac29-7f59ea1d172a + jinja: 'Diberikan teks "{{text}}". Kalau ada orang lain yang pengen tau apakah + ada emosi yang tersirat di balik tulisan ini, jawabannya apa ya? + + ||| + + Berdasarkan hasil analisis, jawabannya itu {{answer_choices[label]}}.' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_7 + reference: '' + b414db88-199f-429f-87ee-8062e5e8cb66: !Template + answer_choices: negative ||| neutral ||| positive + id: b414db88-199f-429f-87ee-8062e5e8cb66 + jinja: 'Text ini kira-kira apa ya sentimennya? + + {{text}} + + ||| + + Sentimennya itu {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - su + metrics: + - Accuracy + original_task: true + name: nusatranslation_senti_sun_6 + reference: '' diff --git a/indo_promptsource/promptsource/templates/smsa/smsa_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/smsa/smsa_nusantara_text/templates.yaml index 0de3559..5ad11aa 100644 --- a/indo_promptsource/promptsource/templates/smsa/smsa_nusantara_text/templates.yaml +++ b/indo_promptsource/promptsource/templates/smsa/smsa_nusantara_text/templates.yaml @@ -4,7 +4,7 @@ templates: 50d1ece5-1329-4df7-839c-a4953e092029: !Template answer_choices: negative ||| neutral ||| positive id: 50d1ece5-1329-4df7-839c-a4953e092029 - jinja: '{{sentence}} + jinja: '{{text}} Apakah sentiment dari paragraf diatas? @@ -22,7 +22,7 @@ templates: 7b8ca335-9d01-4f93-806d-973d936e6bea: !Template answer_choices: negative ||| neutral ||| positive id: 7b8ca335-9d01-4f93-806d-973d936e6bea - jinja: 'Apa sentiment dari kalimat berikut: {{sentence}} + jinja: 'Apa sentiment dari kalimat berikut: {{text}} ||| @@ -48,7 +48,7 @@ templates: 9c406336-8412-49d2-8907-c12069d70e3d: !Template answer_choices: negative ||| neutral ||| positive id: 9c406336-8412-49d2-8907-c12069d70e3d - jinja: '{{sentence}} + jinja: '{{text}} Apakah paragraf diatas bersifat positive, negative or neutral? @@ -66,7 +66,7 @@ templates: bded77e3-97e9-44dd-88e7-5490534e879e: !Template answer_choices: negative ||| neutral ||| positive id: bded77e3-97e9-44dd-88e7-5490534e879e - jinja: '{{sentence}} + jinja: '{{text}} Tentukan sentiment dari kalimat diatas. diff --git a/indo_promptsource/promptsource/templates/su_emot/su_emot_nusantara_text/templates.yaml b/indo_promptsource/promptsource/templates/su_emot/su_emot_nusantara_text/templates.yaml index 7e7f9f6..2e6ef0a 100644 --- a/indo_promptsource/promptsource/templates/su_emot/su_emot_nusantara_text/templates.yaml +++ b/indo_promptsource/promptsource/templates/su_emot/su_emot_nusantara_text/templates.yaml @@ -4,7 +4,7 @@ templates: 98f07ca1-6098-4a3a-94ac-4f878d289ffc: !Template answer_choices: anger ||| joy ||| fear ||| sadness id: 98f07ca1-6098-4a3a-94ac-4f878d289ffc - jinja: "apa emosi yang ingin diekspresikan oleh kalimat {{tweet}}?\n\n |||\n\ + jinja: "apa emosi yang ingin diekspresikan oleh kalimat {{text}}?\n\n |||\n\ \n {{answer_choices[label]}}" metadata: !TemplateMetadata choices_in_prompt: false @@ -29,7 +29,7 @@ templates: id: 75cf0f36-862a-470b-90fc-57c31de3589b jinja: 'Tentukan emosi yang diekspresikan oleh kalimat berikut - Kalimat: {{tweet}} + Kalimat: {{text}} ||| @@ -45,7 +45,7 @@ templates: 847fb18b-f901-4984-bc61-540aad6a969a: !Template answer_choices: anger ||| joy ||| fear ||| sadness id: 847fb18b-f901-4984-bc61-540aad6a969a - jinja: '{{tweet}} + jinja: '{{text}} Perasaan apa yang diekspresikan oleh kalimat diatas? @@ -62,7 +62,7 @@ templates: a54b6f53-43b9-48ac-b45e-c14d319d98e7: !Template answer_choices: anger ||| joy ||| fear ||| sadness id: a54b6f53-43b9-48ac-b45e-c14d319d98e7 - jinja: '{{tweet}} + jinja: '{{text}} Emosi apa yang diekspresikan oleh kalimat diatas?