diff --git a/promptsource/machine_translate.py b/promptsource/machine_translate.py index 7361a21f4..7f3439604 100644 --- a/promptsource/machine_translate.py +++ b/promptsource/machine_translate.py @@ -3,64 +3,122 @@ from promptsource.templates import Template, TemplateCollection +DS_TO_ENG_PROMPT = { + "xcopa": "en", + "Muennighoff/xstory_cloze": "en", + "Muennighoff/xwinograd": "en", + 'GEM/wiki_lingua': 'en_en', # Contains correct language names + 'xnli': 'en', + "paws-x": "en", + "mlqa": "mlqa.en.en", + "xquad": "xquad.en", + "khalidalt/tydiqa-primary": "english", + "khalidalt/tydiqa-goldp": "english", + "pasinit/xlwic": "en", + "GEM/xlsum": "english", + "GEM/BiSECT": "en", +} + +### ZH Datasets + +""" +DATASETS = [ + ('xquad', 'xquad.zh'), + # Context & Answer is in ZH + ('mlqa', 'mlqa.zh.ar'), + ('mlqa', 'mlqa.zh.vi'), + ('mlqa', 'mlqa.zh.es'), + ('mlqa', 'mlqa.zh.en'), + ('mlqa', 'mlqa.zh.hi'), + ('paws-x', 'zh'), + ('clue', 'c3'), + ('clue', 'cmrc2018'), + ('clue', 'csl'), + ('clue', 'drcd'), + ('clue', 'tnews'), + ('pasinit/xlwic', "xlwic_en_zh"), + ('GEM/xlsum', "chinese_simplified"), + # ('GEM/xlsum', "chinese_traditional"), + # For WikiLingua there are already ZH prompts (except for xp3long prompts) + ("xquad", ) +] -### XNLI +LANG = "zh" +""" -PROMPTS = [ - "GPT-3 style", - "can we infer", - "justified in saying", - "guaranteed/possible/impossible", - "MNLI crowdsource", -] +### ES Datasets -LANGS = [ - "ar", - "es", - "fr", - "hi", - "sw", - "ur", - "vi", - "zh", +""" +DATASETS = [ + ('xquad', 'xquad.es'), + # Context & Answer is in ZH + ('mlqa', 'mlqa.es.es'), + ('paws-x', 'es'), + ('GEM/xlsum', "spanish"), + ('GEM/BiSECT', "es"), + #('GEM/wiki_lingua', 'es'), ] +""" -SOURCE_DATASET = TARGET_DATASET = "xnli" -SOURCE_LANG = "en" +LANG = "es" -### XCOPA +### FR Datasets -PROMPTS = [ - "best_option", - 'C1 or C2? premise, so/because…', - "i_am_hesitating", - "cause_effect", - "plausible_alternatives", +""" +DATASETS = [ + #('xquad', 'xquad.fr'), + # Context & Answer is in ZH + #('mlqa', 'mlqa.es.es'), + ('paws-x', 'fr'), + ('GEM/xlsum', "french"), + ('GEM/BiSECT', "fr"), + #('GEM/wiki_lingua', 'fr'), + ('pasinit/xlwic', "xlwic_fr_fr"), ] +""" -LANGS = [ - "id", - "sw", - "ta", - "vi", - "zh", -] - -SOURCE_DATASET = "super_glue/copa" -SOURCE_LANG = None -TARGET_DATASET = "xcopa" +LANG = "fr" -### XSTORY_CLOZE +### VI Datasets -PROMPTS = [ - "Answer Given options", - 'Choose Story Ending', - "Story Continuation and Options", - "Generate Ending", - "Novel Correct Ending", +""" +DATASETS = [ + ('xquad', 'xquad.vi'), + # Context & Answer is in ZH + ('mlqa', 'mlqa.vi.vi'), + #('paws-x', 'vi'), + ('GEM/xlsum', "vietnamese"), + #('GEM/wiki_lingua', 'vi'), +LANGS = [ + #"id", + #"sw", + #"ta", + #"vi", + #"zh", + "tr", + "et", + "ht", + "th", + "it", + "qu", +] +""" + +LANG = "vi" + +### AR Datasets +""" +DATASETS = [ + ('xquad', 'xquad.ar'), + # Context & Answer is in ZH + ('mlqa', 'mlqa.ar.ar'), + #('paws-x', 'vi'), + #('GEM/BiSECT', "fr"), + #('GEM/wiki_lingua', 'es'), + ('khalidalt/tydiqa-primary', 'arabic'), + ('khalidalt/tydiqa-goldp', 'arabic'), ] - LANGS = [ "ar", "es", @@ -68,13 +126,16 @@ "hi", "id", "zh", + "my", + "ru", + "sw", + "te", ] SOURCE_DATASET = TARGET_DATASET = "Muennighoff/xstory_cloze" SOURCE_LANG = "en" ### XWINOGRAD - PROMPTS = [ "Replace", "stand for", @@ -82,16 +143,14 @@ "does underscore refer to", "underscore refer to", ] +LANG = "ar" +""" -LANGS = [ - "fr", - "pt", - "zh", -] -SOURCE_DATASET = TARGET_DATASET = "Muennighoff/xwinograd" -SOURCE_LANG = "en" +# Choose datasets & lang, e.g. +DATASETS = [('GEM/xlsum', "chinese_traditional"),] +LANG = "zh-Hant" # Path to key @@ -147,22 +206,28 @@ def normalize_string(zh_string, en_string): template_collection = TemplateCollection() -source_templates = template_collection.get_dataset(SOURCE_DATASET, SOURCE_LANG) -for lang in LANGS: - target_templates = template_collection.get_dataset(TARGET_DATASET, lang) +for (ds_name, subset_name) in DATASETS: + + subset_name_eng = subset_name + if ds_name in DS_TO_ENG_PROMPT: + subset_name_eng = DS_TO_ENG_PROMPT[ds_name] + + source_templates = template_collection.get_dataset(ds_name, subset_name_eng) + #for lang in LANGS: + target_templates = template_collection.get_dataset(ds_name, subset_name) for uid, template in source_templates.templates.items(): - if template.name.strip() not in PROMPTS: - continue - print(f"Translating {template.name.strip()} to {lang}") + #if not("xp3long" in template.name.strip()):# not in PROMPTS: + # continue + print(f"Translating {template.name.strip()} to {LANG}") answer_choices = [] if template.answer_choices is not None: choices = template.answer_choices.split("|||") for c in choices: - answer_choices.append(normalize_string(translate(lang, c.strip()), c.strip())) + answer_choices.append(normalize_string(translate(LANG, c.strip()), c.strip())) or_jinja = template.jinja.strip() - jinja = normalize_string(translate(lang, or_jinja), or_jinja) - template_name = template.name.strip() + f"_{lang}mt" + jinja = normalize_string(translate(LANG, or_jinja), or_jinja) + template_name = template.name.strip() + f"_{LANG}mt" target_template = Template( template_name, jinja=jinja, reference="", answer_choices=" ||| ".join(answer_choices) ) diff --git a/promptsource/templates.py b/promptsource/templates.py index c26899659..8930686d8 100644 --- a/promptsource/templates.py +++ b/promptsource/templates.py @@ -841,6 +841,7 @@ def read_from_file(self) -> Dict: "Please ignore this warning if you are creating new prompts for this dataset." ) return {} + print(self.dataset_name, self.yaml_path) yaml_dict = yaml.load(open(self.yaml_path, "r"), Loader=yaml.FullLoader) return yaml_dict[self.TEMPLATES_KEY] diff --git a/promptsource/templates/Fraser/python-state-changes/default/templates.yaml b/promptsource/templates/Fraser/python-state-changes/templates.yaml similarity index 100% rename from promptsource/templates/Fraser/python-state-changes/default/templates.yaml rename to promptsource/templates/Fraser/python-state-changes/templates.yaml diff --git a/promptsource/templates/GEM/BiSECT/es/templates.yaml b/promptsource/templates/GEM/BiSECT/es/templates.yaml new file mode 100644 index 000000000..fb7632973 --- /dev/null +++ b/promptsource/templates/GEM/BiSECT/es/templates.yaml @@ -0,0 +1,41 @@ +dataset: GEM/BiSECT +subset: es +templates: + 5c715c55-e860-4cd3-b6cc-f2466a79690a: !Template + answer_choices: '' + id: 5c715c55-e860-4cd3-b6cc-f2466a79690a + jinja: '{{source}}. Esta frase es difícil de entender. Una versión más simple + con significado equivalente es la siguiente: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: equimeaning_esmt + reference: '' + 97498532-926b-4adf-b08b-f8f2d57028b6: !Template + answer_choices: '' + id: 97498532-926b-4adf-b08b-f8f2d57028b6 + jinja: "Divida y simplifique la siguiente oración conservando su significado completo:\ + \ {{source}}\n Versión simplificada: ||| {{target}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: fullmeaning_esmt + reference: '' + d2f29ff0-4bfd-458d-91f3-92a5c1b8c1cd: !Template + answer_choices: '' + id: d2f29ff0-4bfd-458d-91f3-92a5c1b8c1cd + jinja: '{{source}} + + La frase anterior es muy complicada. Por favor, proporcione una versión sinónima + simplificada que consta de varias oraciones: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: synonymous_esmt + reference: '' diff --git a/promptsource/templates/GEM/BiSECT/fr/templates.yaml b/promptsource/templates/GEM/BiSECT/fr/templates.yaml new file mode 100644 index 000000000..73eb88a8c --- /dev/null +++ b/promptsource/templates/GEM/BiSECT/fr/templates.yaml @@ -0,0 +1,41 @@ +dataset: GEM/BiSECT +subset: fr +templates: + 72ade3f4-3abe-4d5d-8a0e-9e7b0c8024cd: !Template + answer_choices: '' + id: 72ade3f4-3abe-4d5d-8a0e-9e7b0c8024cd + jinja: "Divisez et simplifiez la phrase suivante tout en conservant son sens complet :\ + \ {{source}}\n Version simplifiée : ||| {{target}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: fullmeaning_frmt + reference: '' + a244023f-dcec-4352-8026-1404f048eda5: !Template + answer_choices: '' + id: a244023f-dcec-4352-8026-1404f048eda5 + jinja: '{{source}} + + La phrase ci-dessus est très compliquée. Veuillez me fournir une version synonyme + simplifiée composée de plusieurs phrases : ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: synonymous_frmt + reference: '' + eea19d70-be10-4cfa-abcf-4dc56753a0aa: !Template + answer_choices: '' + id: eea19d70-be10-4cfa-abcf-4dc56753a0aa + jinja: '{{source}}. Cette phrase est difficile à comprendre. Une version plus + simple avec une signification équivalente est la suivante : ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: equimeaning_frmt + reference: '' diff --git a/promptsource/templates/GEM/wiki_lingua/zh/templates.yaml b/promptsource/templates/GEM/wiki_lingua/zh/templates.yaml index a95eade2b..f8ab32b96 100644 --- a/promptsource/templates/GEM/wiki_lingua/zh/templates.yaml +++ b/promptsource/templates/GEM/wiki_lingua/zh/templates.yaml @@ -71,3 +71,30 @@ templates: original_task: true name: summarize_above_zh reference: xsum templates + dfa7b514-7385-4855-bb90-253073a34fde: !Template + answer_choices: null + id: dfa7b514-7385-4855-bb90-253073a34fde + jinja: "{{target}}\n\n鉴于上述总结,为它写一个详细的文本。||| {{source}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - ROUGE + - BLEU + original_task: true + name: xp3longwritearticle_zhmt + reference: '' + dff8b414-7485-4855-bb90-253073a34fde: !Template + answer_choices: null + id: dff8b414-7485-4855-bb90-253073a34fde + jinja: "{{target}}\n\n我对此很感兴趣,但我只有几分钟的时间。 + 你能不能给我最多前500个字符的详细解释关于那个? ||| {{source[:500]}}" + metadata: !TemplateMetadata + choices_in_prompt: false + languages: [] + metrics: + - ROUGE + - BLEU + original_task: true + name: xp3longchars_zhmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/arabic/templates.yaml b/promptsource/templates/GEM/xlsum/arabic/templates.yaml new file mode 100644 index 000000000..181773cbe --- /dev/null +++ b/promptsource/templates/GEM/xlsum/arabic/templates.yaml @@ -0,0 +1,107 @@ +dataset: GEM/xlsum +subset: arabic +templates: + 125f3c40-fd13-4fc6-b23d-8b1f50382c6e: !Template + answer_choices: '' + id: 125f3c40-fd13-4fc6-b23d-8b1f50382c6e + jinja: 'العنوان: {{title}} \ n بالنظر إلى العنوان أعلاه لمقال وهمي ، تخيل المقال. + \ n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_armt + reference: '' + 205e9ada-d4b3-44d4-90f4-7dd9b5ca94c2: !Template + answer_choices: '' + id: 205e9ada-d4b3-44d4-90f4-7dd9b5ca94c2 + jinja: '... {{text[3000:3500]}} ... اكتب باقي المقال: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_armt + reference: '' + 6eb29f42-5b93-4a48-9f89-c9b8d8894de3: !Template + answer_choices: '' + id: 6eb29f42-5b93-4a48-9f89-c9b8d8894de3 + jinja: 'مستند للتلخيص: {{text[:8500]}} \ n ملخص بنفس لغة المستند: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_armt + reference: '' + 7aeb52ee-bd6a-41aa-b5f4-ad903439dcf1: !Template + answer_choices: '' + id: 7aeb52ee-bd6a-41aa-b5f4-ad903439dcf1 + jinja: 'العنوان: {{title}} \ n بالنظر إلى العنوان أعلاه لمقال وهمي ، تخيل المقال. + \ n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_armt + reference: '' + b2993258-4098-421c-bb6d-4cf9cc0a8393: !Template + answer_choices: '' + id: b2993258-4098-421c-bb6d-4cf9cc0a8393 + jinja: 'المحتوى: {{text[:7000]}} \ n يمكن تلخيص المحتوى السابق على النحو التالي: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_armt + reference: '' + e009b9fb-a5c0-4021-ab4b-bb2a0397ff73: !Template + answer_choices: '' + id: e009b9fb-a5c0-4021-ab4b-bb2a0397ff73 + jinja: 'بالنظر إلى العنوان أدناه وملخص للمقال ، قم بإنشاء مقالة قصيرة أو بداية + مقالة طويلة لتتماشى معها. العنوان: {{title}} \ n الملخص: {{target}} \ n المقالة + (بحد أقصى 500 حرف): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_armt + reference: '' + e483dbb8-23a4-4ce3-a1b9-f7bc61205e72: !Template + answer_choices: '' + id: e483dbb8-23a4-4ce3-a1b9-f7bc61205e72 + jinja: '{{text[:1000]}} ... متابعة المقالة حتى 4000 حرف آخر كحد أقصى: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + e9823253-3d2c-4784-a72f-1cb2d8b2740d: !Template + answer_choices: '' + id: e9823253-3d2c-4784-a72f-1cb2d8b2740d + jinja: '{{title}} \ n {{text[:5000]}} \ n \ ntl؛ dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_armt + reference: '' + ee5877b2-25e8-4803-8f07-f7228124c7d5: !Template + answer_choices: '' + id: ee5877b2-25e8-4803-8f07-f7228124c7d5 + jinja: '{{text}} \ n \ n أعطني عنوانًا جيدًا للمقالة أعلاه. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_armt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/bengali/templates.yaml b/promptsource/templates/GEM/xlsum/bengali/templates.yaml new file mode 100644 index 000000000..c86f8a5d1 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/bengali/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: bengali +templates: + 32d502bb-aa65-4bf5-b1ff-d3d746a642cc: !Template + answer_choices: '' + id: 32d502bb-aa65-4bf5-b1ff-d3d746a642cc + jinja: 'একটি নিবন্ধের নীচের শিরোনাম এবং সারাংশ দেওয়া, একটি ছোট নিবন্ধ তৈরি করুন + বা তাদের সাথে যেতে একটি দীর্ঘ নিবন্ধের শুরু করুন। শিরোনাম: {{title}}\nসারাংশ: + {{target}}\nনিবন্ধ (সর্বোচ্চ ৫০০ অক্ষর): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_bnmt + reference: '' + 5204605e-e172-48b9-8745-84ab37125d25: !Template + answer_choices: '' + id: 5204605e-e172-48b9-8745-84ab37125d25 + jinja: 'বিষয়বস্তু: {{text[:7000]}}\nপূর্ববর্তী বিষয়বস্তুকে নিম্নরূপ সংক্ষিপ্ত + করা যেতে পারে: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_bnmt + reference: '' + 658f69f9-c24c-43d3-a5a4-2654d71cc3d4: !Template + answer_choices: '' + id: 658f69f9-c24c-43d3-a5a4-2654d71cc3d4 + jinja: 'ডক সংক্ষিপ্ত করার জন্য: {{text[:8500]}}\nডক হিসাবে একই ভাষায় সারাংশ: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_bnmt + reference: '' + 6fc67282-44a2-42e5-b5af-ed00a8e7c13f: !Template + answer_choices: '' + id: 6fc67282-44a2-42e5-b5af-ed00a8e7c13f + jinja: '...{{text[3000:3500]}}... বাকি নিবন্ধটি লিখুন: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_bnmt + reference: '' + 8302891e-ed75-4594-8a50-f77f6d77ebe1: !Template + answer_choices: '' + id: 8302891e-ed75-4594-8a50-f77f6d77ebe1 + jinja: 'শিরোনাম: {{title}}\nএকটি কাল্পনিক নিবন্ধের উপরের শিরোনাম দেওয়া, নিবন্ধটি + কল্পনা করুন।\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_bnmt + reference: '' + c815e336-c345-4b3d-ab48-4fb4e26b4adf: !Template + answer_choices: '' + id: c815e336-c345-4b3d-ab48-4fb4e26b4adf + jinja: '{{text}} \n\nউপরের নিবন্ধটির জন্য আমাকে একটি ভাল শিরোনাম দিন। ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_bnmt + reference: '' + e3e84eec-cde9-4e01-9a07-602f9e640593: !Template + answer_choices: '' + id: e3e84eec-cde9-4e01-9a07-602f9e640593 + jinja: 'শিরোনাম: {{title}}\nএকটি কাল্পনিক নিবন্ধের উপরের শিরোনাম দেওয়া, নিবন্ধটি + কল্পনা করুন।\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_bnmt + reference: '' + f93857d4-4326-46ad-96f2-595cc287a977: !Template + answer_choices: '' + id: f93857d4-4326-46ad-96f2-595cc287a977 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_bnmt + reference: '' + fc663e18-3655-47db-90f4-93b1a9992044: !Template + answer_choices: '' + id: fc663e18-3655-47db-90f4-93b1a9992044 + jinja: '{{text[:1000]}}... আরও 4000 অক্ষরের জন্য নিবন্ধটি চালিয়ে যান: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_bnmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/chinese_simplified/templates.yaml b/promptsource/templates/GEM/xlsum/chinese_simplified/templates.yaml new file mode 100644 index 000000000..21bfe3d1e --- /dev/null +++ b/promptsource/templates/GEM/xlsum/chinese_simplified/templates.yaml @@ -0,0 +1,115 @@ +dataset: GEM/xlsum +subset: chinese_simplified +templates: + 0bf9d87c-c6ac-4ff3-a956-e57ec434c4df: !Template + answer_choices: '' + id: 0bf9d87c-c6ac-4ff3-a956-e57ec434c4df + jinja: 标题:{{title}}\n给定上面虚构文章的标题,想象这篇文章。\n ||| {{text[:7000]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_zhmt + reference: '' + 70151209-fdd4-4b78-988d-629ff5da1239: !Template + answer_choices: '' + id: 70151209-fdd4-4b78-988d-629ff5da1239 + jinja: '{{text[:1000]}}... 继续这篇文章,最多 4000 个字符:||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + 900008a7-0cde-4f0d-8fd3-2ff9cb5b36f1: !Template + answer_choices: '' + id: 900008a7-0cde-4f0d-8fd3-2ff9cb5b36f1 + jinja: 给定以下文章的标题和摘要,生成一篇短篇文章或一篇长篇文章的开头以配合它们。标题:{{title}}\n摘要:{{target}}\n文章(最多 + 500 个字符):||| {{text[:500]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_zhmt + reference: '' + 9387daa0-a014-4df0-9d21-ff086dc5df4a: !Template + answer_choices: '' + id: 9387daa0-a014-4df0-9d21-ff086dc5df4a + jinja: 要总结的文档:{{text[:8500]}}\n以与文档相同的语言进行总结:||| {{target}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_zhmt + reference: '' + 97e1cdb0-1c5d-4421-a15b-faf02cd812a8: !Template + answer_choices: '' + id: 97e1cdb0-1c5d-4421-a15b-faf02cd812a8 + jinja: '{{text}} \n\n给我上面文章的好标题。 ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_zhmt + reference: '' + 9d46d594-7463-4f74-bfd9-b5cbf804e94b: !Template + answer_choices: '' + id: 9d46d594-7463-4f74-bfd9-b5cbf804e94b + jinja: 标题:{{title}}\n给定上面虚构文章的标题,想象这篇文章。\n ||| {{text[:7000]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_zhmt + reference: '' + bfd429f5-d75d-46a2-8224-874d1109c310: !Template + answer_choices: '' + id: bfd429f5-d75d-46a2-8224-874d1109c310 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;博士:||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_zhmt + reference: '' + d4f2980a-cb44-4e47-b6c3-3df858c82126: !Template + answer_choices: '' + id: d4f2980a-cb44-4e47-b6c3-3df858c82126 + jinja: 给定以下文章的标题和摘要,生成一篇短篇文章或一篇长篇文章的开头以配合它们。标题:{{title}}\n摘要:{{target}}\n文章(最多 + 500 个字符):||| {{text[:500]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: genarticle_zhmt + reference: '' + dca03c69-940f-46b0-acd8-16bbcbd6bec9: !Template + answer_choices: '' + id: dca03c69-940f-46b0-acd8-16bbcbd6bec9 + jinja: '...{{text[3000:3500]}}... 写下文章的其余部分:||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_zhmt + reference: '' + ff7e01a6-9c23-4228-85c8-b84432deeb50: !Template + answer_choices: '' + id: ff7e01a6-9c23-4228-85c8-b84432deeb50 + jinja: 内容:{{text[:7000]}}\n前面的内容可以总结如下:||| {{target}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_zhmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/chinese_traditional/templates.yaml b/promptsource/templates/GEM/xlsum/chinese_traditional/templates.yaml new file mode 100644 index 000000000..f143c55df --- /dev/null +++ b/promptsource/templates/GEM/xlsum/chinese_traditional/templates.yaml @@ -0,0 +1,103 @@ +dataset: GEM/xlsum +subset: chinese_traditional +templates: + 0359b55f-6377-412b-b07a-7e43894f1b12: !Template + answer_choices: '' + id: 0359b55f-6377-412b-b07a-7e43894f1b12 + jinja: 給定以下文章的標題和摘要,生成一篇短篇文章或一篇長篇文章的開頭以配合它們。標題:{{title}}\n摘要:{{target}}\n文章(最多 + 500 個字符):||| {{text[:500]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_zh-Hantmt + reference: '' + 4aa70ff0-4f57-49d7-bb07-21744030595b: !Template + answer_choices: '' + id: 4aa70ff0-4f57-49d7-bb07-21744030595b + jinja: 內容:{{text[:7000]}}\n前面的內容可以總結如下:||| {{target}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_zh-Hantmt + reference: '' + 886f8dd2-c433-48e6-bf07-ce9e62f24e92: !Template + answer_choices: '' + id: 886f8dd2-c433-48e6-bf07-ce9e62f24e92 + jinja: 要總結的文檔:{{text[:8500]}}\n以與文檔相同的語言進行總結:||| {{target}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_zh-Hantmt + reference: '' + 8d3aa243-e74e-49bf-980e-a5d267b0bcdf: !Template + answer_choices: '' + id: 8d3aa243-e74e-49bf-980e-a5d267b0bcdf + jinja: 標題:{{title}}\n給定上面虛構文章的標題,想像這篇文章。\n ||| {{text[:7000]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_zh-Hantmt + reference: '' + 991cb26b-e019-48cc-aa2e-666e760d7c57: !Template + answer_choices: '' + id: 991cb26b-e019-48cc-aa2e-666e760d7c57 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;博士:||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_zh-Hantmt + reference: '' + acb6acd4-26eb-4f54-8954-d61cc73584d8: !Template + answer_choices: '' + id: acb6acd4-26eb-4f54-8954-d61cc73584d8 + jinja: '...{{text[3000:3500]}}... 寫下文章的其餘部分:||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_zh-Hantmt + reference: '' + b85e0b6d-84ff-43de-8449-d09450692329: !Template + answer_choices: '' + id: b85e0b6d-84ff-43de-8449-d09450692329 + jinja: '{{text}} \n\n給我上面文章的好標題。 ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_zh-Hantmt + reference: '' + c593300c-a4ef-4692-9433-ae225e32e3bc: !Template + answer_choices: '' + id: c593300c-a4ef-4692-9433-ae225e32e3bc + jinja: '{{text[:1000]}}... 繼續這篇文章,最多 4000 個字符:||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zh-Hantmt + reference: '' + f87a88c1-35ab-461e-bf99-c1f3e7dc3c9f: !Template + answer_choices: '' + id: f87a88c1-35ab-461e-bf99-c1f3e7dc3c9f + jinja: 標題:{{title}}\n給定上面虛構文章的標題,想像這篇文章。\n ||| {{text[:7000]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_zh-Hantmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/french/templates.yaml b/promptsource/templates/GEM/xlsum/french/templates.yaml new file mode 100644 index 000000000..f44c9915b --- /dev/null +++ b/promptsource/templates/GEM/xlsum/french/templates.yaml @@ -0,0 +1,109 @@ +dataset: GEM/xlsum +subset: french +templates: + 074cb981-66b8-4c84-8a6a-beb552fef60d: !Template + answer_choices: '' + id: 074cb981-66b8-4c84-8a6a-beb552fef60d + jinja: 'Contenu : {{text[:7000]}}\nLe contenu précédent peut être résumé comme + suit : ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_frmt + reference: '' + 0b7940e8-49f0-4a1a-8656-eb1ce361d6c4: !Template + answer_choices: '' + id: 0b7940e8-49f0-4a1a-8656-eb1ce361d6c4 + jinja: 'Compte tenu du titre et du résumé d''un article ci-dessous, générez un + court article ou le début d''un long article pour les accompagner. Titre : {{title}}\nRésumé : + {{target}}\nArticle (Max 500 caractères) : ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_frmt + reference: '' + 5ef17f82-24d4-4a4a-8d25-e6a451166ea2: !Template + answer_choices: '' + id: 5ef17f82-24d4-4a4a-8d25-e6a451166ea2 + jinja: 'Titre : {{title}}\nÉtant donné le titre ci-dessus d''un article imaginaire, + imaginez l''article.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_frmt + reference: '' + 62738c0f-8c67-4a74-af6c-8f81c8a5beda: !Template + answer_choices: '' + id: 62738c0f-8c67-4a74-af6c-8f81c8a5beda + jinja: 'Titre : {{title}}\nÉtant donné le titre ci-dessus d''un article imaginaire, + imaginez l''article.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_frmt + reference: '' + 6c521262-20c8-4d6b-8f24-6b63723d45f8: !Template + answer_choices: '' + id: 6c521262-20c8-4d6b-8f24-6b63723d45f8 + jinja: '{{text[:1000]}}... Continuez l''article pour encore 4000 caractères max : + ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_frmt + reference: '' + 6dd62770-2650-4851-92a2-992c8f372c68: !Template + answer_choices: '' + id: 6dd62770-2650-4851-92a2-992c8f372c68 + jinja: 'Doc à résumer : {{text[:8500]}}\nRésumé dans la même langue que le document : + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_frmt + reference: '' + b4232330-e468-4b58-a38d-bdfde2596af0: !Template + answer_choices: '' + id: b4232330-e468-4b58-a38d-bdfde2596af0 + jinja: '...{{text[3000:3500]}}... Écrivez le reste de l''article : ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_frmt + reference: '' + bcbe321c-bc89-46ca-be98-e15a9becc728: !Template + answer_choices: '' + id: bcbe321c-bc89-46ca-be98-e15a9becc728 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr : ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_frmt + reference: '' + fa8365bc-626a-4856-898b-f4c23b8a3679: !Template + answer_choices: '' + id: fa8365bc-626a-4856-898b-f4c23b8a3679 + jinja: '{{text}} \n\nDonnez-moi un bon titre pour l''article ci-dessus. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_frmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/gujarati/templates.yaml b/promptsource/templates/GEM/xlsum/gujarati/templates.yaml new file mode 100644 index 000000000..37a9dc136 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/gujarati/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: gujarati +templates: + 011f7996-22d7-421f-ae2a-f772a3148a64: !Template + answer_choices: '' + id: 011f7996-22d7-421f-ae2a-f772a3148a64 + jinja: 'સારાંશ માટે દસ્તાવેજ: {{text[:8500]}}\nદસ્તાવેજની સમાન ભાષામાં સારાંશ: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_gumt + reference: '' + 10e141df-f245-4e48-af37-3b22926513bd: !Template + answer_choices: '' + id: 10e141df-f245-4e48-af37-3b22926513bd + jinja: '{{text[:1000]}}... બીજા 4000 અક્ષરો માટે લેખ ચાલુ રાખો: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_gumt + reference: '' + 1725b897-20b9-46d2-a9ba-1a87507ce474: !Template + answer_choices: '' + id: 1725b897-20b9-46d2-a9ba-1a87507ce474 + jinja: 'શીર્ષક: {{title}}\nકાલ્પનિક લેખનું ઉપરનું શીર્ષક જોતાં, લેખની કલ્પના કરો.\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_gumt + reference: '' + 3620ce67-4126-4863-8511-d93503ea40cd: !Template + answer_choices: '' + id: 3620ce67-4126-4863-8511-d93503ea40cd + jinja: 'શીર્ષક: {{title}}\nકાલ્પનિક લેખનું ઉપરનું શીર્ષક જોતાં, લેખની કલ્પના કરો.\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_gumt + reference: '' + 3eca1b7a-9ab4-4306-bce2-eec8aed09250: !Template + answer_choices: '' + id: 3eca1b7a-9ab4-4306-bce2-eec8aed09250 + jinja: '...{{text[3000:3500]}}... બાકીનો લેખ લખો: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_gumt + reference: '' + 4456c3d7-ecf6-486b-a6c5-568dc5b3780c: !Template + answer_choices: '' + id: 4456c3d7-ecf6-486b-a6c5-568dc5b3780c + jinja: 'લેખના નીચેના શીર્ષક અને સારાંશને જોતાં, તેમની સાથે જવા માટે એક નાનો લેખ + અથવા લાંબા લેખની શરૂઆત બનાવો. શીર્ષક: {{title}}\nસારાંશ: {{target}}\nલેખ (મહત્તમ + 500 અક્ષરો): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_gumt + reference: '' + 61ad4758-74bf-4455-b48c-50e027dbc1d2: !Template + answer_choices: '' + id: 61ad4758-74bf-4455-b48c-50e027dbc1d2 + jinja: 'સામગ્રી: {{text[:7000]}}\nઅગાઉની સામગ્રીનો સારાંશ નીચે મુજબ કરી શકાય છે: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_gumt + reference: '' + 65d609bd-d628-42f3-9423-b6b946bfc03a: !Template + answer_choices: '' + id: 65d609bd-d628-42f3-9423-b6b946bfc03a + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_gumt + reference: '' + 9a3662ea-e84f-4fd2-85e5-8dd4f4d7d27a: !Template + answer_choices: '' + id: 9a3662ea-e84f-4fd2-85e5-8dd4f4d7d27a + jinja: '{{text}} \n\nમને ઉપરના લેખ માટે સારું શીર્ષક આપો. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_gumt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/hindi/templates.yaml b/promptsource/templates/GEM/xlsum/hindi/templates.yaml new file mode 100644 index 000000000..fc114f82f --- /dev/null +++ b/promptsource/templates/GEM/xlsum/hindi/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: hindi +templates: + 0e74164d-3367-4202-a557-05993d4e1e79: !Template + answer_choices: '' + id: 0e74164d-3367-4202-a557-05993d4e1e79 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;डॉ: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_himt + reference: '' + 3317fc17-f2d4-452b-9c58-145ec6eb3e07: !Template + answer_choices: '' + id: 3317fc17-f2d4-452b-9c58-145ec6eb3e07 + jinja: 'संक्षेप करने के लिए दस्तावेज़: {{text[:8500]}}\nसंक्षेप उसी भाषा में जिसमें + दस्तावेज़ है: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_himt + reference: '' + 49a0aad9-1a07-462d-9963-271be7656850: !Template + answer_choices: '' + id: 49a0aad9-1a07-462d-9963-271be7656850 + jinja: 'शीर्षक: {{title}}\nएक काल्पनिक लेख के उपरोक्त शीर्षक को देखते हुए, लेख + की कल्पना करें।\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_himt + reference: '' + 77ea5064-9551-4720-af35-dd556f02b238: !Template + answer_choices: '' + id: 77ea5064-9551-4720-af35-dd556f02b238 + jinja: '...{{text[3000:3500]}}... शेष लेख लिखें: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_himt + reference: '' + 8f1332e0-f609-46cd-b453-87b32881b3b5: !Template + answer_choices: '' + id: 8f1332e0-f609-46cd-b453-87b32881b3b5 + jinja: '{{text}} \n\nउपरोक्त लेख के लिए मुझे एक अच्छा शीर्षक दें। ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_himt + reference: '' + aeba7a3e-8ffc-47ed-91aa-5f24c0135cd7: !Template + answer_choices: '' + id: aeba7a3e-8ffc-47ed-91aa-5f24c0135cd7 + jinja: 'शीर्षक: {{title}}\nएक काल्पनिक लेख के उपरोक्त शीर्षक को देखते हुए, लेख + की कल्पना करें।\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_himt + reference: '' + e5613384-e708-4b14-a82f-92e4d4699181: !Template + answer_choices: '' + id: e5613384-e708-4b14-a82f-92e4d4699181 + jinja: 'सामग्री: {{text[:7000]}}\nपिछली सामग्री को संक्षेप में निम्नानुसार किया + जा सकता है: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_himt + reference: '' + f0fc3a43-348c-49b8-871d-8819433043d0: !Template + answer_choices: '' + id: f0fc3a43-348c-49b8-871d-8819433043d0 + jinja: 'नीचे दिए गए शीर्षक और लेख के सारांश को देखते हुए, उनके साथ जाने के लिए + एक छोटा लेख या एक लंबे लेख की शुरुआत करें। शीर्षक: {{title}}\nसारांश: {{target}}\nअनुच्छेद + (अधिकतम 500 वर्ण): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_himt + reference: '' + f2285753-6ec8-4c16-af85-8fde9f6e4228: !Template + answer_choices: '' + id: f2285753-6ec8-4c16-af85-8fde9f6e4228 + jinja: '{{text[:1000]}}... अधिकतम 4000 वर्णों के लिए लेख जारी रखें: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_himt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/igbo/templates.yaml b/promptsource/templates/GEM/xlsum/igbo/templates.yaml new file mode 100644 index 000000000..f6da8f9fb --- /dev/null +++ b/promptsource/templates/GEM/xlsum/igbo/templates.yaml @@ -0,0 +1,109 @@ +dataset: GEM/xlsum +subset: igbo +templates: + 027f78fc-2367-4e1a-ac44-78b8ed30c9cb: !Template + answer_choices: '' + id: 027f78fc-2367-4e1a-ac44-78b8ed30c9cb + jinja: '...{{text[3000:3500]}}... Dee edemede ndị ọzọ: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_igmt + reference: '' + 14fdfc19-a0e3-42bd-a941-e5673d8fa010: !Template + answer_choices: '' + id: 14fdfc19-a0e3-42bd-a941-e5673d8fa010 + jinja: '{{text}} \n\n Nye m aha ọma maka akụkọ dị n''elu. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_igmt + reference: '' + 1ffeb5f0-117c-4d06-a3ba-4cf363d3fc59: !Template + answer_choices: '' + id: 1ffeb5f0-117c-4d06-a3ba-4cf363d3fc59 + jinja: 'Doc iji chịkọta: {{text[:8500]}}\nNchịkọta n''otu asụsụ dị ka doc: ||| + {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_igmt + reference: '' + 233a9feb-a867-4cf0-a621-ee3c3fe2f711: !Template + answer_choices: '' + id: 233a9feb-a867-4cf0-a621-ee3c3fe2f711 + jinja: 'Isiokwu: {{title}}\n Nyere aha a dị n''elu nke akụkọ ifo, chegodị akụkọ + a.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_igmt + reference: '' + 7d302a9a-ca1b-4278-a76b-c41ba0ddd252: !Template + answer_choices: '' + id: 7d302a9a-ca1b-4278-a76b-c41ba0ddd252 + jinja: 'Ọdịnaya: {{text[:7000]}}\n Enwere ike ichikota ọdịnaya gara aga dị ka + ndị a: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_igmt + reference: '' + 7f372f8a-75a8-475b-a15d-7f0708bb3b90: !Template + answer_choices: '' + id: 7f372f8a-75a8-475b-a15d-7f0708bb3b90 + jinja: 'Isiokwu: {{title}}\n Nyere aha a dị n''elu nke akụkọ ifo, chegodị akụkọ + a.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_igmt + reference: '' + 8db2d00f-ea58-4ab2-8997-51d6db9ee2d9: !Template + answer_choices: '' + id: 8db2d00f-ea58-4ab2-8997-51d6db9ee2d9 + jinja: 'N''inye aha dị n''okpuru na nchịkọta akụkọ, mepụta akụkọ dị mkpirikpi + ma ọ bụ mmalite nke ogologo akụkọ iji soro ha gaa. Aha: {{title}}\nNchịkọta: + {{target}}\nAkụkụ ( mkpụrụedemede 500): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_igmt + reference: '' + 9c792b5d-ac13-4c6f-9045-18e6faf42b15: !Template + answer_choices: '' + id: 9c792b5d-ac13-4c6f-9045-18e6faf42b15 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_igmt + reference: '' + bc328c0f-033d-413b-8dc0-1bad4c60c3ba: !Template + answer_choices: '' + id: bc328c0f-033d-413b-8dc0-1bad4c60c3ba + jinja: '{{text[:1000]}}... Gaa n''ihu akụkọ maka mkpụrụedemede 4000 ọzọ max: ||| + {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_igmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/indonesian/templates.yaml b/promptsource/templates/GEM/xlsum/indonesian/templates.yaml new file mode 100644 index 000000000..d7122a01e --- /dev/null +++ b/promptsource/templates/GEM/xlsum/indonesian/templates.yaml @@ -0,0 +1,109 @@ +dataset: GEM/xlsum +subset: indonesian +templates: + 01649b83-57e3-47a5-b623-8a0a63332027: !Template + answer_choices: '' + id: 01649b83-57e3-47a5-b623-8a0a63332027 + jinja: 'Konten: {{text[:7000]}}\nKonten sebelumnya dapat diringkas sebagai berikut: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_idmt + reference: '' + 13abaf4e-863d-43c7-9cb1-ddc8ccb3ea62: !Template + answer_choices: '' + id: 13abaf4e-863d-43c7-9cb1-ddc8ccb3ea62 + jinja: 'Mengingat judul dan ringkasan artikel di bawah ini, buat artikel pendek + atau awal artikel panjang untuk mengikutinya. Judul: {{title}}\nRingkasan: {{target}}\nArtikel + (Maks 500 karakter): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_idmt + reference: '' + 3fae0bea-1be0-48d9-bd04-7cbea2320eb8: !Template + answer_choices: '' + id: 3fae0bea-1be0-48d9-bd04-7cbea2320eb8 + jinja: 'Dokumen untuk meringkas: {{text[:8500]}}\nRingkasan dalam bahasa yang + sama dengan dokumen: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_idmt + reference: '' + 7430aa7a-026b-413b-80c1-a67b1d00eaa4: !Template + answer_choices: '' + id: 7430aa7a-026b-413b-80c1-a67b1d00eaa4 + jinja: '{{text[:1000]}}... Lanjutkan artikel untuk maksimal 4000 karakter: ||| + {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_idmt + reference: '' + c87a213b-082c-446a-a833-c194ec82eb9b: !Template + answer_choices: '' + id: c87a213b-082c-446a-a833-c194ec82eb9b + jinja: '...{{text[3000:3500]}}... Tulis artikel selanjutnya: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_idmt + reference: '' + dba0924d-e984-4aed-8a5a-8cb317884f69: !Template + answer_choices: '' + id: dba0924d-e984-4aed-8a5a-8cb317884f69 + jinja: 'Judul: {{title}}\nMengingat judul artikel imajiner di atas, bayangkan + artikel tersebut.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_idmt + reference: '' + dc07cd3d-89d2-4035-b850-55e52e95d248: !Template + answer_choices: '' + id: dc07cd3d-89d2-4035-b850-55e52e95d248 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_idmt + reference: '' + f148f17f-8093-46ae-a760-7cfc85a836c1: !Template + answer_choices: '' + id: f148f17f-8093-46ae-a760-7cfc85a836c1 + jinja: '{{text}} \n\nBeri saya judul yang bagus untuk artikel di atas. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_idmt + reference: '' + f7cde29c-2363-44f7-8897-becae900cc7e: !Template + answer_choices: '' + id: f7cde29c-2363-44f7-8897-becae900cc7e + jinja: 'Judul: {{title}}\nMengingat judul artikel imajiner di atas, bayangkan + artikel tersebut.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_idmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/marathi/templates.yaml b/promptsource/templates/GEM/xlsum/marathi/templates.yaml new file mode 100644 index 000000000..22875c921 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/marathi/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: marathi +templates: + 0e30b48d-a0e1-4f6b-8337-6b6169c96ce5: !Template + answer_choices: '' + id: 0e30b48d-a0e1-4f6b-8337-6b6169c96ce5 + jinja: 'शीर्षक: {{title}}\nवरील काल्पनिक लेखाचे शीर्षक दिल्यास, लेखाची कल्पना + करा.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_mrmt + reference: '' + 1668dc4f-90d7-4784-8e21-2ab4f8440a49: !Template + answer_choices: '' + id: 1668dc4f-90d7-4784-8e21-2ab4f8440a49 + jinja: 'सामग्री: {{text[:7000]}}\nमागील सामग्री खालीलप्रमाणे सारांशित केली जाऊ + शकते: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_mrmt + reference: '' + 3405dfbc-5c8f-4aec-996e-fdad75126d3b: !Template + answer_choices: '' + id: 3405dfbc-5c8f-4aec-996e-fdad75126d3b + jinja: 'डॉक सारांशित करण्यासाठी: {{text[:8500]}}\nडॉक सारख्याच भाषेत सारांश: ||| + {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_mrmt + reference: '' + 3af37365-f1cf-4cbe-aff7-b00827590096: !Template + answer_choices: '' + id: 3af37365-f1cf-4cbe-aff7-b00827590096 + jinja: 'लेखाचे खालील शीर्षक आणि सारांश दिल्यास, त्यांच्यासोबत जाण्यासाठी एक छोटा + लेख किंवा दीर्घ लेखाची सुरुवात तयार करा. शीर्षक: {{title}}\nसारांश: {{target}}\nलेख + (कमाल ५०० वर्ण): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_mrmt + reference: '' + 6c6751a9-6c77-4b5b-a68b-6658b180ce3e: !Template + answer_choices: '' + id: 6c6751a9-6c77-4b5b-a68b-6658b180ce3e + jinja: '{{text[:1000]}}... आणखी 4000 वर्णांसाठी लेख सुरू ठेवा: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_mrmt + reference: '' + aa243926-f532-456e-8059-8dded8a2436f: !Template + answer_choices: '' + id: aa243926-f532-456e-8059-8dded8a2436f + jinja: '{{text}} \n\nवरील लेखासाठी मला एक चांगले शीर्षक द्या. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_mrmt + reference: '' + b87df36c-7c2c-4ec6-82e5-678dcecf34ff: !Template + answer_choices: '' + id: b87df36c-7c2c-4ec6-82e5-678dcecf34ff + jinja: 'शीर्षक: {{title}}\nवरील काल्पनिक लेखाचे शीर्षक दिल्यास, लेखाची कल्पना + करा.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_mrmt + reference: '' + c90aca67-481c-45fb-aa91-f0fd9f0cbd0f: !Template + answer_choices: '' + id: c90aca67-481c-45fb-aa91-f0fd9f0cbd0f + jinja: '...{{text[3000:3500]}}... उर्वरित लेख लिहा: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_mrmt + reference: '' + dcee9202-7976-4d8f-a4b0-ca4fb027527b: !Template + answer_choices: '' + id: dcee9202-7976-4d8f-a4b0-ca4fb027527b + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_mrmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/nepali/templates.yaml b/promptsource/templates/GEM/xlsum/nepali/templates.yaml new file mode 100644 index 000000000..784d7fbf9 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/nepali/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: nepali +templates: + 2856db0a-52b6-413a-b7ec-7702ca5499ba: !Template + answer_choices: '' + id: 2856db0a-52b6-413a-b7ec-7702ca5499ba + jinja: '...{{text[3000:3500]}}... बाँकी लेख लेख्नुहोस्: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_nemt + reference: '' + 392ca106-5ce1-47ef-8e73-32ba7b313745: !Template + answer_choices: '' + id: 392ca106-5ce1-47ef-8e73-32ba7b313745 + jinja: 'सारांशका लागि कागजात: {{text[:8500]}}\nकागजात जस्तै भाषामा सारांश: ||| + {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_nemt + reference: '' + 6e40194c-64a4-4d78-bc5c-ce15b0dd8623: !Template + answer_choices: '' + id: 6e40194c-64a4-4d78-bc5c-ce15b0dd8623 + jinja: '{{text[:1000]}}... थप 4000 वर्णहरूको लागि लेख जारी राख्नुहोस्: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_nemt + reference: '' + b65132e9-8467-4993-8f6f-6c94ba329703: !Template + answer_choices: '' + id: b65132e9-8467-4993-8f6f-6c94ba329703 + jinja: 'सामग्री: {{text[:7000]}}\n अघिल्लो सामग्रीलाई निम्नानुसार संक्षेप गर्न + सकिन्छ: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_nemt + reference: '' + b8cdf47f-beb8-448c-be64-df48136c97f7: !Template + answer_choices: '' + id: b8cdf47f-beb8-448c-be64-df48136c97f7 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_nemt + reference: '' + c66ddd13-3667-48f3-8de4-2f09d3c12c6e: !Template + answer_choices: '' + id: c66ddd13-3667-48f3-8de4-2f09d3c12c6e + jinja: 'तलको शीर्षक र लेखको सारांश दिएर, एउटा छोटो लेख वा लामो लेखको शुरुवात तिनीहरूसँगै + जानको लागि सिर्जना गर्नुहोस्। शीर्षक: {{title}}\nसारांश: {{target}}\nलेख (अधिकतम + ५०० वर्ण): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_nemt + reference: '' + e09112ca-943d-471c-aa82-b4e81ab39e0b: !Template + answer_choices: '' + id: e09112ca-943d-471c-aa82-b4e81ab39e0b + jinja: 'शीर्षक: {{title}}\nकाल्पनिक लेखको माथिको शीर्षक दिएर, लेखको कल्पना गर्नुहोस्।\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_nemt + reference: '' + e3bffb13-5528-46e8-97bc-8cf4c8b33491: !Template + answer_choices: '' + id: e3bffb13-5528-46e8-97bc-8cf4c8b33491 + jinja: '{{text}} \n\nमलाई माथिको लेखको लागि राम्रो शीर्षक दिनुहोस्। ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_nemt + reference: '' + eb2ccff1-20e6-4435-8dd8-6f1c90fcb2ab: !Template + answer_choices: '' + id: eb2ccff1-20e6-4435-8dd8-6f1c90fcb2ab + jinja: 'शीर्षक: {{title}}\nकाल्पनिक लेखको माथिको शीर्षक दिएर, लेखको कल्पना गर्नुहोस्।\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_nemt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/portuguese/templates.yaml b/promptsource/templates/GEM/xlsum/portuguese/templates.yaml new file mode 100644 index 000000000..11a9a5af2 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/portuguese/templates.yaml @@ -0,0 +1,109 @@ +dataset: GEM/xlsum +subset: portuguese +templates: + 0dde3126-1475-4808-8185-709beee3fa54: !Template + answer_choices: '' + id: 0dde3126-1475-4808-8185-709beee3fa54 + jinja: '{{text}} \n\nDê-me um bom título para o artigo acima. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_ptmt + reference: '' + 284b84ee-96c6-4ab8-a519-0fcdeeb36a3e: !Template + answer_choices: '' + id: 284b84ee-96c6-4ab8-a519-0fcdeeb36a3e + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_ptmt + reference: '' + 2cc35e9a-7659-40d9-a908-fb080c03d808: !Template + answer_choices: '' + id: 2cc35e9a-7659-40d9-a908-fb080c03d808 + jinja: 'Título: {{title}}\nDado o título acima de um artigo imaginário, imagine + o artigo.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_ptmt + reference: '' + 3820fad3-52e6-45b1-b29c-48d3139e759e: !Template + answer_choices: '' + id: 3820fad3-52e6-45b1-b29c-48d3139e759e + jinja: 'Dado o título e o resumo de um artigo abaixo, gere um artigo curto ou + o início de um artigo longo para acompanhá-los. Título: {{title}}\nResumo: {{target}}\nArtigo + (máximo de 500 caracteres): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_ptmt + reference: '' + 3b24c414-714f-44a5-921f-5ec393f9d75a: !Template + answer_choices: '' + id: 3b24c414-714f-44a5-921f-5ec393f9d75a + jinja: '{{text[:1000]}}... Continue o artigo para mais 4000 caracteres no máximo: + ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_ptmt + reference: '' + 7bd68929-3e06-4cc5-be1a-4857083706c1: !Template + answer_choices: '' + id: 7bd68929-3e06-4cc5-be1a-4857083706c1 + jinja: 'Conteúdo: {{text[:7000]}}\nO conteúdo anterior pode ser resumido da seguinte + forma: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_ptmt + reference: '' + b6d45041-ddae-4952-a467-b6db464c8d57: !Template + answer_choices: '' + id: b6d45041-ddae-4952-a467-b6db464c8d57 + jinja: '...{{text[3000:3500]}}... Escreva o resto do artigo: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_ptmt + reference: '' + de863ce5-c3f4-4921-bbea-5408c1ebb130: !Template + answer_choices: '' + id: de863ce5-c3f4-4921-bbea-5408c1ebb130 + jinja: 'Título: {{title}}\nDado o título acima de um artigo imaginário, imagine + o artigo.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_ptmt + reference: '' + fe305ae2-ff9a-44b5-babd-fbfcd5f36507: !Template + answer_choices: '' + id: fe305ae2-ff9a-44b5-babd-fbfcd5f36507 + jinja: 'Documento para resumir: {{text[:8500]}}\nResumo no mesmo idioma do documento: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_ptmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/punjabi/templates.yaml b/promptsource/templates/GEM/xlsum/punjabi/templates.yaml new file mode 100644 index 000000000..737cb873a --- /dev/null +++ b/promptsource/templates/GEM/xlsum/punjabi/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: punjabi +templates: + 05c2fce7-a93c-4370-aac7-77278e999a18: !Template + answer_choices: '' + id: 05c2fce7-a93c-4370-aac7-77278e999a18 + jinja: 'ਸਮੱਗਰੀ: {{text[:7000]}}\nਪਿਛਲੀ ਸਮੱਗਰੀ ਨੂੰ ਇਸ ਤਰ੍ਹਾਂ ਸੰਖੇਪ ਕੀਤਾ ਜਾ ਸਕਦਾ + ਹੈ: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_pamt + reference: '' + 27d97525-0e2c-4f40-a6eb-0ebdc471b685: !Template + answer_choices: '' + id: 27d97525-0e2c-4f40-a6eb-0ebdc471b685 + jinja: '...{{text[3000:3500]}}... ਬਾਕੀ ਲੇਖ ਲਿਖੋ: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_pamt + reference: '' + 2a52f35a-0eb9-4d12-a668-5b642ce22f37: !Template + answer_choices: '' + id: 2a52f35a-0eb9-4d12-a668-5b642ce22f37 + jinja: 'ਸਿਰਲੇਖ: {{title}}\nਇੱਕ ਕਾਲਪਨਿਕ ਲੇਖ ਦੇ ਉੱਪਰ ਦਿੱਤੇ ਸਿਰਲੇਖ ਨੂੰ ਦੇਖਦੇ ਹੋਏ, + ਲੇਖ ਦੀ ਕਲਪਨਾ ਕਰੋ।\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_pamt + reference: '' + 65ddfc9d-7996-4ccc-a48b-ac8aca53c803: !Template + answer_choices: '' + id: 65ddfc9d-7996-4ccc-a48b-ac8aca53c803 + jinja: '{{text}} \n\nਉਪਰੋਕਤ ਲੇਖ ਲਈ ਮੈਨੂੰ ਇੱਕ ਵਧੀਆ ਸਿਰਲੇਖ ਦਿਓ। ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_pamt + reference: '' + 69ebfba7-8458-41bc-9697-39299d7f5d2c: !Template + answer_choices: '' + id: 69ebfba7-8458-41bc-9697-39299d7f5d2c + jinja: 'ਕਿਸੇ ਲੇਖ ਦੇ ਹੇਠਾਂ ਦਿੱਤੇ ਸਿਰਲੇਖ ਅਤੇ ਸੰਖੇਪ ਨੂੰ ਦਿੱਤੇ ਗਏ, ਉਹਨਾਂ ਦੇ ਨਾਲ ਜਾਣ + ਲਈ ਇੱਕ ਛੋਟਾ ਲੇਖ ਜਾਂ ਇੱਕ ਲੰਬੇ ਲੇਖ ਦੀ ਸ਼ੁਰੂਆਤ ਬਣਾਓ। ਸਿਰਲੇਖ: {{title}}\nਸਾਰਾਂਸ਼: + {{target}}\nਲੇਖ (ਵੱਧ ਤੋਂ ਵੱਧ 500 ਅੱਖਰ): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_pamt + reference: '' + 79c39d75-bed1-4004-8768-4a8b9eac72dc: !Template + answer_choices: '' + id: 79c39d75-bed1-4004-8768-4a8b9eac72dc + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_pamt + reference: '' + 9786146a-a181-484b-82d3-b78e8f56c8ab: !Template + answer_choices: '' + id: 9786146a-a181-484b-82d3-b78e8f56c8ab + jinja: 'ਸੰਖੇਪ ਕਰਨ ਲਈ ਦਸਤਾਵੇਜ਼: {{text[:8500]}}\nਉਸੇ ਭਾਸ਼ਾ ਵਿੱਚ ਸਾਰਾਂਸ਼ ਜਿਵੇਂ doc: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_pamt + reference: '' + b2c2c8e3-2254-4d74-acc9-df84126ac33d: !Template + answer_choices: '' + id: b2c2c8e3-2254-4d74-acc9-df84126ac33d + jinja: '{{text[:1000]}}... ਅਧਿਕਤਮ 4000 ਅੱਖਰਾਂ ਲਈ ਲੇਖ ਨੂੰ ਜਾਰੀ ਰੱਖੋ: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_pamt + reference: '' + c1d77cf8-1db1-49af-a586-0f8cefc29c65: !Template + answer_choices: '' + id: c1d77cf8-1db1-49af-a586-0f8cefc29c65 + jinja: 'ਸਿਰਲੇਖ: {{title}}\nਇੱਕ ਕਾਲਪਨਿਕ ਲੇਖ ਦੇ ਉੱਪਰ ਦਿੱਤੇ ਸਿਰਲੇਖ ਨੂੰ ਦੇਖਦੇ ਹੋਏ, + ਲੇਖ ਦੀ ਕਲਪਨਾ ਕਰੋ।\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_pamt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/spanish/templates.yaml b/promptsource/templates/GEM/xlsum/spanish/templates.yaml new file mode 100644 index 000000000..da4df77b2 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/spanish/templates.yaml @@ -0,0 +1,109 @@ +dataset: GEM/xlsum +subset: spanish +templates: + 0151f44d-0aff-4991-b05a-33a42144e84d: !Template + answer_choices: '' + id: 0151f44d-0aff-4991-b05a-33a42144e84d + jinja: 'Título: {{title}}\nDado el título anterior de un artículo imaginario, + imagina el artículo.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_esmt + reference: '' + 182aaa7f-b879-4e8f-a6c6-4184fea625af: !Template + answer_choices: '' + id: 182aaa7f-b879-4e8f-a6c6-4184fea625af + jinja: '...{{text[3000:3500]}}... Escribe el resto del artículo: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_esmt + reference: '' + 2c2d21a0-dd62-4c7f-96e4-be73b38ea1e7: !Template + answer_choices: '' + id: 2c2d21a0-dd62-4c7f-96e4-be73b38ea1e7 + jinja: '{{text[:1000]}}... Continúe el artículo por otros 4000 caracteres como + máximo: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_esmt + reference: '' + 54e36536-f603-4377-a383-cb99593bcb49: !Template + answer_choices: '' + id: 54e36536-f603-4377-a383-cb99593bcb49 + jinja: 'Contenido: {{text[:7000]}}\nEl contenido anterior se puede resumir de + la siguiente manera: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_esmt + reference: '' + 89ee70e3-0794-4cb2-a099-5e5964e960f6: !Template + answer_choices: '' + id: 89ee70e3-0794-4cb2-a099-5e5964e960f6 + jinja: 'Dado el título y el resumen de un artículo a continuación, genere un artículo + breve o el comienzo de un artículo largo para acompañarlos. Título: {{title}}\nResumen: + {{target}}\nArtículo (máx. 500 caracteres): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_esmt + reference: '' + afa8f492-c2d5-4eb3-b7cb-497862128f13: !Template + answer_choices: '' + id: afa8f492-c2d5-4eb3-b7cb-497862128f13 + jinja: '{{text}} \n\nDame un buen título para el artículo anterior. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_esmt + reference: '' + e4028d85-c437-4010-a0b5-0d9f7d5c6c41: !Template + answer_choices: '' + id: e4028d85-c437-4010-a0b5-0d9f7d5c6c41 + jinja: 'Documento para resumir: {{text[:8500]}}\nResumen en el mismo idioma que + el documento: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_esmt + reference: '' + e53cbe10-760c-4c97-9831-2cf14edc21b0: !Template + answer_choices: '' + id: e53cbe10-760c-4c97-9831-2cf14edc21b0 + jinja: 'Título: {{title}}\nDado el título anterior de un artículo imaginario, + imagina el artículo.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_esmt + reference: '' + ef314ed5-bc69-4ff4-b2e7-5ce2f22a87c2: !Template + answer_choices: '' + id: ef314ed5-bc69-4ff4-b2e7-5ce2f22a87c2 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_esmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/swahili/templates.yaml b/promptsource/templates/GEM/xlsum/swahili/templates.yaml new file mode 100644 index 000000000..4c03eb4d9 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/swahili/templates.yaml @@ -0,0 +1,109 @@ +dataset: GEM/xlsum +subset: swahili +templates: + 0ea11bab-d4c6-4a23-b93a-189319516a9a: !Template + answer_choices: '' + id: 0ea11bab-d4c6-4a23-b93a-189319516a9a + jinja: '{{text}} \n\nNipe kichwa kizuri cha makala hapo juu. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_swmt + reference: '' + 1c6bd4fd-251a-4788-a424-ff346505ae39: !Template + answer_choices: '' + id: 1c6bd4fd-251a-4788-a424-ff346505ae39 + jinja: '{{text[:1000]}}... Endelea na makala kwa vibambo vingine 4000 isizidi: + ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_swmt + reference: '' + 232854bd-c607-48ab-a9d5-c709866304a8: !Template + answer_choices: '' + id: 232854bd-c607-48ab-a9d5-c709866304a8 + jinja: '...{{text[3000:3500]}}... Andika makala iliyosalia: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_swmt + reference: '' + 2737b356-f6d6-4c65-b9a4-a5c9a90addbd: !Template + answer_choices: '' + id: 2737b356-f6d6-4c65-b9a4-a5c9a90addbd + jinja: 'Kichwa: {{title}}\nKwa kuzingatia jina la hapo juu la makala ya kuwaziwa, + fikiria makala.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_swmt + reference: '' + 28470272-c370-475c-9163-a3cc1bb15097: !Template + answer_choices: '' + id: 28470272-c370-475c-9163-a3cc1bb15097 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_swmt + reference: '' + 53e322b9-a312-4110-bac4-38fd337d8d33: !Template + answer_choices: '' + id: 53e322b9-a312-4110-bac4-38fd337d8d33 + jinja: 'Kichwa: {{title}}\nKwa kuzingatia jina la hapo juu la makala ya kuwaziwa, + fikiria makala.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_swmt + reference: '' + ccd8ab1e-1224-4bf5-b3ba-63e058b3877c: !Template + answer_choices: '' + id: ccd8ab1e-1224-4bf5-b3ba-63e058b3877c + jinja: 'Kwa kuzingatia kichwa kilicho hapa chini na muhtasari wa makala, toa makala + fupi au mwanzo wa makala marefu ili kuendana nayo. Kichwa: {{title}}\nMuhtasari: + {{target}}\nMakala (Isizidi herufi 500): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_swmt + reference: '' + fdc01236-e256-4c9b-949a-d1faac2b5d29: !Template + answer_choices: '' + id: fdc01236-e256-4c9b-949a-d1faac2b5d29 + jinja: 'Hati ya kufanya muhtasari: {{text[:8500]}}\nMuhtasari katika lugha sawa + na hati: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_swmt + reference: '' + ffa8937e-c0a2-40ab-a3c5-1ac6982515a1: !Template + answer_choices: '' + id: ffa8937e-c0a2-40ab-a3c5-1ac6982515a1 + jinja: 'Maudhui: {{text[:7000]}}\nMaudhui yaliyotangulia yanaweza kufupishwa kama + ifuatavyo: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_swmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/tamil/templates.yaml b/promptsource/templates/GEM/xlsum/tamil/templates.yaml new file mode 100644 index 000000000..1c929af2c --- /dev/null +++ b/promptsource/templates/GEM/xlsum/tamil/templates.yaml @@ -0,0 +1,109 @@ +dataset: GEM/xlsum +subset: tamil +templates: + 22e593b5-1c08-4482-bfb6-bf901ef82860: !Template + answer_choices: '' + id: 22e593b5-1c08-4482-bfb6-bf901ef82860 + jinja: 'கீழே உள்ள தலைப்பு மற்றும் கட்டுரையின் சுருக்கம் கொடுக்கப்பட்டால், ஒரு + சிறு கட்டுரையை அல்லது நீண்ட கட்டுரையின் தொடக்கத்தை உருவாக்கவும். தலைப்பு: {{title}}\nசுருக்கம்: + {{target}}\nகட்டுரை (அதிகபட்சம் 500 எழுத்துகள்): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_tamt + reference: '' + 3eb6147f-7937-4daa-bab4-6cb3f457b764: !Template + answer_choices: '' + id: 3eb6147f-7937-4daa-bab4-6cb3f457b764 + jinja: 'தலைப்பு: {{title}}\nமேலே உள்ள ஒரு கற்பனைக் கட்டுரையின் தலைப்பைக் கொண்டு, + அந்தக் கட்டுரையை கற்பனை செய்து பாருங்கள்.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_tamt + reference: '' + 3f2e32e3-232e-4b66-97f0-0b4ac46ef043: !Template + answer_choices: '' + id: 3f2e32e3-232e-4b66-97f0-0b4ac46ef043 + jinja: '{{text}} \n\nமேலே உள்ள கட்டுரைக்கு நல்ல தலைப்பைக் கொடுங்கள். ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_tamt + reference: '' + 55cc37f5-cdcd-4bf1-bb6a-d09aeb8d2f67: !Template + answer_choices: '' + id: 55cc37f5-cdcd-4bf1-bb6a-d09aeb8d2f67 + jinja: 'தலைப்பு: {{title}}\nமேலே உள்ள ஒரு கற்பனைக் கட்டுரையின் தலைப்பைக் கொண்டு, + அந்தக் கட்டுரையை கற்பனை செய்து பாருங்கள்.\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_tamt + reference: '' + a3b8b4d0-4547-4568-9357-529477e03217: !Template + answer_choices: '' + id: a3b8b4d0-4547-4568-9357-529477e03217 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_tamt + reference: '' + accd6814-5a89-4d11-87ad-cfb9bd3cd0c7: !Template + answer_choices: '' + id: accd6814-5a89-4d11-87ad-cfb9bd3cd0c7 + jinja: '{{text[:1000]}}... மேலும் 4000 எழுத்துகளுக்கு கட்டுரையைத் தொடரவும்: ||| + {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_tamt + reference: '' + f0b48af7-242e-4804-8967-8c1f86d39af7: !Template + answer_choices: '' + id: f0b48af7-242e-4804-8967-8c1f86d39af7 + jinja: 'சுருக்கமாகச் சொல்ல வேண்டிய ஆவணம்: {{text[:8500]}}\nஆவணத்தின் அதே மொழியில் + சுருக்கம்: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_tamt + reference: '' + f6d12bad-436c-4363-900f-7ff7764303e2: !Template + answer_choices: '' + id: f6d12bad-436c-4363-900f-7ff7764303e2 + jinja: 'உள்ளடக்கம்: {{text[:7000]}}\nமுந்தைய உள்ளடக்கத்தை பின்வருமாறு சுருக்கமாகக் + கூறலாம்: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_tamt + reference: '' + f7818755-8dab-4553-98a1-160fd94fb5d2: !Template + answer_choices: '' + id: f7818755-8dab-4553-98a1-160fd94fb5d2 + jinja: '...{{text[3000:3500]}}... மீதமுள்ள கட்டுரையை எழுதவும்: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_tamt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/telugu/templates.yaml b/promptsource/templates/GEM/xlsum/telugu/templates.yaml new file mode 100644 index 000000000..b92f17d5e --- /dev/null +++ b/promptsource/templates/GEM/xlsum/telugu/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: telugu +templates: + 858d5c92-95dd-4f2b-8918-5f66741b17c0: !Template + answer_choices: '' + id: 858d5c92-95dd-4f2b-8918-5f66741b17c0 + jinja: 'కంటెంట్: {{text[:7000]}}\nమునుపటి కంటెంట్‌ను ఈ క్రింది విధంగా సంగ్రహించవచ్చు: + ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_temt + reference: '' + 8f58e58f-eac4-40bf-acc2-8c4ab92ca56e: !Template + answer_choices: '' + id: 8f58e58f-eac4-40bf-acc2-8c4ab92ca56e + jinja: '{{text[:1000]}}... మరో 4000 అక్షరాల కోసం కథనాన్ని కొనసాగించండి: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_temt + reference: '' + 9fbd60e0-b623-48fc-9e97-255c0d716d21: !Template + answer_choices: '' + id: 9fbd60e0-b623-48fc-9e97-255c0d716d21 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_temt + reference: '' + befda66d-4401-4fbe-ad20-3c0a17ead7af: !Template + answer_choices: '' + id: befda66d-4401-4fbe-ad20-3c0a17ead7af + jinja: 'ఒక కథనం యొక్క దిగువ శీర్షిక మరియు సారాంశాన్ని అందించి, వాటితో పాటు వెళ్లడానికి + ఒక చిన్న కథనాన్ని లేదా సుదీర్ఘ కథనం యొక్క ప్రారంభాన్ని రూపొందించండి. శీర్షిక: + {{title}}\nసారాంశం: {{target}}\nవ్యాసం (గరిష్టంగా 500 అక్షరాలు): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_temt + reference: '' + c4329ca5-8f30-42b7-8573-6a2c16834a26: !Template + answer_choices: '' + id: c4329ca5-8f30-42b7-8573-6a2c16834a26 + jinja: 'శీర్షిక: {{title}}\nపైన ఊహాత్మక కథనం యొక్క శీర్షికను బట్టి, కథనాన్ని ఊహించండి.\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_temt + reference: '' + c865f86b-66c3-428c-91ce-9870243e831b: !Template + answer_choices: '' + id: c865f86b-66c3-428c-91ce-9870243e831b + jinja: '...{{text[3000:3500]}}... మిగిలిన వ్యాసాన్ని వ్రాయండి: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_temt + reference: '' + e0e63a05-acc2-447e-b29b-ecc13f8c5db8: !Template + answer_choices: '' + id: e0e63a05-acc2-447e-b29b-ecc13f8c5db8 + jinja: 'శీర్షిక: {{title}}\nపైన ఊహాత్మక కథనం యొక్క శీర్షికను బట్టి, కథనాన్ని ఊహించండి.\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_temt + reference: '' + e9c88c82-5e81-4daa-a0ec-1baa58a4cbda: !Template + answer_choices: '' + id: e9c88c82-5e81-4daa-a0ec-1baa58a4cbda + jinja: '{{text}} \n\nపై కథనానికి నాకు మంచి శీర్షిక ఇవ్వండి. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_temt + reference: '' + f537f489-77e2-46d3-aad4-689244b2e5d0: !Template + answer_choices: '' + id: f537f489-77e2-46d3-aad4-689244b2e5d0 + jinja: 'సంగ్రహించవలసిన పత్రం: {{text[:8500]}}\nపత్రం వలె అదే భాషలో సారాంశం: ||| + {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_temt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/urdu/templates.yaml b/promptsource/templates/GEM/xlsum/urdu/templates.yaml new file mode 100644 index 000000000..a6ad3f749 --- /dev/null +++ b/promptsource/templates/GEM/xlsum/urdu/templates.yaml @@ -0,0 +1,108 @@ +dataset: GEM/xlsum +subset: urdu +templates: + 1be0580c-fe87-4957-9a2b-f40b168f2279: !Template + answer_choices: '' + id: 1be0580c-fe87-4957-9a2b-f40b168f2279 + jinja: 'عنوان: {{title}}\nایک خیالی مضمون کے اوپر دیئے گئے عنوان کو دیکھتے ہوئے، + مضمون کا تصور کریں۔\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_urmt + reference: '' + 2a6c8bb4-e541-44c3-b058-5b3d0adb2261: !Template + answer_choices: '' + id: 2a6c8bb4-e541-44c3-b058-5b3d0adb2261 + jinja: '...{{text[3000:3500]}}... باقی مضمون لکھیں: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_urmt + reference: '' + 6ff414dd-75d2-443b-ba9f-88d8c3bda26b: !Template + answer_choices: '' + id: 6ff414dd-75d2-443b-ba9f-88d8c3bda26b + jinja: 'نیچے دیئے گئے عنوان اور مضمون کے خلاصے کو دیکھتے ہوئے، ان کے ساتھ جانے + کے لیے ایک مختصر مضمون یا ایک طویل مضمون کا آغاز بنائیں۔ عنوان: {{title}}\nخلاصہ: + {{target}}\nآرٹیکل (زیادہ سے زیادہ 500 حروف): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_urmt + reference: '' + 829c1016-01ba-469f-99f8-2fc86ac81b02: !Template + answer_choices: '' + id: 829c1016-01ba-469f-99f8-2fc86ac81b02 + jinja: 'مواد: {{text[:7000]}}\nپچھلے مواد کا خلاصہ اس طرح کیا جا سکتا ہے: ||| + {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_urmt + reference: '' + a019d986-b0e8-4ed7-85bb-e01c7a94adc1: !Template + answer_choices: '' + id: a019d986-b0e8-4ed7-85bb-e01c7a94adc1 + jinja: 'خلاصہ کرنے کے لیے دستاویز: {{text[:8500]}}\nاسی زبان میں خلاصہ جس میں + doc: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_urmt + reference: '' + c46c6efa-5554-40cf-82ae-6a3f463533fe: !Template + answer_choices: '' + id: c46c6efa-5554-40cf-82ae-6a3f463533fe + jinja: '{{text[:1000]}}... مزید 4000 حروف کے لیے مضمون جاری رکھیں: ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_urmt + reference: '' + d851e8f3-3ed7-440b-9f99-8c59631adedc: !Template + answer_choices: '' + id: d851e8f3-3ed7-440b-9f99-8c59631adedc + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_urmt + reference: '' + f1e26752-3d46-4321-a777-d4e588f5eb36: !Template + answer_choices: '' + id: f1e26752-3d46-4321-a777-d4e588f5eb36 + jinja: '{{text}} \n\nمذکورہ مضمون کے لیے مجھے ایک اچھا عنوان دیں۔ ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_urmt + reference: '' + f5da40d5-1478-4a10-a7b1-761fc6d3b1a7: !Template + answer_choices: '' + id: f5da40d5-1478-4a10-a7b1-761fc6d3b1a7 + jinja: 'عنوان: {{title}}\nایک خیالی مضمون کے اوپر دیئے گئے عنوان کو دیکھتے ہوئے، + مضمون کا تصور کریں۔\n ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_urmt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/vietnamese/templates.yaml b/promptsource/templates/GEM/xlsum/vietnamese/templates.yaml new file mode 100644 index 000000000..c82063c6d --- /dev/null +++ b/promptsource/templates/GEM/xlsum/vietnamese/templates.yaml @@ -0,0 +1,110 @@ +dataset: GEM/xlsum +subset: vietnamese +templates: + 054d9722-4d6b-41dd-b3e6-686c2288415e: !Template + answer_choices: '' + id: 054d9722-4d6b-41dd-b3e6-686c2288415e + jinja: 'Tài liệu tóm tắt: {{text[:8500]}} \ n Tóm tắt bằng ngôn ngữ giống như + tài liệu: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_vimt + reference: '' + 3593f006-3f1f-4be4-bb4b-0ac2f35d1814: !Template + answer_choices: '' + id: 3593f006-3f1f-4be4-bb4b-0ac2f35d1814 + jinja: '{{text}} \ n \ n Hãy cho tôi một tiêu đề hay cho bài viết ở trên. ||| + {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_vimt + reference: '' + 3766e046-9a21-4f72-8a4b-7aa31228da99: !Template + answer_choices: '' + id: 3766e046-9a21-4f72-8a4b-7aa31228da99 + jinja: '... {{text[3000:3500]}} ... Viết phần còn lại của bài viết: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_vimt + reference: '' + 59ee0dad-46af-47c3-a6b8-8ab92f267e1c: !Template + answer_choices: '' + id: 59ee0dad-46af-47c3-a6b8-8ab92f267e1c + jinja: '{{text[:1000]}} ... Tiếp tục bài viết cho tối đa 4000 ký tự khác: ||| + {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_vimt + reference: '' + 92ce9ff8-014b-4a68-907a-e86f8ae4612a: !Template + answer_choices: '' + id: 92ce9ff8-014b-4a68-907a-e86f8ae4612a + jinja: '{{title}} \ n {{text[:5000]}} \ n \ ntl; dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_vimt + reference: '' + a65c9451-ae5d-4787-bd2e-c19a21956977: !Template + answer_choices: '' + id: a65c9451-ae5d-4787-bd2e-c19a21956977 + jinja: 'Với tiêu đề dưới đây và phần tóm tắt của một bài báo, hãy tạo một bài + báo ngắn hoặc phần đầu của một bài báo dài để đi cùng với chúng. Tiêu đề: {{title}} + \ n Tóm tắt: {{target}} \ n Bài viết (Tối đa 500 ký tự): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_vimt + reference: '' + a748fc39-9e1e-425b-9b78-00820b9b2ebb: !Template + answer_choices: '' + id: a748fc39-9e1e-425b-9b78-00820b9b2ebb + jinja: 'Tiêu đề: {{title}} \ n Mang tiêu đề ở trên của một bài báo tưởng tượng, + hãy tưởng tượng bài báo đó. \ N ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_vimt + reference: '' + b4738256-1796-4671-be6f-a3e92bbd8ff7: !Template + answer_choices: '' + id: b4738256-1796-4671-be6f-a3e92bbd8ff7 + jinja: 'Tiêu đề: {{title}} \ n Mang tiêu đề ở trên của một bài báo tưởng tượng, + hãy tưởng tượng bài báo đó. \ N ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_vimt + reference: '' + ee6d4643-4bf2-4b6e-9713-e18b8ef281ff: !Template + answer_choices: '' + id: ee6d4643-4bf2-4b6e-9713-e18b8ef281ff + jinja: 'Nội dung: {{text[:7000]}} \ nNội dung trước đó có thể được tóm tắt như + sau: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_vimt + reference: '' diff --git a/promptsource/templates/GEM/xlsum/yoruba/templates.yaml b/promptsource/templates/GEM/xlsum/yoruba/templates.yaml new file mode 100644 index 000000000..ac6fe8cec --- /dev/null +++ b/promptsource/templates/GEM/xlsum/yoruba/templates.yaml @@ -0,0 +1,107 @@ +dataset: GEM/xlsum +subset: yoruba +templates: + 2315cfc6-2e2b-4d12-bcc4-81599675f1bc: !Template + answer_choices: '' + id: 2315cfc6-2e2b-4d12-bcc4-81599675f1bc + jinja: 'Dókítà láti ṣàkópọ̀: {{text[:8500]}}\nAkopọ ni ede kanna pẹlu doc: ||| + {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: docsummary_yomt + reference: '' + 2e247a69-9767-4208-8404-0b6568ca4572: !Template + answer_choices: '' + id: 2e247a69-9767-4208-8404-0b6568ca4572 + jinja: '{{title}}\n{{text[:5000]}}\n\ntl;dr: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: tldr_yomt + reference: '' + 31a357bc-e99d-4658-8de9-1681ba3431a9: !Template + answer_choices: '' + id: 31a357bc-e99d-4658-8de9-1681ba3431a9 + jinja: 'Akoonu: {{text[:7000]}}\nAkoonu iṣaaju le ṣe akopọ bi wọnyi: ||| {{target}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: prevcontent_yomt + reference: '' + 7b3715a3-875f-449d-a459-2a2e71261d1e: !Template + answer_choices: '' + id: 7b3715a3-875f-449d-a459-2a2e71261d1e + jinja: 'Akọle: {{title}}\nFun akọle ti o wa loke ti nkan arosọ, fojuinu nkan naa.\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: imaginearticle_yomt + reference: '' + a25da5e5-7f9e-4ad0-895d-b03f8ca4af13: !Template + answer_choices: '' + id: a25da5e5-7f9e-4ad0-895d-b03f8ca4af13 + jinja: '...{{text[3000:3500]}}... Kọ iyoku nkan na: ||| {{text[5000:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longrest_yomt + reference: '' + ce2464be-965e-4d07-9b06-82e54f1d692d: !Template + answer_choices: '' + id: ce2464be-965e-4d07-9b06-82e54f1d692d + jinja: 'Fi fun akọle isalẹ ati akopọ ti nkan kan, ṣe agbekalẹ nkan kukuru kan + tabi ibẹrẹ nkan gigun lati lọ pẹlu wọn. Akọle: {{title}}\nAkopọ: {{target}}\nAkọle + (Max 500 characters): ||| {{text[:500]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longgenarticle_yomt + reference: '' + d11ff462-c976-4fcd-8a66-2a11dbae1f9f: !Template + answer_choices: '' + id: d11ff462-c976-4fcd-8a66-2a11dbae1f9f + jinja: '{{text[:1000]}} ||| {{text[1000:5000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_yomt + reference: '' + d9bef738-f336-47c6-bcb8-e987a3a30e56: !Template + answer_choices: '' + id: d9bef738-f336-47c6-bcb8-e987a3a30e56 + jinja: 'Akọle: {{title}}\nFun akọle ti o wa loke ti nkan arosọ, fojuinu nkan naa.\n + ||| {{text[:7000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longimaginearticle_yomt + reference: '' + fed24ef5-274c-4409-bb72-22e63b308745: !Template + answer_choices: '' + id: fed24ef5-274c-4409-bb72-22e63b308745 + jinja: '{{text}} \n\n Fun mi ni akọle rere fun nkan ti o wa loke. ||| {{title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: goodtitle_yomt + reference: '' diff --git a/promptsource/templates/Muennighoff/xstory_cloze/my/templates.yaml b/promptsource/templates/Muennighoff/xstory_cloze/my/templates.yaml new file mode 100644 index 000000000..fee4cfe3a --- /dev/null +++ b/promptsource/templates/Muennighoff/xstory_cloze/my/templates.yaml @@ -0,0 +1,103 @@ +dataset: Muennighoff/xstory_cloze +subset: my +templates: + 3609ff6e-60fd-4f82-8c95-10363322b6cf: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 3609ff6e-60fd-4f82-8c95-10363322b6cf + jinja: အောက်ပါဝတ္ထုကို ကျွန်ုပ်ဖတ်ခဲ့သည်- {{input_sentence_1}} {{input_sentence_2}} + {{input_sentence_3}} {{input_sentence_4}} အဆုံးသတ်သည် ဖြစ်နိုင်ခြေအရှိဆုံးဟု + သင်ထင်မြင်ပါသနည်း။ အောက်ပါရွေးချယ်စရာများမှ သင်ရွေးချယ်နိုင်သည်- {{answer_choices + | join("\n- ")}} ||| {{answer_choices[answer_right_ending -1]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Novel Correct Ending_mymt + reference: '' + 42c67653-08bd-4d9d-8030-8a506136dc27: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 42c67653-08bd-4d9d-8030-8a506136dc27 + jinja: 'အောက်ဖော်ပြပါ ဇာတ်လမ်းအတွက် ဖြစ်နိုင်ခြေ ကဘာလဲ။ + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + အောက်ပါရွေးချယ်စရာများမှ ရွေးပါ- + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Story Continuation and Options_mymt + reference: '' + a59b0c69-0669-4f2b-8212-bdd05fc7223b: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: a59b0c69-0669-4f2b-8212-bdd05fc7223b + jinja: '{{input_sentence_1}} {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} + အောက်ပါရွေးချယ်စရာများ ပေးထားသည့် ဇာတ်လမ်းအတွက် ဆက်စပ်မှုကား အဘယ်နည်း။ - {{answer_choices + | join("\n- ")}} ||| {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Answer Given options_mymt + reference: '' + d270a055-5528-4599-97fe-1aab6f10c8a9: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: d270a055-5528-4599-97fe-1aab6f10c8a9 + jinja: အောက်ပါဇာတ်လမ်းအတွက် ဖြစ်နိုင်ခြေရှိသောအဆုံးသတ်ကို ဖန်တီးပါ- {{input_sentence_1}} + {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} ||| {{answer_choices[answer_right_ending + -1]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Generate Ending_mymt + reference: '' + de8fe368-29c2-4f33-bf87-e51ab44a2b01: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: de8fe368-29c2-4f33-bf87-e51ab44a2b01 + jinja: 'အောက်ပါဇာတ်လမ်းကိုဖတ်ပါ။ + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + အောက်ပါရွေးချယ်မှုများမှ ယခင်ဇာတ်လမ်းအတွက် ဖြစ်နိုင်သည့်အဆုံးသတ်ကို ရွေးပါ- + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Choose Story Ending_mymt + reference: '' diff --git a/promptsource/templates/Muennighoff/xstory_cloze/ru/templates.yaml b/promptsource/templates/Muennighoff/xstory_cloze/ru/templates.yaml new file mode 100644 index 000000000..2457e36eb --- /dev/null +++ b/promptsource/templates/Muennighoff/xstory_cloze/ru/templates.yaml @@ -0,0 +1,103 @@ +dataset: Muennighoff/xstory_cloze +subset: ru +templates: + 29f0bae6-d077-4cde-ba3d-9af8bad684f5: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 29f0bae6-d077-4cde-ba3d-9af8bad684f5 + jinja: '{{input_sentence_1}} {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} + Какое возможное продолжение истории при следующих вариантах? - {{answer_choices + | join("\n- ")}} ||| {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Answer Given options_rumt + reference: '' + 55afc47e-8196-45d3-98bf-219fa031a704: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 55afc47e-8196-45d3-98bf-219fa031a704 + jinja: 'Прочитайте следующий рассказ: + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + Выберите возможный финал предыдущей истории из следующих вариантов: + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Choose Story Ending_rumt + reference: '' + 71c1c836-6cd7-4f12-86d4-1afdaf0d5a5f: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 71c1c836-6cd7-4f12-86d4-1afdaf0d5a5f + jinja: 'Какое возможное продолжение следующей истории? + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + Выберите один из следующих вариантов: + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Story Continuation and Options_rumt + reference: '' + c5e4f27c-571c-4669-94a4-97e0b8cb20fa: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: c5e4f27c-571c-4669-94a4-97e0b8cb20fa + jinja: 'Сгенерируйте возможное окончание для следующей истории: {{input_sentence_1}} + {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} ||| {{answer_choices[answer_right_ending + -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Generate Ending_rumt + reference: '' + e651545b-a719-4d19-90ca-97529644ee97: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: e651545b-a719-4d19-90ca-97529644ee97 + jinja: 'Я прочитал следующий роман: {{input_sentence_1}} {{input_sentence_2}} + {{input_sentence_3}} {{input_sentence_4}} Как вы думаете, какая концовка наиболее + вероятна? Вы можете выбрать один из следующих вариантов: - {{answer_choices + | join("\n- ")}} ||| {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Novel Correct Ending_rumt + reference: '' diff --git a/promptsource/templates/Muennighoff/xstory_cloze/sw/templates.yaml b/promptsource/templates/Muennighoff/xstory_cloze/sw/templates.yaml new file mode 100644 index 000000000..6356fe03b --- /dev/null +++ b/promptsource/templates/Muennighoff/xstory_cloze/sw/templates.yaml @@ -0,0 +1,104 @@ +dataset: Muennighoff/xstory_cloze +subset: sw +templates: + 43a4f3c7-df1f-45b9-8932-102c47022896: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 43a4f3c7-df1f-45b9-8932-102c47022896 + jinja: 'Toa uwezekano wa mwisho wa hadithi ifuatayo: {{input_sentence_1}} {{input_sentence_2}} + {{input_sentence_3}} {{input_sentence_4}} ||| {{answer_choices[answer_right_ending + -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Generate Ending_swmt + reference: '' + 520e7dde-2ce0-4baa-ba25-535e384c4491: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 520e7dde-2ce0-4baa-ba25-535e384c4491 + jinja: 'Soma hadithi ifuatayo: + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + Chagua mwisho unaowezekana wa hadithi iliyotangulia kutoka kwa chaguzi zifuatazo: + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Choose Story Ending_swmt + reference: '' + 750da6b1-ed55-4d1f-9e19-335b26d0d115: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 750da6b1-ed55-4d1f-9e19-335b26d0d115 + jinja: 'Je, kuna uwezekano gani wa kuendelea kwa hadithi ifuatayo? + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + Chagua kutoka kwa chaguzi zifuatazo: + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Story Continuation and Options_swmt + reference: '' + caa44a50-3176-4e3f-b98a-e73ca637df2f: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: caa44a50-3176-4e3f-b98a-e73ca637df2f + jinja: '{{input_sentence_1}} {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} + Je, kuna uwezekano gani wa kuendelea kwa hadithi kutokana na chaguo zifuatazo + ? - {{answer_choices | join("\n- ")}} ||| {{answer_choices[answer_right_ending + -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Answer Given options_swmt + reference: '' + e861dfce-f323-4dc4-a56f-14b697380a61: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: e861dfce-f323-4dc4-a56f-14b697380a61 + jinja: 'Nilisoma riwaya ifuatayo: {{input_sentence_1}} {{input_sentence_2}} {{input_sentence_3}} + {{input_sentence_4}} Je, unafikiri ni mwisho upi unaowezekana zaidi? Unaweza + kuchagua kutoka kwa chaguo zifuatazo: - {{answer_choices | join("\n- ")}} ||| + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Novel Correct Ending_swmt + reference: '' diff --git a/promptsource/templates/Muennighoff/xstory_cloze/te/templates.yaml b/promptsource/templates/Muennighoff/xstory_cloze/te/templates.yaml new file mode 100644 index 000000000..88f6f092c --- /dev/null +++ b/promptsource/templates/Muennighoff/xstory_cloze/te/templates.yaml @@ -0,0 +1,103 @@ +dataset: Muennighoff/xstory_cloze +subset: te +templates: + 0c87d616-bd07-4a3f-b4e3-e30bcc22d246: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 0c87d616-bd07-4a3f-b4e3-e30bcc22d246 + jinja: 'కింది కథకు కొనసాగింపు సాధ్యమేంటి? + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + కింది ఎంపికల నుండి ఎంచుకోండి: + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Story Continuation and Options_temt + reference: '' + 66cc8a90-00b2-40b4-8185-d600cd6bf38d: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 66cc8a90-00b2-40b4-8185-d600cd6bf38d + jinja: 'కింది కథనాన్ని చదవండి: + + + {{input_sentence_1}} + + {{input_sentence_2}} + + {{input_sentence_3}} + + {{input_sentence_4}} + + + కింది ఎంపికల నుండి మునుపటి కథకు సాధ్యమయ్యే ముగింపుని ఎంచుకోండి: + + - {{answer_choices | join("\n- ")}} + + ||| + + + {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Choose Story Ending_temt + reference: '' + 741ff9d0-e024-40e1-98ff-2bb5f31d4052: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 741ff9d0-e024-40e1-98ff-2bb5f31d4052 + jinja: 'కింది కథనానికి సాధ్యమయ్యే ముగింపుని రూపొందించండి: {{input_sentence_1}} + {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} ||| {{answer_choices[answer_right_ending + -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Generate Ending_temt + reference: '' + ee08092f-8421-4d96-b462-17859d18e1bf: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: ee08092f-8421-4d96-b462-17859d18e1bf + jinja: '{{input_sentence_1}} {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} + కింది ఎంపికలు ఇచ్చిన కథనానికి కొనసాగింపు సాధ్యమేంటి ? - {{answer_choices | join("\n- + ")}} ||| {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Answer Given options_temt + reference: '' + fe5b0c9b-7914-4ace-b721-617e587bf83e: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: fe5b0c9b-7914-4ace-b721-617e587bf83e + jinja: 'నేను ఈ క్రింది నవలని చదివాను: {{input_sentence_1}} {{input_sentence_2}} + {{input_sentence_3}} {{input_sentence_4}} అత్యంత సంభావ్య ముగింపు ఏది అని మీరు + అనుకుంటున్నారు? మీరు క్రింది ఎంపికల నుండి ఎంచుకోవచ్చు: - {{answer_choices | + join("\n- ")}} ||| {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Novel Correct Ending_temt + reference: '' diff --git a/promptsource/templates/Muennighoff/xstory_cloze/zh/templates.yaml b/promptsource/templates/Muennighoff/xstory_cloze/zh/templates.yaml index 868b2e3e1..831fd8d95 100644 --- a/promptsource/templates/Muennighoff/xstory_cloze/zh/templates.yaml +++ b/promptsource/templates/Muennighoff/xstory_cloze/zh/templates.yaml @@ -99,3 +99,80 @@ templates: original_task: null name: Answer Given options_zhmt reference: '' + 2a5546f9-a0e2-4fbb-aee8-b26ead2cf6b8: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 2a5546f9-a0e2-4fbb-aee8-b26ead2cf6b8 + jinja: '{{input_sentence_1}} {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} + 下面那个选项能够延续故事的发展? + - {{answer_choices | join("\n- ")}} ||| {{answer_choices[answer_right_ending + -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: Answer Given options_zhht + reference: '' + 2a9d66bc-eb77-4e7c-af6e-3d15b79d6cf1: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: 2a9d66bc-eb77-4e7c-af6e-3d15b79d6cf1 + jinja: "请读这则故事:\n\n{{input_sentence_1}}\n{{input_sentence_2}}\n\ + {{input_sentence_3}}\n{{input_sentence_4}}\n\n现在请选择贴切的结局: \n- {{answer_choices | join(\"\\\ + n- \")}}\n|||\n\n{{answer_choices[answer_right_ending -1]}}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: Choose Story Ending_zhht + reference: '' + c5c8225f-2d3a-4691-bdd5-58956816702f: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: c5c8225f-2d3a-4691-bdd5-58956816702f + jinja: "哪个选项能够继续以下的故事? \n\n{{input_sentence_1}}\n\ + {{input_sentence_2}}\n{{input_sentence_3}}\n{{input_sentence_4}}\n\n选项如下:\n- {{answer_choices | join(\"\\n- \")}}\n|||\n\n{{answer_choices[answer_right_ending\ + \ -1]}}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: Story Continuation and Options_zhht + reference: '' + cacca716-43cf-4954-a35c-655d775321e6: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: cacca716-43cf-4954-a35c-655d775321e6 + jinja: '请为这则故事写出可能的结局: {{input_sentence_1}} + {{input_sentence_2}} {{input_sentence_3}} {{input_sentence_4}} ||| {{answer_choices[answer_right_ending + -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - zh + metrics: + - BLEU + - ROUGE + original_task: false + name: Generate Ending_zhht + reference: '' + d6f3d112-4f97-449f-a911-03470d418f7d: !Template + answer_choices: '{{sentence_quiz1}} ||| {{sentence_quiz2}}' + id: d6f3d112-4f97-449f-a911-03470d418f7d + jinja: '我读了这则长篇故事:{{input_sentence_1}} {{input_sentence_2}} + {{input_sentence_3}} {{input_sentence_4}} 你觉得哪个是合适的结局?请从这些选项中作出选择:- {{answer_choices | join("\n- + ")}} ||| {{answer_choices[answer_right_ending -1]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: Novel Correct Ending_zhht + reference: '' diff --git a/promptsource/templates/Muennighoff/xwinograd/en/templates.yaml b/promptsource/templates/Muennighoff/xwinograd/en/templates.yaml index f0f34dccb..3a668025d 100644 --- a/promptsource/templates/Muennighoff/xwinograd/en/templates.yaml +++ b/promptsource/templates/Muennighoff/xwinograd/en/templates.yaml @@ -78,7 +78,6 @@ templates: answer_choices: '{{option1}} ||| {{option2}}' id: bd40cf1f-bda2-4757-b1b5-f1a20a3f7202 jinja: '{{sentence}} - What does the _ in the above sentence refer to? {{ option1 }} or {{ option2 }}? ||| {% if answer == ''1'' %} {{option1}} {% else %} {{ option2 }} {% endif %}' diff --git a/promptsource/templates/Muennighoff/xwinograd/jp/templates.yaml b/promptsource/templates/Muennighoff/xwinograd/jp/templates.yaml new file mode 100644 index 000000000..4183595a9 --- /dev/null +++ b/promptsource/templates/Muennighoff/xwinograd/jp/templates.yaml @@ -0,0 +1,72 @@ +dataset: Muennighoff/xwinograd +subset: jp +templates: + 14605aed-ab64-4edd-a93a-2d74c364d66a: !Template + answer_choices: '{{ option1 }} ||| {{ option2 }}' + id: 14605aed-ab64-4edd-a93a-2d74c364d66a + jinja: '{{ sentence }} 前の文で、_ は {{ option1 }} または {{ option2 }} を指しますか? ||| {% + if answer == ''1'' %} {{option1}} {% else %} {{ option2 }} {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: does underscore refer to_jpmt + reference: '' + 1aeb9dab-352b-4f53-ba1d-7a7dbd92139e: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: 1aeb9dab-352b-4f53-ba1d-7a7dbd92139e + jinja: '{{sentence}} 上記の文の _ は何を指していますか? {{ option1 }} または {{ option2 }}? ||| + {% if answer == ''1'' %} {{option1}} {% else %} {{ option2 }} {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: underscore refer to_jpmt + reference: '' + 2674be16-d2c6-4100-bf36-d46e9050f38c: !Template + answer_choices: 真実 ||| 間違い + id: 2674be16-d2c6-4100-bf36-d46e9050f38c + jinja: 以下の文の _ は {{option1}} を指します。正しいか間違っているか? {{sentence}}||| {{answer_choices[answer|int + - 1]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: True or False_jpmt + reference: '' + 3acef249-7cfe-43ac-9428-8282722288fa: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: 3acef249-7cfe-43ac-9428-8282722288fa + jinja: 次の文の _ は {{answer_choices[0]}} または {{answer_choices[1]}} を表していますか? {{sentence}}||| + {{answer_choices[answer | int - 1]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: stand for_jpmt + reference: '' + b32ff48c-3875-4f99-8bff-148190fd8e36: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: b32ff48c-3875-4f99-8bff-148190fd8e36 + jinja: '{{sentence}} + + 上記の文の _ を正しいオプションに置き換えます。 + + - {{option1}} + + - {{option2}} + + ||| + + {% if answer == ''1'' %} {{option1}} {% else %} {{ option2 }} {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Replace_jpmt + reference: '' diff --git a/promptsource/templates/Muennighoff/xwinograd/ru/templates.yaml b/promptsource/templates/Muennighoff/xwinograd/ru/templates.yaml new file mode 100644 index 000000000..313636638 --- /dev/null +++ b/promptsource/templates/Muennighoff/xwinograd/ru/templates.yaml @@ -0,0 +1,74 @@ +dataset: Muennighoff/xwinograd +subset: ru +templates: + 047f7512-abc6-405e-8ada-a31d9b74ca81: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: 047f7512-abc6-405e-8ada-a31d9b74ca81 + jinja: '{{sentence}} Что означает _ в приведенном выше предложении? {{ option1 + }} или {{ option2 }}? ||| {% if answer == ''1'' %} {{option1}} {% else %} {{ + option2 }} {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: underscore refer to_rumt + reference: '' + 2b5618ec-ae49-4cbf-8a93-58abf922cc29: !Template + answer_choices: Истинный ||| ЛОЖЬ + id: 2b5618ec-ae49-4cbf-8a93-58abf922cc29 + jinja: _ в предложении ниже относится к {{option1}}. Правда или ложь? {{sentence}}||| + {{answer_choices[answer|int - 1]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: True or False_rumt + reference: '' + 3ecd3a5a-090d-4562-a7ea-48fea55c2913: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: 3ecd3a5a-090d-4562-a7ea-48fea55c2913 + jinja: В приведенном ниже предложении _ означает {{answer_choices[0]}} или {{answer_choices[1]}}? + {{sentence}}||| {{answer_choices[answer | int - 1]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: stand for_rumt + reference: '' + 3f00a9b7-bc1d-4aaa-97e0-72f5a3aa54c3: !Template + answer_choices: '{{ option1 }} ||| {{ option2 }}' + id: 3f00a9b7-bc1d-4aaa-97e0-72f5a3aa54c3 + jinja: '{{ sentence }} В предыдущем предложении _ относится к {{ option1 }} или + {{ option2 }}? ||| {% if answer == ''1'' %} {{option1}} {% else %} {{ option2 + }} {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: does underscore refer to_rumt + reference: '' + 91785e76-9023-49c0-a377-aa201111bb48: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: 91785e76-9023-49c0-a377-aa201111bb48 + jinja: '{{sentence}} + + Замените _ в приведенном выше предложении правильным вариантом: + + - {{option1}} + + - {{option2}} + + ||| + + {% if answer == ''1'' %} {{option1}} {% else %} {{ option2 }} {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Replace_rumt + reference: '' diff --git a/promptsource/templates/Muennighoff/xwinograd/zh/templates.yaml b/promptsource/templates/Muennighoff/xwinograd/zh/templates.yaml index 53168d78c..5480c93ec 100644 --- a/promptsource/templates/Muennighoff/xwinograd/zh/templates.yaml +++ b/promptsource/templates/Muennighoff/xwinograd/zh/templates.yaml @@ -78,3 +78,77 @@ templates: original_task: null name: does underscore refer to_zhmt reference: '' + 33d31908-4aee-4545-aff2-7528cbf39197: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: 33d31908-4aee-4545-aff2-7528cbf39197 + jinja: "{{sentence}}\n把上个句子中的_替换成正确的选项:\ + \ \n- {{option1}}\n- {{option2}}\n|||\n{% if answer == '1' %} {{option1}} {%\ + \ else %} {{ option2 }} {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: Replace_zhht + reference: '' + 7f5f6d33-25e2-4394-b1f0-49a2a54767aa: !Template + answer_choices: True ||| False + id: 7f5f6d33-25e2-4394-b1f0-49a2a54767aa + jinja: '在以下的句子中,_ 指的是{{option1}}。 对否? + {{sentence}}||| + {{answer_choices[answer|int - 1]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: false + name: True or False_zhht + reference: '' + 22f9679e-7b6c-4ee7-a348-e905ed9aaf9e: !Template + answer_choices: '{{ option1 }} ||| {{ option2 }}' + id: 22f9679e-7b6c-4ee7-a348-e905ed9aaf9e + jinja: '{{ sentence }} 在上个句子里, _ 指的是{{ option1 }}抑或{{ option2 }}? ||| {% if answer == ''1'' %} {{option1}} {% else %} {{ option2 + }} {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: does underscore refer to_zhht + reference: '' + bd11cf1f-bda2-4757-b1b5-f1a20a3f7202: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: bd11cf1f-bda2-4757-b1b5-f1a20a3f7202 + jinja: '{{sentence}} + _ 在上面的句子中指的是什么?{{ option1 }}还是{{ option2 }}? ||| {% if answer == ''1'' %} {{option1}} {% else %} {{ option2 }} {% endif + %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: underscore refer to_zhht + reference: '' + ec355d5d-bb5c-488c-93a0-4f90e6011c5d: !Template + answer_choices: '{{option1}} ||| {{option2}}' + id: ec355d5d-bb5c-488c-93a0-4f90e6011c5d + jinja: '在下面的句子里, _ 代表{{answer_choices[0]}}还是{{answer_choices[1]}}? + {{sentence}}||| + {{answer_choices[answer | int - 1]}}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: stand for_zhht + reference: '' diff --git a/promptsource/templates/clue/c3/templates.yaml b/promptsource/templates/clue/c3/templates.yaml index 7856a1a1f..996b226c1 100644 --- a/promptsource/templates/clue/c3/templates.yaml +++ b/promptsource/templates/clue/c3/templates.yaml @@ -1,6 +1,48 @@ dataset: clue subset: c3 templates: + 28fc1d2b-30e5-4c37-9c87-14aa837df15e: !Template + answer_choices: '' + id: 28fc1d2b-30e5-4c37-9c87-14aa837df15e + jinja: '{% for statement in context %} + + {{ statement }} + + {% endfor %} + + 鉴于上面的对话/段落,问题“{{question}}”的答案是什么 + + ||| + + {{ answer }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer-question-interrogative-no-choices_zhmt + reference: '' + 4d6c5a6c-b693-4118-8495-800b97500bf9: !Template + answer_choices: '' + id: 4d6c5a6c-b693-4118-8495-800b97500bf9 + jinja: '段落:{% for statement in context %} + + {{ statement }} + + {% endfor %} + + 什么样的问题会引起 {{ answer }} 的回答响应? + + ||| + + {{ question }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: generate_question_zhmt + reference: '' 51b3c3fe-2fa2-474a-81f9-5b421c884109: !Template answer_choices: '{{ choice | join(" ||| ") }}' id: 51b3c3fe-2fa2-474a-81f9-5b421c884109 @@ -17,6 +59,31 @@ templates: original_task: true name: answer-question-affirmative reference: '' + 51f68e4d-1440-4512-8f16-09c232085029: !Template + answer_choices: '{{ choice | join(" ||| ") }}' + id: 51f68e4d-1440-4512-8f16-09c232085029 + jinja: "{% for statement in context %} + + {{ statement }} + + {% endfor %} + + 鉴于上面的对话/段落,使用以下选项回答问题“{{question}}”。 + + 选项: + + - {{ answer_choices | join('\n- ') }} + + ||| + + {{ answer }}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer-question-affirmative_zhmt + reference: '' 5e06f05f-d7dd-4329-b6d8-3a62dcdba838: !Template answer_choices: '{{ choice | join(" ||| ") }}' id: 5e06f05f-d7dd-4329-b6d8-3a62dcdba838 @@ -47,6 +114,29 @@ templates: original_task: false name: generate_question reference: '' + 6fb601d3-16b4-4cc3-b1af-f653cb6df46f: !Template + answer_choices: '{{ choice | join('' ||| '') }}' + id: 6fb601d3-16b4-4cc3-b1af-f653cb6df46f + jinja: "段落:{% for statement in context %} + + {{ statement }} + + {% endfor %} + + 问题:“{{question}}” + + 答案选择:{{ answer_choices[:-1] | join(', ') }} 还是 {{ answer_choices[-1] }}? + + ||| + + {{ answer }}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: question_choices_context_zhmt + reference: '' a5820d05-a8df-4e31-a284-6969e478174b: !Template answer_choices: '{{ choice | join('' ||| '') }}' id: a5820d05-a8df-4e31-a284-6969e478174b @@ -63,6 +153,29 @@ templates: original_task: true name: answer-question-interrogative reference: '' + c0dc3493-f8ef-4c3b-9b30-8dcca5626fd6: !Template + answer_choices: '{{ choice | join('' ||| '') }}' + id: c0dc3493-f8ef-4c3b-9b30-8dcca5626fd6 + jinja: "{% for statement in context %} + + {{ statement }} + + {% endfor %} + + 鉴于上面的对话/段落,问题“{{question}}”的答案是什么 + + 答案选择:{{ answer_choices[:-1] | join(', ') }} 还是 {{ answer_choices[-1] }}? + + ||| + + {{ answer }}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer-question-interrogative_zhmt + reference: '' f15acc3f-e067-488f-b426-f65aa604da55: !Template answer_choices: null id: f15acc3f-e067-488f-b426-f65aa604da55 diff --git a/promptsource/templates/clue/cmrc2018/templates.yaml b/promptsource/templates/clue/cmrc2018/templates.yaml index fb5c0dd1c..dc04ad568 100644 --- a/promptsource/templates/clue/cmrc2018/templates.yaml +++ b/promptsource/templates/clue/cmrc2018/templates.yaml @@ -1,6 +1,17 @@ dataset: clue subset: cmrc2018 templates: + 378f10bc-8e4f-492f-b581-625f221f1cdb: !Template + answer_choices: '' + id: 378f10bc-8e4f-492f-b581-625f221f1cdb + jinja: 问:{{ question }}你能写一些上下文来回答这个问题吗? ||| {{ context }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longctxt_zhmt + reference: '' 3bba02e6-9266-418b-9ba0-4f71755cf3b6: !Template answer_choices: null id: 3bba02e6-9266-418b-9ba0-4f71755cf3b6 @@ -19,6 +30,23 @@ templates: original_task: false name: generate_question reference: '' + 552242d1-9ca7-4487-848c-1891f4e0c955: !Template + answer_choices: '' + id: 552242d1-9ca7-4487-848c-1891f4e0c955 + jinja: '{{ context }} + + {{ question }} 的答案在上面的段落中。它是什么? + + ||| + + {{ answers[''text''][0] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_in_the_passage_zhmt + reference: '' 8fe02215-7881-4a61-a6e7-579680e40b9b: !Template answer_choices: null id: 8fe02215-7881-4a61-a6e7-579680e40b9b @@ -77,8 +105,8 @@ templates: 9fc15385-814e-419a-b862-2d4e06a58ef6: !Template answer_choices: null id: 9fc15385-814e-419a-b862-2d4e06a58ef6 - jinja: 'Q: {{ question }} - Can you write some context to answer the question? ||| {{ context }}' + jinja: 'Q: {{ question }} Can you write some context to answer the question? ||| + {{ context }}' metadata: !TemplateMetadata choices_in_prompt: false languages: @@ -91,9 +119,9 @@ templates: 9fc25385-814e-419a-b862-2d4e06a58ef6: !Template answer_choices: null id: 9fc25385-814e-419a-b862-2d4e06a58ef6 - jinja: '{{ context[:answers["answer_start"][0]-5] }}... How would you - continue the prior text to answer "{{ question }}"? - ||| {{ context[answers["answer_start"][0]-5:] }}' + jinja: '{{ context[:answers["answer_start"][0]-5] }}... How would you continue + the prior text to answer "{{ question }}"? ||| {{ context[answers["answer_start"][0]-5:] + }}' metadata: !TemplateMetadata choices_in_prompt: false languages: @@ -103,3 +131,68 @@ templates: original_task: true name: xp3longcontinue reference: '' + da67ca89-a235-49b5-8e1a-db521910917c: !Template + answer_choices: '' + id: da67ca89-a235-49b5-8e1a-db521910917c + jinja: '{{ context[:answers["answer_start"][0]-5] }}... 你将如何继续前面的文本来回答“{{ question + }}”? ||| {{ context[answers["answer_start"][0]-5:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + f9f87de0-0f6d-475e-9bf9-40fe1e37569f: !Template + answer_choices: '' + id: f9f87de0-0f6d-475e-9bf9-40fe1e37569f + jinja: '使用给定的上下文回答问题。 + + 问题:{{ question }} + + 上下文:{{ context }} + + 答案:||| + + {{ answers[''text''][0] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_following_question_zhmt + reference: '' + fe61c617-1fee-4ccd-8082-c42437e62832: !Template + answer_choices: '' + id: fe61c617-1fee-4ccd-8082-c42437e62832 + jinja: '在考试中,你被问到 {{ question }},你的任务是从以下段落中找到答案。 + + {{ context }} + + 答案是什么? + + ||| + + {{ answers[''text''][0] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: in_an_exam_zhmt + reference: '' + ffb82913-abf7-4eec-b565-86497cd10448: !Template + answer_choices: '' + id: ffb82913-abf7-4eec-b565-86497cd10448 + jinja: '给定这个上下文“{{ context }}”,生成一个返回“{{ answers[''text''][0] }}”答案的问题。 + + ||| + + {{ question }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: generate_question_zhmt + reference: '' diff --git a/promptsource/templates/clue/csl/templates.yaml b/promptsource/templates/clue/csl/templates.yaml index 6fe17c67e..1fe7548dd 100644 --- a/promptsource/templates/clue/csl/templates.yaml +++ b/promptsource/templates/clue/csl/templates.yaml @@ -66,6 +66,84 @@ templates: original_task: false name: generate_keywords reference: '' + 4216973d-8f07-477d-a0d9-75fbc03f14be: !Template + answer_choices: 不 ||| 是的 + id: 4216973d-8f07-477d-a0d9-75fbc03f14be + jinja: '一位学者使用“{{ keyword | join('', '') }}”作为搜索词。你认为搜索引擎会返回摘要“{{abst}}”吗?回答 {{ + answer_choices[1] }} 或 {{ answer_choices[0] }}。 + + ||| + + {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: search_terms_zhmt + reference: '' + 65f16551-9794-44f5-bb16-4d97df0251ef: !Template + answer_choices: '' + id: 65f16551-9794-44f5-bb16-4d97df0251ef + jinja: '给定抽象{{abst}},列出{{ keyword | length }} 关键字。 + + ||| + + {% if label == 1 %} + + {{ keyword | join('', '') }} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: generate_keywords_zhmt + reference: '' + 72cf15e7-e163-40bc-b391-beb2b3b1a3f5: !Template + answer_choices: 不 ||| 是的 + id: 72cf15e7-e163-40bc-b391-beb2b3b1a3f5 + jinja: 写一篇关于“{{ keyword | join(', ') }}”的摘要:||| {% if label == 1 %} {{abst}} {% + endif %} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longabst_zhmt + reference: '' + 89851e70-f78d-4127-bdae-c39f1914d16f: !Template + answer_choices: 不 ||| 是的 + id: 89851e70-f78d-4127-bdae-c39f1914d16f + jinja: '在约翰写完摘要“{{abst}}”之后,他写了这些关键字“{{ keyword | join('', '') }}”。你认为他选择的关键词是正确的吗?回答 + {{ answer_choices[1]}} 或 {{ answer_choices[0]}}。 + + ||| + + {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: write_keywords_after_abstract_zhmt + reference: '' + a77f23b8-de58-4475-9daf-8992108041b1: !Template + answer_choices: 不 ||| 是的 + id: a77f23b8-de58-4475-9daf-8992108041b1 + jinja: '这些关键字“{{ keyword | join('', '') }}”是否代表抽象“{{ abst }}”中的关键概念? + + ||| + + {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: do_represent_zhmt + reference: '' aaf47f6f-fd8f-4180-8d85-e4c7df088ac6: !Template answer_choices: no ||| yes id: aaf47f6f-fd8f-4180-8d85-e4c7df088ac6 @@ -91,11 +169,8 @@ templates: aff47f6f-fd8f-4180-8d85-e4c7df088ac6: !Template answer_choices: no ||| yes id: aff47f6f-fd8f-4180-8d85-e4c7df088ac6 - jinja: 'Write an abstract about "{{ keyword | join('', '') }}": - ||| - {% if label == 1 %} - {{abst}} - {% endif %}' + jinja: 'Write an abstract about "{{ keyword | join('', '') }}": ||| {% if label + == 1 %} {{abst}} {% endif %}' metadata: !TemplateMetadata choices_in_prompt: true languages: diff --git a/promptsource/templates/clue/drcd/templates.yaml b/promptsource/templates/clue/drcd/templates.yaml index ed51fb34c..e15835503 100644 --- a/promptsource/templates/clue/drcd/templates.yaml +++ b/promptsource/templates/clue/drcd/templates.yaml @@ -1,6 +1,23 @@ dataset: clue subset: drcd templates: + 0051dfc2-101c-4d2f-b33f-213df9da0672: !Template + answer_choices: '' + id: 0051dfc2-101c-4d2f-b33f-213df9da0672 + jinja: '{{ context }} + + {{ question }} 的答案在上面的段落中。它是什么? + + ||| + + {{ answers[''text''][0] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_in_the_passage_zhmt + reference: '' 2b2454d1-4375-4fb3-93a5-8c1e4ee605ea: !Template answer_choices: null id: 2b2454d1-4375-4fb3-93a5-8c1e4ee605ea @@ -22,6 +39,29 @@ templates: original_task: true name: answer_following_question reference: '' + 382d0afc-e2cc-4176-8532-1ca201d7ec51: !Template + answer_choices: '' + id: 382d0afc-e2cc-4176-8532-1ca201d7ec51 + jinja: '{{context[:answers["answer_start"]-5]}}... 你将如何继续前面的文本来回答“{{ question}}”? + ||| {{context[answers["answer_start"]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + 3c69b5c9-2dc0-463e-8cd2-afd6b6a99a7f: !Template + answer_choices: '' + id: 3c69b5c9-2dc0-463e-8cd2-afd6b6a99a7f + jinja: 在考试中,你被问到 {{ question }},你的任务是找到回答问题的段落。写这样一段话:||| {{ context }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longpassage_zhmt + reference: '' 41aebf75-a867-455b-a5dc-519ab83cf24f: !Template answer_choices: null id: 41aebf75-a867-455b-a5dc-519ab83cf24f @@ -41,6 +81,73 @@ templates: original_task: true name: answer_in_the_passage reference: '' + 438b48f0-f548-443f-a737-376cb9e81c39: !Template + answer_choices: '' + id: 438b48f0-f548-443f-a737-376cb9e81c39 + jinja: '在考试中,你被问到 {{ question }},你的任务是从以下段落中找到答案。 + + {{ context }} + + 答案是什么? + + ||| + + {{ answers[''text''][0] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: in_an_exam_zhmt + reference: '' + 529c5e7a-a842-4e93-bd73-3124e0ea2b0e: !Template + answer_choices: '' + id: 529c5e7a-a842-4e93-bd73-3124e0ea2b0e + jinja: '给定这个上下文“{{ context }}”,生成一个返回“{{ answers[''text''][0] }}”答案的问题。 + + ||| + + {{ question }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: generate_question_zhmt + reference: '' + 9fc35386-814e-419a-b862-2d4e06a58ef6: !Template + answer_choices: null + id: 9fc35386-814e-419a-b862-2d4e06a58ef6 + jinja: '{{context[:answers["answer_start"]-5]}}... How would you continue the + prior text to answer "{{ question }}"? ||| {{context[answers["answer_start"]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: false + languages: + - zh + metrics: + - Squad + original_task: true + name: xp3longcontinue + reference: '' + 9fff93be-31ff-4517-918b-61ac87adc52b: !Template + answer_choices: '' + id: 9fff93be-31ff-4517-918b-61ac87adc52b + jinja: '使用给定的上下文回答问题。 + + 问题:{{ question }} + + 上下文:{{ context }} + + 答案:||| + + {{ answers[''text''][0] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_following_question_zhmt + reference: '' ac20087c-80a0-4965-8cab-d8cb6f90a555: !Template answer_choices: null id: ac20087c-80a0-4965-8cab-d8cb6f90a555 @@ -74,27 +181,11 @@ templates: original_task: true name: in_an_exam reference: '' - 9fc35386-814e-419a-b862-2d4e06a58ef6: !Template - answer_choices: null - id: 9fc35386-814e-419a-b862-2d4e06a58ef6 - jinja: '{{context[:answers["answer_start"]-5]}}... How would you - continue the prior text to answer "{{ question }}"? - ||| {{context[answers["answer_start"]-5:]}}' - metadata: !TemplateMetadata - choices_in_prompt: false - languages: - - zh - metrics: - - Squad - original_task: true - name: xp3longcontinue - reference: '' b4684f23-b191-4e6d-9dc5-12b1d7d4cf49: !Template answer_choices: null id: b4684f23-b191-4e6d-9dc5-12b1d7d4cf49 - jinja: "In an exam, you are asked {{ question }}, and you are tasked to find a passage - answering the question. Write such a passage: ||| - {{ context }}" + jinja: 'In an exam, you are asked {{ question }}, and you are tasked to find a + passage answering the question. Write such a passage: ||| {{ context }}' metadata: !TemplateMetadata choices_in_prompt: false languages: diff --git a/promptsource/templates/clue/tnews/templates.yaml b/promptsource/templates/clue/tnews/templates.yaml index 685170cc5..d9ff1457e 100644 --- a/promptsource/templates/clue/tnews/templates.yaml +++ b/promptsource/templates/clue/tnews/templates.yaml @@ -1,6 +1,24 @@ dataset: clue subset: tnews templates: + 0c87f0d8-f102-4084-b75b-d37222d073bb: !Template + answer_choices: 故事 ||| 文化 ||| 娱乐 ||| 运动的 ||| 金融 ||| 房地产 ||| 车 ||| 教育 ||| 技术 ||| + 军队 ||| 旅行 ||| 世界新闻 ||| 股票 ||| 农业 ||| 游戏 + id: 0c87f0d8-f102-4084-b75b-d37222d073bb + jinja: '将标题“{{ sentence }}”分为以下主题: + + - {{ answer_choices | join(''\n- '') }} + + 主题:||| + + {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: classify_title_zhmt + reference: '' 0c965fcd-d5e9-4e6a-b8ec-13253ed7bf4a: !Template answer_choices: story ||| culture ||| entertainment ||| sports ||| finance ||| real estate ||| car ||| education ||| tech ||| military ||| travel ||| world @@ -39,6 +57,42 @@ templates: original_task: true name: best_represent reference: '' + af75d29d-4dae-43f9-9f24-1919aafd1161: !Template + answer_choices: 故事 ||| 文化 ||| 娱乐 ||| 运动的 ||| 金融 ||| 房地产 ||| 车 ||| 教育 ||| 技术 ||| + 军队 ||| 旅行 ||| 世界新闻 ||| 股票 ||| 农业 ||| 游戏 + id: af75d29d-4dae-43f9-9f24-1919aafd1161 + jinja: '以下新闻标题“{{ sentence }}”属于什么主题? {{ answer_choices[0] | capitalize }}, {{ + answer_choices[1:-1] | join('', '') }} 还是 {{ answer_choices[-1] }}? + + ||| + + {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: what_title_zhmt + reference: '' + b87348c1-f990-4714-9326-4ece9b148777: !Template + answer_choices: 故事 ||| 文化 ||| 娱乐 ||| 运动的 ||| 金融 ||| 房地产 ||| 车 ||| 教育 ||| 技术 ||| + 军队 ||| 旅行 ||| 世界新闻 ||| 股票 ||| 农业 ||| 游戏 + id: b87348c1-f990-4714-9326-4ece9b148777 + jinja: '鉴于 {{answer_choices[:-1] | join('', '') }} 和 {{ answer_choices[-1] }},指定它们中的哪一个最能代表以下句子: + + {{ sentence }} + + + 最佳:||| + + {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: best_represent_zhmt + reference: '' c242254c-bf5d-4efb-9dc3-51717bab7f78: !Template answer_choices: story ||| culture ||| entertainment ||| sports ||| finance ||| real estate ||| car ||| education ||| tech ||| military ||| travel ||| world diff --git a/promptsource/templates/codeparrot/codecomplex/codeparrot--codecomplex/templates.yaml b/promptsource/templates/codeparrot/codecomplex/codeparrot--codecomplex/templates.yaml index c3280d715..0e0c14e5b 100644 --- a/promptsource/templates/codeparrot/codecomplex/codeparrot--codecomplex/templates.yaml +++ b/promptsource/templates/codeparrot/codecomplex/codeparrot--codecomplex/templates.yaml @@ -4,7 +4,7 @@ templates: 5b108b1c-7514-488f-99ed-3ca5da70e103: !Template answer_choices: null id: 5b108b1c-7514-488f-99ed-3ca5da70e103 - jinja: '{{ code }} + jinja: '{{ src }} What is the time complexity of the previous code? ||| {{ complexity }}' @@ -20,7 +20,7 @@ templates: 1d85c898-70fe-4a51-be37-5111be357762: !Template answer_choices: null id: 1d85c898-70fe-4a51-be37-5111be357762 - jinja: "Identify the time complexity of the following code as constant, linear, quadratic, cubic, log(n), nlog(n) or NP-hard. {{ code }} Complexity: |||{{ complexity }}" + jinja: "Identify the time complexity of the following code as constant, linear, quadratic, cubic, log(n), nlog(n) or NP-hard. {{ src }} Complexity: |||{{ complexity }}" metadata: !TemplateMetadata choices_in_prompt: false languages: @@ -33,7 +33,7 @@ templates: 5d85c898-70fe-4a51-be37-5111be357762: !Template answer_choices: null id: 5d85c898-70fe-4a51-be37-5111be357762 - jinja: "{{ code }} Which one is the correct time complexity of the code snippet: constant, linear, quadratic, cubic, log(n), nlog(n) or NP-hard? |||{{ complexity }}" + jinja: "{{ src }} Which one is the correct time complexity of the code snippet: constant, linear, quadratic, cubic, log(n), nlog(n) or NP-hard? |||{{ complexity }}" metadata: !TemplateMetadata choices_in_prompt: false languages: diff --git a/promptsource/templates/khalidalt/tydiqa-goldp/arabic/templates.yaml b/promptsource/templates/khalidalt/tydiqa-goldp/arabic/templates.yaml new file mode 100644 index 000000000..12b5c5af1 --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-goldp/arabic/templates.yaml @@ -0,0 +1,208 @@ +dataset: khalidalt/tydiqa-goldp +subset: arabic +templates: + 15a6f672-e898-4dc4-b86a-920180a6a1b6: !Template + answer_choices: '' + id: 15a6f672-e898-4dc4-b86a-920180a6a1b6 + jinja: 'هل يمكنك توليد سؤال حول {{document_title}} وإجابته {{answers.text | choice}} + بناءً على السياق التالي: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_with_title_armt + reference: '' + 3e657e30-73ea-4043-8e6b-5ce18c61a4f6: !Template + answer_choices: '' + id: 3e657e30-73ea-4043-8e6b-5ce18c61a4f6 + jinja: 'أقوم باختبار معرفة طلابي حول {{document_title}}. + + بناءً على السياق ({{passage_text}}) ، إليك السؤال الذي يجب الإجابة عليه: {{question_text}}. + الجواب في السياق. + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_testing_students_armt + reference: '' + 4a4c3967-6250-4c40-880c-a2e8f240cdc7: !Template + answer_choices: '' + id: 4a4c3967-6250-4c40-880c-a2e8f240cdc7 + jinja: 'هل يمكنك إنشاء سؤال تكون إجابته {{answers.text | choice}} بناءً على السياق + التالي: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_armt + reference: '' + 68844d72-22e9-494e-b299-2014e08db5a6: !Template + answer_choices: '' + id: 68844d72-22e9-494e-b299-2014e08db5a6 + jinja: 'تقول الشائعات أن {{answers.text | choice}} هو الجواب على {{question_text}} + + أنا متشكك ... هل يمكنك إثبات ما ورد أعلاه بكتابة مقالة على غرار ويكيبيديا تتكون + من 8000 حرف على الأكثر في {{language}}؟ ||| {{passage_text[:8000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longwiki_armt + reference: '' + a0f6fec6-a98e-4c96-8275-502697e80e37: !Template + answer_choices: '' + id: a0f6fec6-a98e-4c96-8275-502697e80e37 + jinja: أريد أن أعلِّم صفي عن موضوع {{document_title}}. هل يمكنك أن تكتب لي مقالاً + يمكنني أن أعطيهم لقراءته كواجب منزلي؟ يجب أن تجيب {{question_text}} ، وتكون + باللغة {{language}} وتكون رسمية. لو سمحت. ||| {{passage_text}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longarticle_armt + reference: '' + b74e935c-bfe5-4e80-95bf-7487478ab0ae: !Template + answer_choices: '' + id: b74e935c-bfe5-4e80-95bf-7487478ab0ae + jinja: '{% set _blank2 = ["title", "context", "topic" ] %} + + {% set _blank1 = ["guess", "generate", "determine"] %} + + {% set _blank=["passage", "text", "text snippet", "info"]|random %} + + {% set _position = ["above", "following"] |random %} + + {% if _position == "above" %} + + {{passage_text}} {{"\n"}} + + {% endif %} + + هل يمكنك {{_blank1|random}} {{_blank2|random}} من المقطع {{_position}}. + + {% if _position == "following" %} + + {{"\n"}} {{passage_text}} + + {% endif %} + + ||| + + {{document_title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_title_generation_armt + reference: '' + c1181a6a-b348-46b2-9c05-010bdda96506: !Template + answer_choices: '' + id: c1181a6a-b348-46b2-9c05-010bdda96506 + jinja: '{{question_text}} + + أجب على السؤال أعلاه. + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_simple_question_odqa_armt + reference: '' + ca91d6f3-8262-4220-a18d-7019fdc63269: !Template + answer_choices: '' + id: ca91d6f3-8262-4220-a18d-7019fdc63269 + jinja: 'أحاول معرفة إجابة السؤال "{{question_text}}" + + لقد وجدت هذا النص حول {{document_title}} على ويكيبيديا وأعتقد أنه يحتوي على + الإجابة. هل يمكنك إخباري بالإجابة؟ + + نص: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_tell_me_the_answer_armt + reference: '' + dae94d5b-89d1-4999-ad19-8c5a95fe5caa: !Template + answer_choices: '' + id: dae94d5b-89d1-4999-ad19-8c5a95fe5caa + jinja: 'لطالما تساءلت: {{question_text}} + + لقد بحثت في Wikipedia ووجدت المقتطف النصي التالي حول {{document_title}}. + + المقتطف: {{passage_text}} + + ماهي الاجابة؟ + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_whats_the_answer_armt + reference: '' + df1ced31-6eb8-4b74-80cc-51d278fbb3ce: !Template + answer_choices: '' + id: df1ced31-6eb8-4b74-80cc-51d278fbb3ce + jinja: 'استخرج في المقطع إجابة السؤال: {{question_text}} + + ممر حول {{document_title}}: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_extract_answer_armt + reference: '' + e8dd1c10-9dd3-4573-a0c4-27b24908c35f: !Template + answer_choices: '' + id: e8dd1c10-9dd3-4573-a0c4-27b24908c35f + jinja: 'المقتطف: {{passage_text}} + + أعلم أن الإجابة على "{{question_text}}" تظهر في مكان ما في المقتطف النصي حول + {{document_title}}. هل تستطيع الاجابة على السؤال؟ + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_answer_the_question_armt + reference: '' diff --git a/promptsource/templates/khalidalt/tydiqa-goldp/bengali/templates.yaml b/promptsource/templates/khalidalt/tydiqa-goldp/bengali/templates.yaml new file mode 100644 index 000000000..8211d30b0 --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-goldp/bengali/templates.yaml @@ -0,0 +1,209 @@ +dataset: khalidalt/tydiqa-goldp +subset: bengali +templates: + 258b1aa5-c630-4c70-a822-9c7f63b43830: !Template + answer_choices: '' + id: 258b1aa5-c630-4c70-a822-9c7f63b43830 + jinja: '{{question_text}} + + উপরের প্রশ্নের উত্তর দাও। + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_simple_question_odqa_bnmt + reference: '' + 387fc3ed-46ea-4093-92e6-2c46a8e21a4e: !Template + answer_choices: '' + id: 387fc3ed-46ea-4093-92e6-2c46a8e21a4e + jinja: আমি আমার ক্লাসে {{document_title}} বিষয় সম্পর্কে শেখাতে চাই। আপনি কি আমাকে + একটি নিবন্ধ লিখতে পারেন যা আমি তাদের হোমওয়ার্ক হিসাবে পড়তে দিতে পারি? এটি + {{question_text}} উত্তর, {{language}} এবং আনুষ্ঠানিক হতে হবে। অনুগ্রহ. ||| {{passage_text}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longarticle_bnmt + reference: '' + 3c0e6532-ebc5-4783-b821-c264f0f6dcb9: !Template + answer_choices: '' + id: 3c0e6532-ebc5-4783-b821-c264f0f6dcb9 + jinja: 'আমি "{{question_text}}" প্রশ্নের উত্তর বের করার চেষ্টা করছি + + আমি উইকিপিডিয়াতে {{document_title}} সম্পর্কে এই লেখাটি পেয়েছি এবং আমার মনে + হয় এতে উত্তর রয়েছে। আপনি আমাকে উত্তর বলতে পারেন? + + পাঠ্য: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_tell_me_the_answer_bnmt + reference: '' + 6fd56a41-c8f1-4d6e-b775-bad62e889773: !Template + answer_choices: '' + id: 6fd56a41-c8f1-4d6e-b775-bad62e889773 + jinja: 'আপনি কি একটি প্রশ্ন তৈরি করতে পারেন যার উত্তর হল {{answers.text | choice}} + নিম্নলিখিত প্রসঙ্গের উপর ভিত্তি করে: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_bnmt + reference: '' + 74dce5ca-6e1d-4756-99c0-01eb0d6798b5: !Template + answer_choices: '' + id: 74dce5ca-6e1d-4756-99c0-01eb0d6798b5 + jinja: '{% set _blank2 = ["title", "context", "topic" ] %} + + {% set _blank1 = ["guess", "generate", "determine"] %} + + {% set _blank=["passage", "text", "text snippet", "info"]|random %} + + {% set _position = ["above", "following"] |random %} + + {% if _position == "above" %} + + {{passage_text}}{{"\n"}} + + {% endif %} + + আপনি কি {{_position}} প্যাসেজের {{_blank2|random}} {{_position}} করতে পারেন। + + {% if _position == "following" %} + + {{"\n"}}{{passage_text}} + + {% endif %} + + ||| + + {{document_title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_title_generation_bnmt + reference: '' + 815a8cc2-fa45-4b54-beeb-a5b30f0def48: !Template + answer_choices: '' + id: 815a8cc2-fa45-4b54-beeb-a5b30f0def48 + jinja: 'স্নিপেট: {{passage_text}} + + আমি জানি যে "{{question_text}}" এর উত্তরটি {{document_title}} সম্বন্ধে টেক্সট + স্নিপেটে কোথাও দেখা যাচ্ছে৷ আপনি প্রশ্নের উত্তর দিতে পারেন? + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_answer_the_question_bnmt + reference: '' + a1bc905d-6b97-449b-b959-0668dd653ef2: !Template + answer_choices: '' + id: a1bc905d-6b97-449b-b959-0668dd653ef2 + jinja: 'আপনি কি {{document_title}} সম্পর্কে একটি প্রশ্ন তৈরি করতে পারেন এবং যার + উত্তর হল {{answers.text | choice}} নিম্নলিখিত প্রসঙ্গের উপর ভিত্তি করে: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_with_title_bnmt + reference: '' + c08199c5-a464-4955-9544-d9f51faf270e: !Template + answer_choices: '' + id: c08199c5-a464-4955-9544-d9f51faf270e + jinja: 'আমি সবসময় ভাবতাম: {{question_text}} + + আমি উইকিপিডিয়া অনুসন্ধান করেছি এবং আমি {{document_title}} সম্পর্কে নিম্নলিখিত + পাঠ্য স্নিপেট পেয়েছি। + + স্নিপেট: {{passage_text}} + + উত্তর কী? + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_whats_the_answer_bnmt + reference: '' + d3347076-117f-408d-b887-ee51072377c1: !Template + answer_choices: '' + id: d3347076-117f-408d-b887-ee51072377c1 + jinja: 'গুজব আছে যে {{answers.text | choice}} হল {{question_text}} এর উত্তর + + আমি সন্দিহান... আপনি কি {{language}}-এ সর্বাধিক ৮০০০ অক্ষরের উইকিপিডিয়া-স্টাইলের + একটি নিবন্ধ লিখে উপরে প্রমাণ করতে পারবেন? ||| {{passage_text[:8000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longwiki_bnmt + reference: '' + d7077224-6492-49ea-a43a-a7cce7479663: !Template + answer_choices: '' + id: d7077224-6492-49ea-a43a-a7cce7479663 + jinja: 'আমি {{document_title}} সম্পর্কে আমার ছাত্রদের জ্ঞান পরীক্ষা করছি৷ + + প্রসঙ্গ ({{passage_text}}) এর উপর ভিত্তি করে, এখানে উত্তর দেওয়ার জন্য প্রশ্ন: + {{question_text}}। উত্তরটি প্রসঙ্গে। + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_testing_students_bnmt + reference: '' + e6ba5a92-b56e-4272-91ab-d8f4f01bb1c3: !Template + answer_choices: '' + id: e6ba5a92-b56e-4272-91ab-d8f4f01bb1c3 + jinja: 'প্যাসেজে প্রশ্নের উত্তর বের করুন: {{question_text}} + + {{document_title}} সম্পর্কে প্যাসেজ: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_extract_answer_bnmt + reference: '' diff --git a/promptsource/templates/khalidalt/tydiqa-goldp/indonesian/template.yaml b/promptsource/templates/khalidalt/tydiqa-goldp/indonesian/templates.yaml similarity index 100% rename from promptsource/templates/khalidalt/tydiqa-goldp/indonesian/template.yaml rename to promptsource/templates/khalidalt/tydiqa-goldp/indonesian/templates.yaml diff --git a/promptsource/templates/khalidalt/tydiqa-goldp/swahili/templates.yaml b/promptsource/templates/khalidalt/tydiqa-goldp/swahili/templates.yaml new file mode 100644 index 000000000..a32f0e83c --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-goldp/swahili/templates.yaml @@ -0,0 +1,210 @@ +dataset: khalidalt/tydiqa-goldp +subset: swahili +templates: + 0ccc3a78-efe1-44e6-ab8e-f1a2df54336a: !Template + answer_choices: '' + id: 0ccc3a78-efe1-44e6-ab8e-f1a2df54336a + jinja: Ninataka kufundisha darasa langu kuhusu mada ya {{document_title}}. Je, + unaweza kuniandikia makala ambayo ninaweza kuwapa waisome kama kazi ya nyumbani? + Inapaswa kujibu {{question_text}}, iwe katika {{language}} na iwe rasmi. Tafadhali. + ||| {{passage_text}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longarticle_swmt + reference: '' + 3d5497a0-b931-4a72-9b9d-c91615ea785c: !Template + answer_choices: '' + id: 3d5497a0-b931-4a72-9b9d-c91615ea785c + jinja: 'Ninajaribu maarifa ya wanafunzi wangu kuhusu {{document_title}}. + + Kulingana na muktadha ({{passage_text}}), hili ndilo swali la kujibu: {{question_text}}. + Jibu liko katika muktadha. + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_testing_students_swmt + reference: '' + 672ed8d1-a0c4-4f10-82a5-e475388b17d7: !Template + answer_choices: '' + id: 672ed8d1-a0c4-4f10-82a5-e475388b17d7 + jinja: 'Unaweza kutoa swali ambalo jibu lake ni {{answers.text | choice}} kulingana + na muktadha ufuatao: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_swmt + reference: '' + 882ea291-d306-4715-af69-62d5a383d949: !Template + answer_choices: '' + id: 882ea291-d306-4715-af69-62d5a383d949 + jinja: 'Uvumi una kuwa {{answers.text | choice}} ni jibu la {{question_text}} + + Nina mashaka... Je, unaweza kuthibitisha yaliyo hapo juu kwa kuandika makala + ya mtindo wa Wikipedia yenye angalau herufi 8000 katika {{language}}? ||| {{passage_text[:8000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longwiki_swmt + reference: '' + b06dd7ec-c8fa-4a4a-b840-53d4103780cd: !Template + answer_choices: '' + id: b06dd7ec-c8fa-4a4a-b840-53d4103780cd + jinja: 'Kijisehemu: {{passage_text}} + + Ninajua kuwa jibu la "{{question_text}}" linaonekana mahali fulani katika kijisehemu + cha maandishi kuhusu {{document_title}}. Je, unaweza kujibu swali? + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_answer_the_question_swmt + reference: '' + bde549ed-87ad-4902-a562-1a509f9e1229: !Template + answer_choices: '' + id: bde549ed-87ad-4902-a562-1a509f9e1229 + jinja: '{{question_text}} + + Jibu swali hapo juu. + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_simple_question_odqa_swmt + reference: '' + c4407c57-f67a-4581-a909-b7f3b9d087b4: !Template + answer_choices: '' + id: c4407c57-f67a-4581-a909-b7f3b9d087b4 + jinja: 'Unaweza kuzalisha swali kuhusu {{document_title}} na ambalo jibu lake + ni {{answers.text | choice}} kulingana na muktadha ufuatao: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_with_title_swmt + reference: '' + dcd5e0f7-9eab-484c-bed7-725dd7ea5e94: !Template + answer_choices: '' + id: dcd5e0f7-9eab-484c-bed7-725dd7ea5e94 + jinja: 'Nimekuwa nikijiuliza: {{question_text}} + + Nilitafuta Wikipedia na nikapata kijisehemu kifuatacho cha maandishi kuhusu + {{document_title}}. + + Kijisehemu: {{passage_text}} + + Jibu ni nini? + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_whats_the_answer_swmt + reference: '' + ef2222fd-410e-4d4e-aade-0549357c1b70: !Template + answer_choices: '' + id: ef2222fd-410e-4d4e-aade-0549357c1b70 + jinja: '{% set _blank2 = ["title", "context", "topic" ] %} + + {% set _blank1 = ["guess", "generate", "determine"] %} + + {% set _blank=["passage", "text", "text snippet", "info"]|random %} + + {% set _position = ["above", "following"] |random %} + + {% if _position == "above" %} + + {{passage_text}}{{"\n"}} + + {% endif %} + + Unaweza {{_blank1|random}} {{_blank2|random}} ya kifungu cha {{_position}}. + + {% if _position == "following" %} + + {{"\n"}}{{passage_text}} + + {% endif %} + + ||| + + {{document_title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_title_generation_swmt + reference: '' + fae7ffa4-7c56-4418-8651-a5cdbaee2a73: !Template + answer_choices: '' + id: fae7ffa4-7c56-4418-8651-a5cdbaee2a73 + jinja: 'Toa katika kifungu jibu la swali: {{question_text}} + + Kifungu kuhusu {{document_title}}: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_extract_answer_swmt + reference: '' + fee38532-014b-482d-9d8b-82f914dba1f5: !Template + answer_choices: '' + id: fee38532-014b-482d-9d8b-82f914dba1f5 + jinja: 'Ninajaribu kutafuta jibu la swali "{{question_text}}" + + Nilipata maandishi haya kuhusu {{document_title}} kwenye Wikipedia na nadhani + yana jibu. Unaweza kuniambia jibu? + + Maandishi: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_tell_me_the_answer_swmt + reference: '' diff --git a/promptsource/templates/khalidalt/tydiqa-goldp/telugu/templates.yaml b/promptsource/templates/khalidalt/tydiqa-goldp/telugu/templates.yaml new file mode 100644 index 000000000..4a8326c64 --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-goldp/telugu/templates.yaml @@ -0,0 +1,209 @@ +dataset: khalidalt/tydiqa-goldp +subset: telugu +templates: + 18465995-dd79-4fed-be9d-060865570e81: !Template + answer_choices: '' + id: 18465995-dd79-4fed-be9d-060865570e81 + jinja: 'నేను {{document_title}} గురించి నా విద్యార్థుల జ్ఞానాన్ని పరీక్షిస్తున్నాను. + + సందర్భం ({{passage_text}}) ఆధారంగా, సమాధానం ఇవ్వాల్సిన ప్రశ్న ఇక్కడ ఉంది: {{question_text}}. + సమాధానం సందర్భంలో ఉంది. + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_testing_students_temt + reference: '' + 282d6bcf-4f2e-4d31-8210-853a9668cd67: !Template + answer_choices: '' + id: 282d6bcf-4f2e-4d31-8210-853a9668cd67 + jinja: నేను {{document_title}} అంశం గురించి నా తరగతికి బోధించాలనుకుంటున్నాను. + నేను వారికి హోంవర్క్‌గా చదవడానికి ఇవ్వగల కథనాన్ని మీరు నాకు వ్రాయగలరా? ఇది {{question_text}}కి + సమాధానం ఇవ్వాలి, {{language}}లో ఉండాలి మరియు అధికారికంగా ఉండాలి. దయచేసి. ||| + {{passage_text}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longarticle_temt + reference: '' + 4b66de82-dc01-468d-a0d2-ab41e186c83a: !Template + answer_choices: '' + id: 4b66de82-dc01-468d-a0d2-ab41e186c83a + jinja: 'స్నిప్పెట్: {{passage_text}} + + "{{question_text}}"కి సమాధానం {{document_title}} గురించిన టెక్స్ట్ స్నిప్పెట్‌లో + ఎక్కడో కనిపిస్తుందని నాకు తెలుసు. మీరు ప్రశ్నకు సమాధానం చెప్పగలరా? + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_answer_the_question_temt + reference: '' + 981093e4-bd0a-48a2-8bfa-2e3b68f0c8df: !Template + answer_choices: '' + id: 981093e4-bd0a-48a2-8bfa-2e3b68f0c8df + jinja: 'నేను "{{question_text}}" ప్రశ్నకు సమాధానాన్ని గుర్తించడానికి ప్రయత్నిస్తున్నాను + + నేను వికీపీడియాలో {{document_title}} గురించిన ఈ వచనాన్ని కనుగొన్నాను మరియు దానిలో + సమాధానం ఉందని నేను భావిస్తున్నాను. సమాధానం చెప్పగలరా? + + వచనం: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_can_you_tell_me_the_answer_temt + reference: '' + e52f747c-15e0-462d-b4fd-93e36648e050: !Template + answer_choices: '' + id: e52f747c-15e0-462d-b4fd-93e36648e050 + jinja: '{% set _blank2 = ["title", "context", "topic" ] %} + + {% set _blank1 = ["guess", "generate", "determine"] %} + + {% set _blank=["passage", "text", "text snippet", "info"]|random %} + + {% set _position = ["above", "following"] |random %} + + {% if _position == "above" %} + + {{passage_text}}{{"\n"}} + + {% endif %} + + మీరు {{_blank1|random}} {{_blank2|random}} ప్రకరణంలోని {{_position}} చేయగలరా. + + {% if _position == "following" %} + + {{"\n"}}{{passage_text}} + + {% endif %} + + ||| + + {{document_title}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_title_generation_temt + reference: '' + ea9064f4-684c-4225-83af-a7fcfacc1dfc: !Template + answer_choices: '' + id: ea9064f4-684c-4225-83af-a7fcfacc1dfc + jinja: 'మీరు {{document_title}} గురించి ప్రశ్నను రూపొందించగలరా మరియు దీని సమాధానం + {{answers.text | choice}} కింది సందర్భం ఆధారంగా: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_with_title_temt + reference: '' + ee923def-1b95-48ee-992e-2679585a4a44: !Template + answer_choices: '' + id: ee923def-1b95-48ee-992e-2679585a4a44 + jinja: '{{question_text}} + + పై ప్రశ్నకు సమాధానమివ్వండి. + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_simple_question_odqa_temt + reference: '' + f679c8ef-a75b-4b51-a5ef-2248ae2d18ba: !Template + answer_choices: '' + id: f679c8ef-a75b-4b51-a5ef-2248ae2d18ba + jinja: 'పుకారు {{answers.text | choice}} అనేది {{question_text}}కి సమాధానం + + నాకు సందేహం ఉంది... మీరు {{language}}లో గరిష్టంగా 8000 అక్షరాలతో వికీపీడియా + తరహా కథనాన్ని రాయడం ద్వారా పై విషయాన్ని నిరూపించగలరా? ||| {{passage_text[:8000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longwiki_temt + reference: '' + f67b469b-b1f1-4be1-9cec-66a30e2bfb31: !Template + answer_choices: '' + id: f67b469b-b1f1-4be1-9cec-66a30e2bfb31 + jinja: 'మీరు {{answers.text | choice}} కింది సందర్భం ఆధారంగా: {{passage_text}} + + ||| + + {{question_text}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_end_to_end_question_generation_temt + reference: '' + f883a766-388c-4351-b1c2-c1e3330a9895: !Template + answer_choices: '' + id: f883a766-388c-4351-b1c2-c1e3330a9895 + jinja: 'ప్రశ్నకు సమాధానాన్ని ప్రకరణంలో సంగ్రహించండి: {{question_text}} + + {{document_title}} గురించిన ప్రకరణము: {{passage_text}} + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_extract_answer_temt + reference: '' + fac7f875-d6fc-42aa-8bf1-1659c4b2c883: !Template + answer_choices: '' + id: fac7f875-d6fc-42aa-8bf1-1659c4b2c883 + jinja: 'నేను ఎప్పుడూ ఆశ్చర్యపోతున్నాను: {{question_text}} + + నేను వికీపీడియాలో శోధించాను మరియు {{document_title}} గురించిన క్రింది వచన స్నిప్పెట్‌ని + నేను కనుగొన్నాను. + + స్నిప్పెట్: {{passage_text}} + + సమాధానం ఏమిటి? + + ||| + + {{answers.text | choice}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_whats_the_answer_temt + reference: '' diff --git a/promptsource/templates/khalidalt/tydiqa-primary/arabic/templates.yaml b/promptsource/templates/khalidalt/tydiqa-primary/arabic/templates.yaml new file mode 100644 index 000000000..8c3ed577e --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-primary/arabic/templates.yaml @@ -0,0 +1,174 @@ +dataset: khalidalt/tydiqa-primary +subset: arabic +templates: + 02e56dd9-28b6-44ea-b6a5-46522d84979a: !Template + answer_choices: نعم ||| رقم + id: 02e56dd9-28b6-44ea-b6a5-46522d84979a + jinja: 'هل تتذكر عندما كنا نقرأ {{document_url}} ذلك اليوم؟ لقد بدأ شيئًا مثل + document_plaintext [: 100] .. هل يمكنك متابعته لما يصل إلى 1000 حرف آخر؟ ||| + {{document_plaintext[100:1100]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + 11c83fa2-254c-47b8-9908-bd900f13d3ce: !Template + answer_choices: نعم ||| رقم ||| لا أحد + id: 11c83fa2-254c-47b8-9908-bd900f13d3ce + jinja: 'أتساءل {{question_text}}. + + ساعدني في الإجابة على هذا السؤال بـ "{{answer_choices[0]}}" أو "{{answer_choices[1]}}" + أو "{{answer_choices[2]}}" إذا لم تنطبق أي من أول إجابتين. + + هذا ما وجدته على الإنترنت: + + الموضوع: {{document_title}} + + مقالة: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_heres_what_I_found_armt + reference: '' + 632da328-a9e7-41d0-ac15-44aab10f79c6: !Template + answer_choices: نعم ||| رقم + id: 632da328-a9e7-41d0-ac15-44aab10f79c6 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nأجب عن السؤال حول {{document_title}}.\nالسؤال: {{question_text}}.\ + \ نعم ام لا؟\n|||\n{{annotations.yes_no_answer[0] | capitalize}}\n {% endif\ + \ %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_armt + reference: '' + 6c3e231f-4f69-4ae4-9302-176a1dddfc0b: !Template + answer_choices: نعم ||| رقم ||| لا أحد + id: 6c3e231f-4f69-4ae4-9302-176a1dddfc0b + jinja: 'أجب عن السؤال التالي بـ "{{answer_choices[0]}}" أو "{{answer_choices[1]}}" + أو "{{answer_choices[2]}}" إذا لم تنطبق أي من أول إجابتين. + + السؤال: {{question_text}} + + الموضوع: {{document_title}} + + مقالة: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_read_and_answer_armt + reference: '' + 70ccca01-859d-4ecd-8081-121ccf20fb0f: !Template + answer_choices: نعم ||| رقم + id: 70ccca01-859d-4ecd-8081-121ccf20fb0f + jinja: 'أتساءل {{question_text}} + + + هل يمكنك إعطائي بعض السياق للإجابة على هذا (بنفس لغة سؤالي)؟ ||| {{document_plaintext[:10000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_armt + reference: '' + 71804e7a-e278-4311-a18b-823ff0ec3f73: !Template + answer_choices: نعم ||| رقم + id: 71804e7a-e278-4311-a18b-823ff0ec3f73 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nبناءً على المقتطف النصي التالي ، {{question_text}}\n{{document_plaintext}}\n\ + |||\n{{annotations.yes_no_answer[0] | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_based_on_the_text_armt + reference: '' + b8dc7dcd-ab0b-40b8-8c48-7186af129861: !Template + answer_choices: نعم ||| رقم ||| لا أحد + id: b8dc7dcd-ab0b-40b8-8c48-7186af129861 + jinja: 'السؤال: {{question_text}} + + أجب عن السؤال بـ {{"Yes"}} أو {{"No"}}. إذا لم يكن ذلك ممكنًا ، فأجب بـ {{"None"}}. + + تلميح: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_none_armt + reference: '' + c32989cd-a045-4c60-ae8d-1d7033bb8243: !Template + answer_choices: نعم ||| رقم + id: c32989cd-a045-4c60-ae8d-1d7033bb8243 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nأجب عن السؤال حول {{document_title}}. {{question_text}}\n|||\n\ + {{annotations.yes_no_answer[0] | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_without_choices_armt + reference: '' + cb1f4c55-0120-4a18-87d1-d0cf7bf02650: !Template + answer_choices: نعم ||| رقم + id: cb1f4c55-0120-4a18-87d1-d0cf7bf02650 + jinja: '{{question_text}} + + هل هذا سؤال "نعم / لا"؟ + + ||| + + {% if annotations. yes_no_answer[0] == "NONE" %} + + رقم + + {% else %} + + نعم + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_question_armt + reference: '' + f565cd59-05d3-46ac-a29c-ed3422fc403d: !Template + answer_choices: نعم ||| رقم + id: f565cd59-05d3-46ac-a29c-ed3422fc403d + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nبعد قراءة المقتطف النصي التالي من Wikipedia ، الرجاء الإجابة\ + \ على السؤال: {{question_text}}\n{{document_plaintext}}\n|||\n{{annotations.yes_no_answer[0]\ + \ | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_after_reading_the_text_armt + reference: '' diff --git a/promptsource/templates/khalidalt/tydiqa-primary/bengali/templates.yaml b/promptsource/templates/khalidalt/tydiqa-primary/bengali/templates.yaml new file mode 100644 index 000000000..0cdf8f4b1 --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-primary/bengali/templates.yaml @@ -0,0 +1,178 @@ +dataset: khalidalt/tydiqa-primary +subset: bengali +templates: + 232c2c09-af06-4100-b4f8-898f3ce8b35a: !Template + answer_choices: হ্যাঁ ||| না + id: 232c2c09-af06-4100-b4f8-898f3ce8b35a + jinja: আপনার কি মনে আছে যখন আমরা অন্য দিন {{document_url}} পড়ছিলাম? এটি ডকুমেন্ট_প্লেইনটেক্সট[:100] + এর মতো শুরু হয়েছিল.. আপনি কি এটি আরও 1000 অক্ষর পর্যন্ত চালিয়ে যেতে পারেন? + ||| {{document_plaintext[100:1100]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_bnmt + reference: '' + 3549b005-f604-4c53-82db-9788617c06d3: !Template + answer_choices: হ্যাঁ ||| না + id: 3549b005-f604-4c53-82db-9788617c06d3 + jinja: '{{question_text}} + + এটি একটি "হ্যাঁ/না" প্রশ্ন? + + ||| + + {% if annotations. yes_no_answer[0] == "NONE" %} + + না + + {% else %} + + হ্যাঁ + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_question_bnmt + reference: '' + 540b9d1f-0886-4c10-8354-3345a78f7652: !Template + answer_choices: হ্যাঁ ||| না + id: 540b9d1f-0886-4c10-8354-3345a78f7652 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nউইকিপিডিয়া থেকে নিম্নলিখিত টেক্সট স্নিপেট পড়ার পর, অনুগ্রহ\ + \ করে প্রশ্নের উত্তর দিন: {{question_text}}\n{{document_plaintext}}\n|||\n{{annotations.yes_no_answer[0]\ + \ | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_after_reading_the_text_bnmt + reference: '' + 6700a698-2df4-431c-a33e-96e8d7e1ac06: !Template + answer_choices: হ্যাঁ ||| না ||| কোনোটিই নয় + id: 6700a698-2df4-431c-a33e-96e8d7e1ac06 + jinja: 'প্রশ্ন: {{question_text}} + + {{"Yes"}} বা {{"No"}} দিয়ে প্রশ্নের উত্তর দিন। যদি সম্ভব না হয় তাহলে {{"None"}} + উত্তর দিন। + + ইঙ্গিত: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_none_bnmt + reference: '' + 9404aaa9-afef-44fd-8cb3-1d67395a9dff: !Template + answer_choices: হ্যাঁ ||| না ||| কোনোটিই নয় + id: 9404aaa9-afef-44fd-8cb3-1d67395a9dff + jinja: '"{{answer_choices[0]}}" অথবা "{{answer_choices[1]}}" অথবা "{{answer_choices[2]}}" + দিয়ে নিচের প্রশ্নের উত্তর দিন যদি প্রথম দুটি উত্তরের কোনোটিই প্রযোজ্য না হয়। + + প্রশ্ন: {{question_text}} + + বিষয়: {{document_title}} + + প্রবন্ধ: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_read_and_answer_bnmt + reference: '' + ab8d49a0-8b9e-42e7-b6b4-cf22becb8b93: !Template + answer_choices: হ্যাঁ ||| না + id: ab8d49a0-8b9e-42e7-b6b4-cf22becb8b93 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\n{{document_title}} সম্পর্কে প্রশ্নের উত্তর দিন। {{question_text}}\n\ + |||\n{{annotations.yes_no_answer[0] | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_without_choices_bnmt + reference: '' + ba9edeba-7e8a-4fb5-8d30-e38e661a2d8a: !Template + answer_choices: হ্যাঁ ||| না ||| কোনোটিই নয় + id: ba9edeba-7e8a-4fb5-8d30-e38e661a2d8a + jinja: 'আমি অবাক হই {{question_text}} + + এই প্রশ্নের উত্তর দিতে আমাকে "{{answer_choices[0]}}" বা "{{answer_choices[1]}}" + বা "{{answer_choices[2]}}" দিয়ে সাহায্য করুন যদি প্রথম দুটি উত্তরের কোনোটিই + প্রযোজ্য না হয়। + + আমি ইন্টারনেটে যা পেয়েছি তা এখানে: + + বিষয়: {{document_title}} + + প্রবন্ধ: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_heres_what_I_found_bnmt + reference: '' + dc88d5ed-c6bd-471a-8e09-9744e4ee33c7: !Template + answer_choices: হ্যাঁ ||| না + id: dc88d5ed-c6bd-471a-8e09-9744e4ee33c7 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\n{{document_title}} সম্পর্কে প্রশ্নের উত্তর দিন।\nপ্রশ্ন: {{question_text}}।\ + \ হ্যাঁ বা না?\n|||\n{{annotations.yes_no_answer[0] | capitalize}}\n {% endif\ + \ %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_bnmt + reference: '' + e47b0734-2b6e-4e5e-8fb9-3c006d0ac27e: !Template + answer_choices: হ্যাঁ ||| না + id: e47b0734-2b6e-4e5e-8fb9-3c006d0ac27e + jinja: 'আমি ভাবছি {{question_text}} + + + আপনি কি আমাকে এটির উত্তর দেওয়ার জন্য কিছু প্রসঙ্গ পেতে পারেন (আমার প্রশ্নের + মতো একই ভাষায়)? ||| {{document_plaintext[:10000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_bnmt + reference: '' + f7d065e9-aca1-4efc-acc9-1096477d1443: !Template + answer_choices: হ্যাঁ ||| না + id: f7d065e9-aca1-4efc-acc9-1096477d1443 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nনিম্নলিখিত পাঠ্য স্নিপেটের উপর ভিত্তি করে, {{question_text}}\n\ + {{document_plaintext}}\n|||\n{{annotations.yes_no_answer[0] | capitalize}}\n\ + \ {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_based_on_the_text_bnmt + reference: '' diff --git a/promptsource/templates/khalidalt/tydiqa-primary/swahili/templates.yaml b/promptsource/templates/khalidalt/tydiqa-primary/swahili/templates.yaml new file mode 100644 index 000000000..bc97dc817 --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-primary/swahili/templates.yaml @@ -0,0 +1,176 @@ +dataset: khalidalt/tydiqa-primary +subset: swahili +templates: + 0bd27bcb-deee-4b8d-8611-d32f04dbd88e: !Template + answer_choices: Ndiyo ||| Hapana + id: 0bd27bcb-deee-4b8d-8611-d32f04dbd88e + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nKulingana na kijisehemu cha maandishi kifuatacho, {{question_text}}\n\ + {{document_plaintext}}\n|||\n{{annotations.yes_no_answer[0] | capitalize}}\n\ + \ {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_based_on_the_text_swmt + reference: '' + 0f043e64-fa7a-40df-9a9b-995b04c9a352: !Template + answer_choices: Ndiyo ||| Hapana + id: 0f043e64-fa7a-40df-9a9b-995b04c9a352 + jinja: Je, unakumbuka tulipokuwa tunasoma {{document_url}} juzi? Ilianza kama + document_plaintext[:100].. Je, unaweza kuiendeleza hadi herufi nyingine 1000? + ||| {{document_plaintext[100:1100]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_swmt + reference: '' + 12da5770-bac9-4af3-9be6-018c3fb8f00d: !Template + answer_choices: Ndiyo ||| Hapana + id: 12da5770-bac9-4af3-9be6-018c3fb8f00d + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nJibu swali kuhusu {{document_title}}. {{question_text}}\n|||\n\ + {{annotations.yes_no_answer[0] | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_without_choices_swmt + reference: '' + 3917e5b0-1c44-4794-8ec2-4a2b96bf5ce2: !Template + answer_choices: Ndiyo ||| Hapana ||| Hakuna + id: 3917e5b0-1c44-4794-8ec2-4a2b96bf5ce2 + jinja: 'Nashangaa {{question_text}}. + + Nisaidie kujibu swali hili kwa "{{answer_choices[0]}}" au "{{answer_choices[1]}}" + au "{{answer_choices[2]}}" ikiwa hakuna jibu kati ya mawili ya kwanza litatumika. + + Hivi ndivyo nilivyopata kwenye mtandao: + + Mada: {{document_title}} + + Kifungu: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_heres_what_I_found_swmt + reference: '' + 5eab2f36-d538-4087-82e7-df97cf8833e6: !Template + answer_choices: Ndiyo ||| Hapana ||| Hakuna + id: 5eab2f36-d538-4087-82e7-df97cf8833e6 + jinja: 'Swali: {{question_text}} + + Jibu swali kwa {{"Yes"}} au {{"No"}}. Ikiwa haiwezekani basi jibu {{"None"}}. + + Kidokezo: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_none_swmt + reference: '' + b8094ffd-8aae-4be8-9514-4e3a2914d296: !Template + answer_choices: Ndiyo ||| Hapana + id: b8094ffd-8aae-4be8-9514-4e3a2914d296 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nJibu swali kuhusu {{document_title}}.\nSwali: {{question_text}}.\ + \ Ndiyo au Hapana?\n|||\n{{annotations.yes_no_answer[0] | capitalize}}\n \ + \ {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_swmt + reference: '' + d33c324d-af8b-46c0-973f-153596c5fadf: !Template + answer_choices: Ndiyo ||| Hapana + id: d33c324d-af8b-46c0-973f-153596c5fadf + jinja: '{{question_text}} + + Je, hili ni swali la "Ndiyo/Hapana"? + + ||| + + {% if annotations. yes_no_answer[0] == "NONE" %} + + Hapana + + {% else %} + + Ndiyo + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_question_swmt + reference: '' + db3fdeeb-26f8-477e-83cd-6fb76afcbc09: !Template + answer_choices: Ndiyo ||| Hapana ||| Hakuna + id: db3fdeeb-26f8-477e-83cd-6fb76afcbc09 + jinja: 'Jibu swali lifuatalo kwa kutumia "{{answer_choices[0]}}" au "{{answer_choices[1]}}" + au "{{answer_choices[2]}}" ikiwa hakuna jibu kati ya mawili ya kwanza litatumika. + + Swali: {{question_text}} + + Mada: {{document_title}} + + Kifungu: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_read_and_answer_swmt + reference: '' + db707593-8f1c-4370-bab2-225a9a667c39: !Template + answer_choices: Ndiyo ||| Hapana + id: db707593-8f1c-4370-bab2-225a9a667c39 + jinja: 'Nashangaa {{question_text}} + + + Unaweza kunipatia muktadha wa kujibu hili (kwa lugha sawa na swali langu)? ||| + {{document_plaintext[:10000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_swmt + reference: '' + f05bc19e-0991-45e2-8137-694890a21ac2: !Template + answer_choices: Ndiyo ||| Hapana + id: f05bc19e-0991-45e2-8137-694890a21ac2 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nBaada ya kusoma kijisehemu kifuatacho kutoka Wikipedia, tafadhali\ + \ jibu swali: {{question_text}}\n{{document_plaintext}}\n|||\n{{annotations.yes_no_answer[0]\ + \ | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_after_reading_the_text_swmt + reference: '' diff --git a/promptsource/templates/khalidalt/tydiqa-primary/telugu/templates.yaml b/promptsource/templates/khalidalt/tydiqa-primary/telugu/templates.yaml new file mode 100644 index 000000000..3a80fe8a1 --- /dev/null +++ b/promptsource/templates/khalidalt/tydiqa-primary/telugu/templates.yaml @@ -0,0 +1,175 @@ +dataset: khalidalt/tydiqa-primary +subset: telugu +templates: + 11b13a68-a182-4890-822a-ef8b5a709640: !Template + answer_choices: అవును ||| సంఖ్య ||| ఏదీ లేదు + id: 11b13a68-a182-4890-822a-ef8b5a709640 + jinja: 'నేను {{question_text}} ఆశ్చర్యపోతున్నాను. + + మొదటి రెండు సమాధానాలలో ఏదీ వర్తించకపోతే "{{answer_choices[0]}}" లేదా "{{answer_choices[1]}}" + లేదా "{{answer_choices[2]}}"తో ఈ ప్రశ్నకు సమాధానం ఇవ్వడానికి నాకు సహాయం చేయండి. + + నేను ఇంటర్నెట్‌లో కనుగొన్నది ఇక్కడ ఉంది: + + అంశం: {{document_title}} + + వ్యాసం: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_heres_what_I_found_temt + reference: '' + 12f2defb-ad78-4636-9031-b4dd7c18c2e3: !Template + answer_choices: అవును ||| నం + id: 12f2defb-ad78-4636-9031-b4dd7c18c2e3 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nకింది వచన స్నిప్పెట్ ఆధారంగా, {{question_text}}\n{{document_plaintext}}\n\ + |||\n{{annotations.yes_no_answer[0] | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_based_on_the_text_temt + reference: '' + 1ef8a355-29ef-45f3-9b1a-f5376a4c7214: !Template + answer_choices: అవును ||| నం + id: 1ef8a355-29ef-45f3-9b1a-f5376a4c7214 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\n{{document_title}} గురించిన ప్రశ్నకు సమాధానం ఇవ్వండి. {{question_text}}\n\ + |||\n{{annotations.yes_no_answer[0] | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_without_choices_temt + reference: '' + 27b7dffe-fbb5-467c-ae36-1759291625cb: !Template + answer_choices: అవును ||| నం ||| ఏదీ లేదు + id: 27b7dffe-fbb5-467c-ae36-1759291625cb + jinja: 'మొదటి రెండు సమాధానాలలో ఏదీ వర్తించకపోతే "{{answer_choices[0]}}" లేదా "{{answer_choices[1]}}" + లేదా "{{answer_choices[2]}}"తో క్రింది ప్రశ్నకు సమాధానం ఇవ్వండి. + + ప్రశ్న: {{question_text}} + + అంశం: {{document_title}} + + వ్యాసం: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_read_and_answer_temt + reference: '' + 30b36649-de11-4862-a9ea-6c8293244702: !Template + answer_choices: అవును ||| సంఖ్య + id: 30b36649-de11-4862-a9ea-6c8293244702 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\n{{document_title}} గురించిన ప్రశ్నకు సమాధానం ఇవ్వండి.\nప్రశ్న:\ + \ {{question_text}}. అవును లేదా కాదు?\n|||\n{{annotations.yes_no_answer[0] |\ + \ capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_open_domain_qa_temt + reference: '' + 70d4f606-e601-498a-99b6-5d8aaa15b4e0: !Template + answer_choices: అవును ||| నం ||| ఏదీ లేదు + id: 70d4f606-e601-498a-99b6-5d8aaa15b4e0 + jinja: 'ప్రశ్న: {{question_text}} + + ప్రశ్నకు {{"Yes"}} లేదా {{"No"}}తో సమాధానం ఇవ్వండి. అది సాధ్యం కాకపోతే {{"No"}} + అని సమాధానం ఇవ్వండి. + + సూచన: {{document_plaintext}} + + ||| + + {{annotations.yes_no_answer[0] | capitalize}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_none_temt + reference: '' + 7d8a5d3f-3fd8-465b-ac84-2ceeb587bfe9: !Template + answer_choices: అవును ||| సంఖ్య + id: 7d8a5d3f-3fd8-465b-ac84-2ceeb587bfe9 + jinja: "{% if annotations.yes_no_answer[0] == \"YES\" or annotations.yes_no_answer[0]\ + \ == \"NO\" %}\nవికీపీడియా నుండి క్రింది టెక్స్ట్ స్నిప్పెట్ చదివిన తర్వాత,\ + \ దయచేసి ప్రశ్నకు సమాధానం ఇవ్వండి: {{question_text}}\n{{document_plaintext}}\n\ + |||\n{{annotations.yes_no_answer[0] | capitalize}}\n {% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_after_reading_the_text_temt + reference: '' + 87f9c2ad-20a2-4e4d-8657-e587ffbac1db: !Template + answer_choices: అవును ||| నం + id: 87f9c2ad-20a2-4e4d-8657-e587ffbac1db + jinja: '{{question_text}} + + ఇది "అవును/కాదు" ప్రశ్నా? + + ||| + + ఉల్లేఖనాలు ఉంటే {% if annotations. yes_no_answer[0] == "NONE" %} + + నం + + {% else %} + + అవును + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: en_yes_no_question_temt + reference: '' + c4bc4369-59ba-4f75-952d-667a4909de3f: !Template + answer_choices: అవును ||| సంఖ్య + id: c4bc4369-59ba-4f75-952d-667a4909de3f + jinja: మేము మరుసటి రోజు {{document_url}} చదివినప్పుడు మీకు గుర్తుందా? ఇది document_plaintext[:100] + లాగా ప్రారంభమైంది.. మీరు దీన్ని మరో 1000 అక్షరాల వరకు కొనసాగించగలరా? ||| {{document_plaintext[100:1100]}} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_temt + reference: '' + c4c1d642-3761-42d9-b4f6-f4c2ab232104: !Template + answer_choices: అవును ||| నం + id: c4c1d642-3761-42d9-b4f6-f4c2ab232104 + jinja: 'నేను ఆశ్చర్యపోతున్నాను {{question_text}} + + + దీనికి (నా ప్రశ్న ఉన్న భాషలోనే) సమాధానం ఇవ్వడానికి మీరు నాకు కొంత సందర్భాన్ని + అందించగలరా? ||| {{document_plaintext[:10000]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_temt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.ar.ar/templates.yaml b/promptsource/templates/mlqa/mlqa.ar.ar/templates.yaml new file mode 100644 index 000000000..640400f12 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.ar.ar/templates.yaml @@ -0,0 +1,128 @@ +dataset: mlqa +subset: mlqa.ar.ar +templates: + 29ae5437-87dd-4d1c-b8db-5597182d067c: !Template + answer_choices: '' + id: 29ae5437-87dd-4d1c-b8db-5597182d067c + jinja: "السؤال: {{question}}\n السياق: {{context}}\n إجابة من السياق: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_armt + reference: '' + 3b5aeb53-55a8-4b97-91de-00c6621400bf: !Template + answer_choices: '' + id: 3b5aeb53-55a8-4b97-91de-00c6621400bf + jinja: '{{context}} + + + بالإشارة إلى السياق أعلاه ، {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_armt + reference: '' + 558d3761-8ac3-4986-bf5a-446784221a08: !Template + answer_choices: '' + id: 558d3761-8ac3-4986-bf5a-446784221a08 + jinja: 'د: {{context}} + + + س: {{question}} + + + ج: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_armt + reference: '' + 77ab627e-03a5-4740-bb04-f9ee2ddf457d: !Template + answer_choices: '' + id: 77ab627e-03a5-4740-bb04-f9ee2ddf457d + jinja: 'اقرأ المقطع التالي ثم أجب عن السؤال التالي باستخراج الجزء الصحيح من المقطع: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_armt + reference: '' + 92ff6957-254c-427d-9a8b-564a2dfab9d7: !Template + answer_choices: '' + id: 92ff6957-254c-427d-9a8b-564a2dfab9d7 + jinja: 'راجع المقطع أدناه ثم أجب على السؤال بعد ذلك بنفس لغة المقطع: + + + الممر: {{context}} + + + السؤال: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_armt + reference: '' + cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9: !Template + answer_choices: '' + id: cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9 + jinja: '{{ context[:answers.answer_start[0]-5]}} ... تابع ما ورد أعلاه ، بحيث + يجيب "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + d77cf230-0428-4231-8dd4-035aa6f117e8: !Template + answer_choices: '' + id: d77cf230-0428-4231-8dd4-035aa6f117e8 + jinja: 'لقد وجدت نصًا يجيب عن "{{question}}" بـ {{answers.text[0]}}. يبدأ بـ "{{ + context[:10] }}". هل يمكنك الاستمرار في ذلك؟ + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_armt + reference: '' + fd97cc22-e1b0-4e20-95c8-b09579421ef1: !Template + answer_choices: '' + id: fd97cc22-e1b0-4e20-95c8-b09579421ef1 + jinja: '{{context}} + + س: {{question}} + + بالإشارة إلى الفقرة أعلاه ، فإن الإجابة الصحيحة على السؤال المحدد بلغة المقطع + هي ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_armt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.ar.en/templates.yaml b/promptsource/templates/mlqa/mlqa.ar.en/templates.yaml new file mode 100644 index 000000000..640400f12 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.ar.en/templates.yaml @@ -0,0 +1,128 @@ +dataset: mlqa +subset: mlqa.ar.ar +templates: + 29ae5437-87dd-4d1c-b8db-5597182d067c: !Template + answer_choices: '' + id: 29ae5437-87dd-4d1c-b8db-5597182d067c + jinja: "السؤال: {{question}}\n السياق: {{context}}\n إجابة من السياق: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_armt + reference: '' + 3b5aeb53-55a8-4b97-91de-00c6621400bf: !Template + answer_choices: '' + id: 3b5aeb53-55a8-4b97-91de-00c6621400bf + jinja: '{{context}} + + + بالإشارة إلى السياق أعلاه ، {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_armt + reference: '' + 558d3761-8ac3-4986-bf5a-446784221a08: !Template + answer_choices: '' + id: 558d3761-8ac3-4986-bf5a-446784221a08 + jinja: 'د: {{context}} + + + س: {{question}} + + + ج: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_armt + reference: '' + 77ab627e-03a5-4740-bb04-f9ee2ddf457d: !Template + answer_choices: '' + id: 77ab627e-03a5-4740-bb04-f9ee2ddf457d + jinja: 'اقرأ المقطع التالي ثم أجب عن السؤال التالي باستخراج الجزء الصحيح من المقطع: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_armt + reference: '' + 92ff6957-254c-427d-9a8b-564a2dfab9d7: !Template + answer_choices: '' + id: 92ff6957-254c-427d-9a8b-564a2dfab9d7 + jinja: 'راجع المقطع أدناه ثم أجب على السؤال بعد ذلك بنفس لغة المقطع: + + + الممر: {{context}} + + + السؤال: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_armt + reference: '' + cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9: !Template + answer_choices: '' + id: cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9 + jinja: '{{ context[:answers.answer_start[0]-5]}} ... تابع ما ورد أعلاه ، بحيث + يجيب "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + d77cf230-0428-4231-8dd4-035aa6f117e8: !Template + answer_choices: '' + id: d77cf230-0428-4231-8dd4-035aa6f117e8 + jinja: 'لقد وجدت نصًا يجيب عن "{{question}}" بـ {{answers.text[0]}}. يبدأ بـ "{{ + context[:10] }}". هل يمكنك الاستمرار في ذلك؟ + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_armt + reference: '' + fd97cc22-e1b0-4e20-95c8-b09579421ef1: !Template + answer_choices: '' + id: fd97cc22-e1b0-4e20-95c8-b09579421ef1 + jinja: '{{context}} + + س: {{question}} + + بالإشارة إلى الفقرة أعلاه ، فإن الإجابة الصحيحة على السؤال المحدد بلغة المقطع + هي ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_armt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.ar.es/templates.yaml b/promptsource/templates/mlqa/mlqa.ar.es/templates.yaml new file mode 100644 index 000000000..640400f12 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.ar.es/templates.yaml @@ -0,0 +1,128 @@ +dataset: mlqa +subset: mlqa.ar.ar +templates: + 29ae5437-87dd-4d1c-b8db-5597182d067c: !Template + answer_choices: '' + id: 29ae5437-87dd-4d1c-b8db-5597182d067c + jinja: "السؤال: {{question}}\n السياق: {{context}}\n إجابة من السياق: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_armt + reference: '' + 3b5aeb53-55a8-4b97-91de-00c6621400bf: !Template + answer_choices: '' + id: 3b5aeb53-55a8-4b97-91de-00c6621400bf + jinja: '{{context}} + + + بالإشارة إلى السياق أعلاه ، {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_armt + reference: '' + 558d3761-8ac3-4986-bf5a-446784221a08: !Template + answer_choices: '' + id: 558d3761-8ac3-4986-bf5a-446784221a08 + jinja: 'د: {{context}} + + + س: {{question}} + + + ج: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_armt + reference: '' + 77ab627e-03a5-4740-bb04-f9ee2ddf457d: !Template + answer_choices: '' + id: 77ab627e-03a5-4740-bb04-f9ee2ddf457d + jinja: 'اقرأ المقطع التالي ثم أجب عن السؤال التالي باستخراج الجزء الصحيح من المقطع: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_armt + reference: '' + 92ff6957-254c-427d-9a8b-564a2dfab9d7: !Template + answer_choices: '' + id: 92ff6957-254c-427d-9a8b-564a2dfab9d7 + jinja: 'راجع المقطع أدناه ثم أجب على السؤال بعد ذلك بنفس لغة المقطع: + + + الممر: {{context}} + + + السؤال: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_armt + reference: '' + cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9: !Template + answer_choices: '' + id: cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9 + jinja: '{{ context[:answers.answer_start[0]-5]}} ... تابع ما ورد أعلاه ، بحيث + يجيب "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + d77cf230-0428-4231-8dd4-035aa6f117e8: !Template + answer_choices: '' + id: d77cf230-0428-4231-8dd4-035aa6f117e8 + jinja: 'لقد وجدت نصًا يجيب عن "{{question}}" بـ {{answers.text[0]}}. يبدأ بـ "{{ + context[:10] }}". هل يمكنك الاستمرار في ذلك؟ + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_armt + reference: '' + fd97cc22-e1b0-4e20-95c8-b09579421ef1: !Template + answer_choices: '' + id: fd97cc22-e1b0-4e20-95c8-b09579421ef1 + jinja: '{{context}} + + س: {{question}} + + بالإشارة إلى الفقرة أعلاه ، فإن الإجابة الصحيحة على السؤال المحدد بلغة المقطع + هي ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_armt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.ar.hi/templates.yaml b/promptsource/templates/mlqa/mlqa.ar.hi/templates.yaml new file mode 100644 index 000000000..640400f12 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.ar.hi/templates.yaml @@ -0,0 +1,128 @@ +dataset: mlqa +subset: mlqa.ar.ar +templates: + 29ae5437-87dd-4d1c-b8db-5597182d067c: !Template + answer_choices: '' + id: 29ae5437-87dd-4d1c-b8db-5597182d067c + jinja: "السؤال: {{question}}\n السياق: {{context}}\n إجابة من السياق: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_armt + reference: '' + 3b5aeb53-55a8-4b97-91de-00c6621400bf: !Template + answer_choices: '' + id: 3b5aeb53-55a8-4b97-91de-00c6621400bf + jinja: '{{context}} + + + بالإشارة إلى السياق أعلاه ، {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_armt + reference: '' + 558d3761-8ac3-4986-bf5a-446784221a08: !Template + answer_choices: '' + id: 558d3761-8ac3-4986-bf5a-446784221a08 + jinja: 'د: {{context}} + + + س: {{question}} + + + ج: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_armt + reference: '' + 77ab627e-03a5-4740-bb04-f9ee2ddf457d: !Template + answer_choices: '' + id: 77ab627e-03a5-4740-bb04-f9ee2ddf457d + jinja: 'اقرأ المقطع التالي ثم أجب عن السؤال التالي باستخراج الجزء الصحيح من المقطع: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_armt + reference: '' + 92ff6957-254c-427d-9a8b-564a2dfab9d7: !Template + answer_choices: '' + id: 92ff6957-254c-427d-9a8b-564a2dfab9d7 + jinja: 'راجع المقطع أدناه ثم أجب على السؤال بعد ذلك بنفس لغة المقطع: + + + الممر: {{context}} + + + السؤال: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_armt + reference: '' + cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9: !Template + answer_choices: '' + id: cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9 + jinja: '{{ context[:answers.answer_start[0]-5]}} ... تابع ما ورد أعلاه ، بحيث + يجيب "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + d77cf230-0428-4231-8dd4-035aa6f117e8: !Template + answer_choices: '' + id: d77cf230-0428-4231-8dd4-035aa6f117e8 + jinja: 'لقد وجدت نصًا يجيب عن "{{question}}" بـ {{answers.text[0]}}. يبدأ بـ "{{ + context[:10] }}". هل يمكنك الاستمرار في ذلك؟ + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_armt + reference: '' + fd97cc22-e1b0-4e20-95c8-b09579421ef1: !Template + answer_choices: '' + id: fd97cc22-e1b0-4e20-95c8-b09579421ef1 + jinja: '{{context}} + + س: {{question}} + + بالإشارة إلى الفقرة أعلاه ، فإن الإجابة الصحيحة على السؤال المحدد بلغة المقطع + هي ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_armt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.ar.vi/templates.yaml b/promptsource/templates/mlqa/mlqa.ar.vi/templates.yaml new file mode 100644 index 000000000..640400f12 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.ar.vi/templates.yaml @@ -0,0 +1,128 @@ +dataset: mlqa +subset: mlqa.ar.ar +templates: + 29ae5437-87dd-4d1c-b8db-5597182d067c: !Template + answer_choices: '' + id: 29ae5437-87dd-4d1c-b8db-5597182d067c + jinja: "السؤال: {{question}}\n السياق: {{context}}\n إجابة من السياق: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_armt + reference: '' + 3b5aeb53-55a8-4b97-91de-00c6621400bf: !Template + answer_choices: '' + id: 3b5aeb53-55a8-4b97-91de-00c6621400bf + jinja: '{{context}} + + + بالإشارة إلى السياق أعلاه ، {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_armt + reference: '' + 558d3761-8ac3-4986-bf5a-446784221a08: !Template + answer_choices: '' + id: 558d3761-8ac3-4986-bf5a-446784221a08 + jinja: 'د: {{context}} + + + س: {{question}} + + + ج: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_armt + reference: '' + 77ab627e-03a5-4740-bb04-f9ee2ddf457d: !Template + answer_choices: '' + id: 77ab627e-03a5-4740-bb04-f9ee2ddf457d + jinja: 'اقرأ المقطع التالي ثم أجب عن السؤال التالي باستخراج الجزء الصحيح من المقطع: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_armt + reference: '' + 92ff6957-254c-427d-9a8b-564a2dfab9d7: !Template + answer_choices: '' + id: 92ff6957-254c-427d-9a8b-564a2dfab9d7 + jinja: 'راجع المقطع أدناه ثم أجب على السؤال بعد ذلك بنفس لغة المقطع: + + + الممر: {{context}} + + + السؤال: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_armt + reference: '' + cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9: !Template + answer_choices: '' + id: cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9 + jinja: '{{ context[:answers.answer_start[0]-5]}} ... تابع ما ورد أعلاه ، بحيث + يجيب "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + d77cf230-0428-4231-8dd4-035aa6f117e8: !Template + answer_choices: '' + id: d77cf230-0428-4231-8dd4-035aa6f117e8 + jinja: 'لقد وجدت نصًا يجيب عن "{{question}}" بـ {{answers.text[0]}}. يبدأ بـ "{{ + context[:10] }}". هل يمكنك الاستمرار في ذلك؟ + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_armt + reference: '' + fd97cc22-e1b0-4e20-95c8-b09579421ef1: !Template + answer_choices: '' + id: fd97cc22-e1b0-4e20-95c8-b09579421ef1 + jinja: '{{context}} + + س: {{question}} + + بالإشارة إلى الفقرة أعلاه ، فإن الإجابة الصحيحة على السؤال المحدد بلغة المقطع + هي ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_armt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.ar.zh/templates.yaml b/promptsource/templates/mlqa/mlqa.ar.zh/templates.yaml new file mode 100644 index 000000000..640400f12 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.ar.zh/templates.yaml @@ -0,0 +1,128 @@ +dataset: mlqa +subset: mlqa.ar.ar +templates: + 29ae5437-87dd-4d1c-b8db-5597182d067c: !Template + answer_choices: '' + id: 29ae5437-87dd-4d1c-b8db-5597182d067c + jinja: "السؤال: {{question}}\n السياق: {{context}}\n إجابة من السياق: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_armt + reference: '' + 3b5aeb53-55a8-4b97-91de-00c6621400bf: !Template + answer_choices: '' + id: 3b5aeb53-55a8-4b97-91de-00c6621400bf + jinja: '{{context}} + + + بالإشارة إلى السياق أعلاه ، {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_armt + reference: '' + 558d3761-8ac3-4986-bf5a-446784221a08: !Template + answer_choices: '' + id: 558d3761-8ac3-4986-bf5a-446784221a08 + jinja: 'د: {{context}} + + + س: {{question}} + + + ج: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_armt + reference: '' + 77ab627e-03a5-4740-bb04-f9ee2ddf457d: !Template + answer_choices: '' + id: 77ab627e-03a5-4740-bb04-f9ee2ddf457d + jinja: 'اقرأ المقطع التالي ثم أجب عن السؤال التالي باستخراج الجزء الصحيح من المقطع: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_armt + reference: '' + 92ff6957-254c-427d-9a8b-564a2dfab9d7: !Template + answer_choices: '' + id: 92ff6957-254c-427d-9a8b-564a2dfab9d7 + jinja: 'راجع المقطع أدناه ثم أجب على السؤال بعد ذلك بنفس لغة المقطع: + + + الممر: {{context}} + + + السؤال: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_armt + reference: '' + cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9: !Template + answer_choices: '' + id: cba29cf2-fc46-4fd4-8c1b-b5eed204ecb9 + jinja: '{{ context[:answers.answer_start[0]-5]}} ... تابع ما ورد أعلاه ، بحيث + يجيب "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_armt + reference: '' + d77cf230-0428-4231-8dd4-035aa6f117e8: !Template + answer_choices: '' + id: d77cf230-0428-4231-8dd4-035aa6f117e8 + jinja: 'لقد وجدت نصًا يجيب عن "{{question}}" بـ {{answers.text[0]}}. يبدأ بـ "{{ + context[:10] }}". هل يمكنك الاستمرار في ذلك؟ + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_armt + reference: '' + fd97cc22-e1b0-4e20-95c8-b09579421ef1: !Template + answer_choices: '' + id: fd97cc22-e1b0-4e20-95c8-b09579421ef1 + jinja: '{{context}} + + س: {{question}} + + بالإشارة إلى الفقرة أعلاه ، فإن الإجابة الصحيحة على السؤال المحدد بلغة المقطع + هي ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_armt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.es.ar/templates.yaml b/promptsource/templates/mlqa/mlqa.es.ar/templates.yaml new file mode 100644 index 000000000..e7aac133e --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.es.ar/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.es.es +templates: + 022c1e32-6bfb-4236-af1a-05c827fc452f: !Template + answer_choices: '' + id: 022c1e32-6bfb-4236-af1a-05c827fc452f + jinja: '{{ context[:answers.answer_start[0]-5]}}... Continúe con lo anterior, + de modo que responda "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_esmt + reference: '' + 083a16fa-f0ef-4dfb-901b-b596e34bf22a: !Template + answer_choices: '' + id: 083a16fa-f0ef-4dfb-901b-b596e34bf22a + jinja: 'D: {{context}} + + + P: {{question}} + + + R: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_esmt + reference: '' + 39582ba1-c714-45e0-a4fa-f04b70c94afc: !Template + answer_choices: '' + id: 39582ba1-c714-45e0-a4fa-f04b70c94afc + jinja: 'Lea el siguiente pasaje y luego responda la pregunta que sigue extrayendo + la parte correcta del pasaje: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_esmt + reference: '' + 7be8b3e2-a11b-47e4-bc3f-93855246c3c6: !Template + answer_choices: '' + id: 7be8b3e2-a11b-47e4-bc3f-93855246c3c6 + jinja: 'Consulte el pasaje a continuación y luego responda la pregunta en el mismo + idioma que el pasaje: + + + Pasaje: {{context}} + + + Pregunta: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_esmt + reference: '' + a30143c0-9a06-4d3c-9c07-dae54fe3e1cd: !Template + answer_choices: '' + id: a30143c0-9a06-4d3c-9c07-dae54fe3e1cd + jinja: 'Encontré un texto que responde "{{question}}" con {{answers.text[0]}}. + Comienza con "{{ context[:10] }}". ¿Puedes continuarlo? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_esmt + reference: '' + d5ae02c8-835c-4308-9ccc-729d1e78b4ac: !Template + answer_choices: '' + id: d5ae02c8-835c-4308-9ccc-729d1e78b4ac + jinja: '{{context}} + + P: {{question}} + + Haciendo referencia al pasaje anterior, la respuesta correcta a la pregunta + dada en el idioma del pasaje es ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_esmt + reference: '' + dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0: !Template + answer_choices: '' + id: dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0 + jinja: '{{context}} + + + Con referencia al contexto anterior, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_esmt + reference: '' + f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14: !Template + answer_choices: '' + id: f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14 + jinja: "Pregunta: {{question}}\n Contexto: {{context}}\n Respuesta del contexto:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_esmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.es.en/templates.yaml b/promptsource/templates/mlqa/mlqa.es.en/templates.yaml new file mode 100644 index 000000000..e7aac133e --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.es.en/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.es.es +templates: + 022c1e32-6bfb-4236-af1a-05c827fc452f: !Template + answer_choices: '' + id: 022c1e32-6bfb-4236-af1a-05c827fc452f + jinja: '{{ context[:answers.answer_start[0]-5]}}... Continúe con lo anterior, + de modo que responda "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_esmt + reference: '' + 083a16fa-f0ef-4dfb-901b-b596e34bf22a: !Template + answer_choices: '' + id: 083a16fa-f0ef-4dfb-901b-b596e34bf22a + jinja: 'D: {{context}} + + + P: {{question}} + + + R: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_esmt + reference: '' + 39582ba1-c714-45e0-a4fa-f04b70c94afc: !Template + answer_choices: '' + id: 39582ba1-c714-45e0-a4fa-f04b70c94afc + jinja: 'Lea el siguiente pasaje y luego responda la pregunta que sigue extrayendo + la parte correcta del pasaje: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_esmt + reference: '' + 7be8b3e2-a11b-47e4-bc3f-93855246c3c6: !Template + answer_choices: '' + id: 7be8b3e2-a11b-47e4-bc3f-93855246c3c6 + jinja: 'Consulte el pasaje a continuación y luego responda la pregunta en el mismo + idioma que el pasaje: + + + Pasaje: {{context}} + + + Pregunta: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_esmt + reference: '' + a30143c0-9a06-4d3c-9c07-dae54fe3e1cd: !Template + answer_choices: '' + id: a30143c0-9a06-4d3c-9c07-dae54fe3e1cd + jinja: 'Encontré un texto que responde "{{question}}" con {{answers.text[0]}}. + Comienza con "{{ context[:10] }}". ¿Puedes continuarlo? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_esmt + reference: '' + d5ae02c8-835c-4308-9ccc-729d1e78b4ac: !Template + answer_choices: '' + id: d5ae02c8-835c-4308-9ccc-729d1e78b4ac + jinja: '{{context}} + + P: {{question}} + + Haciendo referencia al pasaje anterior, la respuesta correcta a la pregunta + dada en el idioma del pasaje es ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_esmt + reference: '' + dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0: !Template + answer_choices: '' + id: dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0 + jinja: '{{context}} + + + Con referencia al contexto anterior, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_esmt + reference: '' + f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14: !Template + answer_choices: '' + id: f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14 + jinja: "Pregunta: {{question}}\n Contexto: {{context}}\n Respuesta del contexto:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_esmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.es.es/templates.yaml b/promptsource/templates/mlqa/mlqa.es.es/templates.yaml new file mode 100644 index 000000000..e7aac133e --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.es.es/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.es.es +templates: + 022c1e32-6bfb-4236-af1a-05c827fc452f: !Template + answer_choices: '' + id: 022c1e32-6bfb-4236-af1a-05c827fc452f + jinja: '{{ context[:answers.answer_start[0]-5]}}... Continúe con lo anterior, + de modo que responda "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_esmt + reference: '' + 083a16fa-f0ef-4dfb-901b-b596e34bf22a: !Template + answer_choices: '' + id: 083a16fa-f0ef-4dfb-901b-b596e34bf22a + jinja: 'D: {{context}} + + + P: {{question}} + + + R: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_esmt + reference: '' + 39582ba1-c714-45e0-a4fa-f04b70c94afc: !Template + answer_choices: '' + id: 39582ba1-c714-45e0-a4fa-f04b70c94afc + jinja: 'Lea el siguiente pasaje y luego responda la pregunta que sigue extrayendo + la parte correcta del pasaje: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_esmt + reference: '' + 7be8b3e2-a11b-47e4-bc3f-93855246c3c6: !Template + answer_choices: '' + id: 7be8b3e2-a11b-47e4-bc3f-93855246c3c6 + jinja: 'Consulte el pasaje a continuación y luego responda la pregunta en el mismo + idioma que el pasaje: + + + Pasaje: {{context}} + + + Pregunta: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_esmt + reference: '' + a30143c0-9a06-4d3c-9c07-dae54fe3e1cd: !Template + answer_choices: '' + id: a30143c0-9a06-4d3c-9c07-dae54fe3e1cd + jinja: 'Encontré un texto que responde "{{question}}" con {{answers.text[0]}}. + Comienza con "{{ context[:10] }}". ¿Puedes continuarlo? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_esmt + reference: '' + d5ae02c8-835c-4308-9ccc-729d1e78b4ac: !Template + answer_choices: '' + id: d5ae02c8-835c-4308-9ccc-729d1e78b4ac + jinja: '{{context}} + + P: {{question}} + + Haciendo referencia al pasaje anterior, la respuesta correcta a la pregunta + dada en el idioma del pasaje es ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_esmt + reference: '' + dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0: !Template + answer_choices: '' + id: dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0 + jinja: '{{context}} + + + Con referencia al contexto anterior, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_esmt + reference: '' + f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14: !Template + answer_choices: '' + id: f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14 + jinja: "Pregunta: {{question}}\n Contexto: {{context}}\n Respuesta del contexto:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_esmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.es.hi/templates.yaml b/promptsource/templates/mlqa/mlqa.es.hi/templates.yaml new file mode 100644 index 000000000..e7aac133e --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.es.hi/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.es.es +templates: + 022c1e32-6bfb-4236-af1a-05c827fc452f: !Template + answer_choices: '' + id: 022c1e32-6bfb-4236-af1a-05c827fc452f + jinja: '{{ context[:answers.answer_start[0]-5]}}... Continúe con lo anterior, + de modo que responda "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_esmt + reference: '' + 083a16fa-f0ef-4dfb-901b-b596e34bf22a: !Template + answer_choices: '' + id: 083a16fa-f0ef-4dfb-901b-b596e34bf22a + jinja: 'D: {{context}} + + + P: {{question}} + + + R: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_esmt + reference: '' + 39582ba1-c714-45e0-a4fa-f04b70c94afc: !Template + answer_choices: '' + id: 39582ba1-c714-45e0-a4fa-f04b70c94afc + jinja: 'Lea el siguiente pasaje y luego responda la pregunta que sigue extrayendo + la parte correcta del pasaje: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_esmt + reference: '' + 7be8b3e2-a11b-47e4-bc3f-93855246c3c6: !Template + answer_choices: '' + id: 7be8b3e2-a11b-47e4-bc3f-93855246c3c6 + jinja: 'Consulte el pasaje a continuación y luego responda la pregunta en el mismo + idioma que el pasaje: + + + Pasaje: {{context}} + + + Pregunta: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_esmt + reference: '' + a30143c0-9a06-4d3c-9c07-dae54fe3e1cd: !Template + answer_choices: '' + id: a30143c0-9a06-4d3c-9c07-dae54fe3e1cd + jinja: 'Encontré un texto que responde "{{question}}" con {{answers.text[0]}}. + Comienza con "{{ context[:10] }}". ¿Puedes continuarlo? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_esmt + reference: '' + d5ae02c8-835c-4308-9ccc-729d1e78b4ac: !Template + answer_choices: '' + id: d5ae02c8-835c-4308-9ccc-729d1e78b4ac + jinja: '{{context}} + + P: {{question}} + + Haciendo referencia al pasaje anterior, la respuesta correcta a la pregunta + dada en el idioma del pasaje es ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_esmt + reference: '' + dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0: !Template + answer_choices: '' + id: dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0 + jinja: '{{context}} + + + Con referencia al contexto anterior, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_esmt + reference: '' + f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14: !Template + answer_choices: '' + id: f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14 + jinja: "Pregunta: {{question}}\n Contexto: {{context}}\n Respuesta del contexto:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_esmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.es.vi/templates.yaml b/promptsource/templates/mlqa/mlqa.es.vi/templates.yaml new file mode 100644 index 000000000..e7aac133e --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.es.vi/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.es.es +templates: + 022c1e32-6bfb-4236-af1a-05c827fc452f: !Template + answer_choices: '' + id: 022c1e32-6bfb-4236-af1a-05c827fc452f + jinja: '{{ context[:answers.answer_start[0]-5]}}... Continúe con lo anterior, + de modo que responda "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_esmt + reference: '' + 083a16fa-f0ef-4dfb-901b-b596e34bf22a: !Template + answer_choices: '' + id: 083a16fa-f0ef-4dfb-901b-b596e34bf22a + jinja: 'D: {{context}} + + + P: {{question}} + + + R: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_esmt + reference: '' + 39582ba1-c714-45e0-a4fa-f04b70c94afc: !Template + answer_choices: '' + id: 39582ba1-c714-45e0-a4fa-f04b70c94afc + jinja: 'Lea el siguiente pasaje y luego responda la pregunta que sigue extrayendo + la parte correcta del pasaje: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_esmt + reference: '' + 7be8b3e2-a11b-47e4-bc3f-93855246c3c6: !Template + answer_choices: '' + id: 7be8b3e2-a11b-47e4-bc3f-93855246c3c6 + jinja: 'Consulte el pasaje a continuación y luego responda la pregunta en el mismo + idioma que el pasaje: + + + Pasaje: {{context}} + + + Pregunta: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_esmt + reference: '' + a30143c0-9a06-4d3c-9c07-dae54fe3e1cd: !Template + answer_choices: '' + id: a30143c0-9a06-4d3c-9c07-dae54fe3e1cd + jinja: 'Encontré un texto que responde "{{question}}" con {{answers.text[0]}}. + Comienza con "{{ context[:10] }}". ¿Puedes continuarlo? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_esmt + reference: '' + d5ae02c8-835c-4308-9ccc-729d1e78b4ac: !Template + answer_choices: '' + id: d5ae02c8-835c-4308-9ccc-729d1e78b4ac + jinja: '{{context}} + + P: {{question}} + + Haciendo referencia al pasaje anterior, la respuesta correcta a la pregunta + dada en el idioma del pasaje es ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_esmt + reference: '' + dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0: !Template + answer_choices: '' + id: dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0 + jinja: '{{context}} + + + Con referencia al contexto anterior, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_esmt + reference: '' + f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14: !Template + answer_choices: '' + id: f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14 + jinja: "Pregunta: {{question}}\n Contexto: {{context}}\n Respuesta del contexto:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_esmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.es.zh/templates.yaml b/promptsource/templates/mlqa/mlqa.es.zh/templates.yaml new file mode 100644 index 000000000..e7aac133e --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.es.zh/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.es.es +templates: + 022c1e32-6bfb-4236-af1a-05c827fc452f: !Template + answer_choices: '' + id: 022c1e32-6bfb-4236-af1a-05c827fc452f + jinja: '{{ context[:answers.answer_start[0]-5]}}... Continúe con lo anterior, + de modo que responda "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_esmt + reference: '' + 083a16fa-f0ef-4dfb-901b-b596e34bf22a: !Template + answer_choices: '' + id: 083a16fa-f0ef-4dfb-901b-b596e34bf22a + jinja: 'D: {{context}} + + + P: {{question}} + + + R: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_esmt + reference: '' + 39582ba1-c714-45e0-a4fa-f04b70c94afc: !Template + answer_choices: '' + id: 39582ba1-c714-45e0-a4fa-f04b70c94afc + jinja: 'Lea el siguiente pasaje y luego responda la pregunta que sigue extrayendo + la parte correcta del pasaje: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_esmt + reference: '' + 7be8b3e2-a11b-47e4-bc3f-93855246c3c6: !Template + answer_choices: '' + id: 7be8b3e2-a11b-47e4-bc3f-93855246c3c6 + jinja: 'Consulte el pasaje a continuación y luego responda la pregunta en el mismo + idioma que el pasaje: + + + Pasaje: {{context}} + + + Pregunta: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_esmt + reference: '' + a30143c0-9a06-4d3c-9c07-dae54fe3e1cd: !Template + answer_choices: '' + id: a30143c0-9a06-4d3c-9c07-dae54fe3e1cd + jinja: 'Encontré un texto que responde "{{question}}" con {{answers.text[0]}}. + Comienza con "{{ context[:10] }}". ¿Puedes continuarlo? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_esmt + reference: '' + d5ae02c8-835c-4308-9ccc-729d1e78b4ac: !Template + answer_choices: '' + id: d5ae02c8-835c-4308-9ccc-729d1e78b4ac + jinja: '{{context}} + + P: {{question}} + + Haciendo referencia al pasaje anterior, la respuesta correcta a la pregunta + dada en el idioma del pasaje es ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_esmt + reference: '' + dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0: !Template + answer_choices: '' + id: dd974b8f-50bf-4c8a-83d0-e0ad1d1077e0 + jinja: '{{context}} + + + Con referencia al contexto anterior, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_esmt + reference: '' + f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14: !Template + answer_choices: '' + id: f5fb7ed7-32b8-4e8f-8ef3-bf5620927e14 + jinja: "Pregunta: {{question}}\n Contexto: {{context}}\n Respuesta del contexto:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_esmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.hi.ar/templates.yaml b/promptsource/templates/mlqa/mlqa.hi.ar/templates.yaml new file mode 100644 index 000000000..e118f3cf3 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.hi.ar/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.hi.hi +templates: + 111084d3-ab7c-4b67-b6ae-92144c930c2a: !Template + answer_choices: '' + id: 111084d3-ab7c-4b67-b6ae-92144c930c2a + jinja: 'डी: {{context}} + + + प्रश्न: {{question}} + + + ए: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_himt + reference: '' + 24d361ba-0540-45fd-9b78-b990761b991c: !Template + answer_choices: '' + id: 24d361ba-0540-45fd-9b78-b990761b991c + jinja: 'नीचे दिए गए गद्यांश को देखें और उसके बाद प्रश्न का उत्तर उसी भाषा में + दें जिस भाषा में गद्यांश दिया गया है: + + + पैसेज: {{context}} + + + प्रश्न: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_himt + reference: '' + 3c48dfe1-1b2c-4258-ab56-8943c162ff73: !Template + answer_choices: '' + id: 3c48dfe1-1b2c-4258-ab56-8943c162ff73 + jinja: "प्रश्न: {{question}}\n प्रसंग: {{context}}\n संदर्भ से उत्तर: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_himt + reference: '' + 4adf747d-3d43-48c1-a73d-38d7cb795be1: !Template + answer_choices: '' + id: 4adf747d-3d43-48c1-a73d-38d7cb795be1 + jinja: '{{context}} + + + उपरोक्त संदर्भ के संदर्भ में, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_himt + reference: '' + 8d39f561-c826-41fc-9742-afb01ff97d34: !Template + answer_choices: '' + id: 8d39f561-c826-41fc-9742-afb01ff97d34 + jinja: 'निम्नलिखित गद्यांश को पढ़िए और उसके बाद दिए गए प्रश्न का उत्तर गद्यांश + से सही भाग निकालकर दीजिए: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_himt + reference: '' + bb005512-50f9-420e-9b9e-aa3929451f1d: !Template + answer_choices: '' + id: bb005512-50f9-420e-9b9e-aa3929451f1d + jinja: '{{context}} + + प्रश्न: {{question}} + + उपरोक्त गद्यांश का उल्लेख करते हुए, दिए गए प्रश्न का सही उत्तर गद्यांश की भाषा + में है ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_himt + reference: '' + bedb4f6f-b1b1-400d-9904-7f8f668d03ec: !Template + answer_choices: '' + id: bedb4f6f-b1b1-400d-9904-7f8f668d03ec + jinja: 'मुझे एक टेक्स्ट मिला जो "{{question}}" का उत्तर {{answers.text[0]}} के + साथ देता है। यह "{{ context[:10] }}" से शुरू होता है। क्या आप इसे जारी रख सकते + हैं? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_himt + reference: '' + f083da69-ae41-4cf6-9ecf-f3ddab791961: !Template + answer_choices: '' + id: f083da69-ae41-4cf6-9ecf-f3ddab791961 + jinja: '{{ context[:answers.answer_start[0]-5]}}... उपरोक्त को जारी रखें, ताकि + यह "{{question}}" का उत्तर दे: ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_himt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.hi.en/templates.yaml b/promptsource/templates/mlqa/mlqa.hi.en/templates.yaml new file mode 100644 index 000000000..e118f3cf3 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.hi.en/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.hi.hi +templates: + 111084d3-ab7c-4b67-b6ae-92144c930c2a: !Template + answer_choices: '' + id: 111084d3-ab7c-4b67-b6ae-92144c930c2a + jinja: 'डी: {{context}} + + + प्रश्न: {{question}} + + + ए: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_himt + reference: '' + 24d361ba-0540-45fd-9b78-b990761b991c: !Template + answer_choices: '' + id: 24d361ba-0540-45fd-9b78-b990761b991c + jinja: 'नीचे दिए गए गद्यांश को देखें और उसके बाद प्रश्न का उत्तर उसी भाषा में + दें जिस भाषा में गद्यांश दिया गया है: + + + पैसेज: {{context}} + + + प्रश्न: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_himt + reference: '' + 3c48dfe1-1b2c-4258-ab56-8943c162ff73: !Template + answer_choices: '' + id: 3c48dfe1-1b2c-4258-ab56-8943c162ff73 + jinja: "प्रश्न: {{question}}\n प्रसंग: {{context}}\n संदर्भ से उत्तर: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_himt + reference: '' + 4adf747d-3d43-48c1-a73d-38d7cb795be1: !Template + answer_choices: '' + id: 4adf747d-3d43-48c1-a73d-38d7cb795be1 + jinja: '{{context}} + + + उपरोक्त संदर्भ के संदर्भ में, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_himt + reference: '' + 8d39f561-c826-41fc-9742-afb01ff97d34: !Template + answer_choices: '' + id: 8d39f561-c826-41fc-9742-afb01ff97d34 + jinja: 'निम्नलिखित गद्यांश को पढ़िए और उसके बाद दिए गए प्रश्न का उत्तर गद्यांश + से सही भाग निकालकर दीजिए: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_himt + reference: '' + bb005512-50f9-420e-9b9e-aa3929451f1d: !Template + answer_choices: '' + id: bb005512-50f9-420e-9b9e-aa3929451f1d + jinja: '{{context}} + + प्रश्न: {{question}} + + उपरोक्त गद्यांश का उल्लेख करते हुए, दिए गए प्रश्न का सही उत्तर गद्यांश की भाषा + में है ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_himt + reference: '' + bedb4f6f-b1b1-400d-9904-7f8f668d03ec: !Template + answer_choices: '' + id: bedb4f6f-b1b1-400d-9904-7f8f668d03ec + jinja: 'मुझे एक टेक्स्ट मिला जो "{{question}}" का उत्तर {{answers.text[0]}} के + साथ देता है। यह "{{ context[:10] }}" से शुरू होता है। क्या आप इसे जारी रख सकते + हैं? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_himt + reference: '' + f083da69-ae41-4cf6-9ecf-f3ddab791961: !Template + answer_choices: '' + id: f083da69-ae41-4cf6-9ecf-f3ddab791961 + jinja: '{{ context[:answers.answer_start[0]-5]}}... उपरोक्त को जारी रखें, ताकि + यह "{{question}}" का उत्तर दे: ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_himt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.hi.es/templates.yaml b/promptsource/templates/mlqa/mlqa.hi.es/templates.yaml new file mode 100644 index 000000000..e118f3cf3 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.hi.es/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.hi.hi +templates: + 111084d3-ab7c-4b67-b6ae-92144c930c2a: !Template + answer_choices: '' + id: 111084d3-ab7c-4b67-b6ae-92144c930c2a + jinja: 'डी: {{context}} + + + प्रश्न: {{question}} + + + ए: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_himt + reference: '' + 24d361ba-0540-45fd-9b78-b990761b991c: !Template + answer_choices: '' + id: 24d361ba-0540-45fd-9b78-b990761b991c + jinja: 'नीचे दिए गए गद्यांश को देखें और उसके बाद प्रश्न का उत्तर उसी भाषा में + दें जिस भाषा में गद्यांश दिया गया है: + + + पैसेज: {{context}} + + + प्रश्न: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_himt + reference: '' + 3c48dfe1-1b2c-4258-ab56-8943c162ff73: !Template + answer_choices: '' + id: 3c48dfe1-1b2c-4258-ab56-8943c162ff73 + jinja: "प्रश्न: {{question}}\n प्रसंग: {{context}}\n संदर्भ से उत्तर: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_himt + reference: '' + 4adf747d-3d43-48c1-a73d-38d7cb795be1: !Template + answer_choices: '' + id: 4adf747d-3d43-48c1-a73d-38d7cb795be1 + jinja: '{{context}} + + + उपरोक्त संदर्भ के संदर्भ में, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_himt + reference: '' + 8d39f561-c826-41fc-9742-afb01ff97d34: !Template + answer_choices: '' + id: 8d39f561-c826-41fc-9742-afb01ff97d34 + jinja: 'निम्नलिखित गद्यांश को पढ़िए और उसके बाद दिए गए प्रश्न का उत्तर गद्यांश + से सही भाग निकालकर दीजिए: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_himt + reference: '' + bb005512-50f9-420e-9b9e-aa3929451f1d: !Template + answer_choices: '' + id: bb005512-50f9-420e-9b9e-aa3929451f1d + jinja: '{{context}} + + प्रश्न: {{question}} + + उपरोक्त गद्यांश का उल्लेख करते हुए, दिए गए प्रश्न का सही उत्तर गद्यांश की भाषा + में है ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_himt + reference: '' + bedb4f6f-b1b1-400d-9904-7f8f668d03ec: !Template + answer_choices: '' + id: bedb4f6f-b1b1-400d-9904-7f8f668d03ec + jinja: 'मुझे एक टेक्स्ट मिला जो "{{question}}" का उत्तर {{answers.text[0]}} के + साथ देता है। यह "{{ context[:10] }}" से शुरू होता है। क्या आप इसे जारी रख सकते + हैं? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_himt + reference: '' + f083da69-ae41-4cf6-9ecf-f3ddab791961: !Template + answer_choices: '' + id: f083da69-ae41-4cf6-9ecf-f3ddab791961 + jinja: '{{ context[:answers.answer_start[0]-5]}}... उपरोक्त को जारी रखें, ताकि + यह "{{question}}" का उत्तर दे: ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_himt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.hi.hi/templates.yaml b/promptsource/templates/mlqa/mlqa.hi.hi/templates.yaml new file mode 100644 index 000000000..e118f3cf3 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.hi.hi/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.hi.hi +templates: + 111084d3-ab7c-4b67-b6ae-92144c930c2a: !Template + answer_choices: '' + id: 111084d3-ab7c-4b67-b6ae-92144c930c2a + jinja: 'डी: {{context}} + + + प्रश्न: {{question}} + + + ए: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_himt + reference: '' + 24d361ba-0540-45fd-9b78-b990761b991c: !Template + answer_choices: '' + id: 24d361ba-0540-45fd-9b78-b990761b991c + jinja: 'नीचे दिए गए गद्यांश को देखें और उसके बाद प्रश्न का उत्तर उसी भाषा में + दें जिस भाषा में गद्यांश दिया गया है: + + + पैसेज: {{context}} + + + प्रश्न: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_himt + reference: '' + 3c48dfe1-1b2c-4258-ab56-8943c162ff73: !Template + answer_choices: '' + id: 3c48dfe1-1b2c-4258-ab56-8943c162ff73 + jinja: "प्रश्न: {{question}}\n प्रसंग: {{context}}\n संदर्भ से उत्तर: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_himt + reference: '' + 4adf747d-3d43-48c1-a73d-38d7cb795be1: !Template + answer_choices: '' + id: 4adf747d-3d43-48c1-a73d-38d7cb795be1 + jinja: '{{context}} + + + उपरोक्त संदर्भ के संदर्भ में, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_himt + reference: '' + 8d39f561-c826-41fc-9742-afb01ff97d34: !Template + answer_choices: '' + id: 8d39f561-c826-41fc-9742-afb01ff97d34 + jinja: 'निम्नलिखित गद्यांश को पढ़िए और उसके बाद दिए गए प्रश्न का उत्तर गद्यांश + से सही भाग निकालकर दीजिए: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_himt + reference: '' + bb005512-50f9-420e-9b9e-aa3929451f1d: !Template + answer_choices: '' + id: bb005512-50f9-420e-9b9e-aa3929451f1d + jinja: '{{context}} + + प्रश्न: {{question}} + + उपरोक्त गद्यांश का उल्लेख करते हुए, दिए गए प्रश्न का सही उत्तर गद्यांश की भाषा + में है ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_himt + reference: '' + bedb4f6f-b1b1-400d-9904-7f8f668d03ec: !Template + answer_choices: '' + id: bedb4f6f-b1b1-400d-9904-7f8f668d03ec + jinja: 'मुझे एक टेक्स्ट मिला जो "{{question}}" का उत्तर {{answers.text[0]}} के + साथ देता है। यह "{{ context[:10] }}" से शुरू होता है। क्या आप इसे जारी रख सकते + हैं? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_himt + reference: '' + f083da69-ae41-4cf6-9ecf-f3ddab791961: !Template + answer_choices: '' + id: f083da69-ae41-4cf6-9ecf-f3ddab791961 + jinja: '{{ context[:answers.answer_start[0]-5]}}... उपरोक्त को जारी रखें, ताकि + यह "{{question}}" का उत्तर दे: ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_himt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.hi.vi/templates.yaml b/promptsource/templates/mlqa/mlqa.hi.vi/templates.yaml new file mode 100644 index 000000000..e118f3cf3 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.hi.vi/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.hi.hi +templates: + 111084d3-ab7c-4b67-b6ae-92144c930c2a: !Template + answer_choices: '' + id: 111084d3-ab7c-4b67-b6ae-92144c930c2a + jinja: 'डी: {{context}} + + + प्रश्न: {{question}} + + + ए: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_himt + reference: '' + 24d361ba-0540-45fd-9b78-b990761b991c: !Template + answer_choices: '' + id: 24d361ba-0540-45fd-9b78-b990761b991c + jinja: 'नीचे दिए गए गद्यांश को देखें और उसके बाद प्रश्न का उत्तर उसी भाषा में + दें जिस भाषा में गद्यांश दिया गया है: + + + पैसेज: {{context}} + + + प्रश्न: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_himt + reference: '' + 3c48dfe1-1b2c-4258-ab56-8943c162ff73: !Template + answer_choices: '' + id: 3c48dfe1-1b2c-4258-ab56-8943c162ff73 + jinja: "प्रश्न: {{question}}\n प्रसंग: {{context}}\n संदर्भ से उत्तर: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_himt + reference: '' + 4adf747d-3d43-48c1-a73d-38d7cb795be1: !Template + answer_choices: '' + id: 4adf747d-3d43-48c1-a73d-38d7cb795be1 + jinja: '{{context}} + + + उपरोक्त संदर्भ के संदर्भ में, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_himt + reference: '' + 8d39f561-c826-41fc-9742-afb01ff97d34: !Template + answer_choices: '' + id: 8d39f561-c826-41fc-9742-afb01ff97d34 + jinja: 'निम्नलिखित गद्यांश को पढ़िए और उसके बाद दिए गए प्रश्न का उत्तर गद्यांश + से सही भाग निकालकर दीजिए: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_himt + reference: '' + bb005512-50f9-420e-9b9e-aa3929451f1d: !Template + answer_choices: '' + id: bb005512-50f9-420e-9b9e-aa3929451f1d + jinja: '{{context}} + + प्रश्न: {{question}} + + उपरोक्त गद्यांश का उल्लेख करते हुए, दिए गए प्रश्न का सही उत्तर गद्यांश की भाषा + में है ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_himt + reference: '' + bedb4f6f-b1b1-400d-9904-7f8f668d03ec: !Template + answer_choices: '' + id: bedb4f6f-b1b1-400d-9904-7f8f668d03ec + jinja: 'मुझे एक टेक्स्ट मिला जो "{{question}}" का उत्तर {{answers.text[0]}} के + साथ देता है। यह "{{ context[:10] }}" से शुरू होता है। क्या आप इसे जारी रख सकते + हैं? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_himt + reference: '' + f083da69-ae41-4cf6-9ecf-f3ddab791961: !Template + answer_choices: '' + id: f083da69-ae41-4cf6-9ecf-f3ddab791961 + jinja: '{{ context[:answers.answer_start[0]-5]}}... उपरोक्त को जारी रखें, ताकि + यह "{{question}}" का उत्तर दे: ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_himt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.hi.zh/templates.yaml b/promptsource/templates/mlqa/mlqa.hi.zh/templates.yaml new file mode 100644 index 000000000..e118f3cf3 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.hi.zh/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.hi.hi +templates: + 111084d3-ab7c-4b67-b6ae-92144c930c2a: !Template + answer_choices: '' + id: 111084d3-ab7c-4b67-b6ae-92144c930c2a + jinja: 'डी: {{context}} + + + प्रश्न: {{question}} + + + ए: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_himt + reference: '' + 24d361ba-0540-45fd-9b78-b990761b991c: !Template + answer_choices: '' + id: 24d361ba-0540-45fd-9b78-b990761b991c + jinja: 'नीचे दिए गए गद्यांश को देखें और उसके बाद प्रश्न का उत्तर उसी भाषा में + दें जिस भाषा में गद्यांश दिया गया है: + + + पैसेज: {{context}} + + + प्रश्न: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_himt + reference: '' + 3c48dfe1-1b2c-4258-ab56-8943c162ff73: !Template + answer_choices: '' + id: 3c48dfe1-1b2c-4258-ab56-8943c162ff73 + jinja: "प्रश्न: {{question}}\n प्रसंग: {{context}}\n संदर्भ से उत्तर: ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_himt + reference: '' + 4adf747d-3d43-48c1-a73d-38d7cb795be1: !Template + answer_choices: '' + id: 4adf747d-3d43-48c1-a73d-38d7cb795be1 + jinja: '{{context}} + + + उपरोक्त संदर्भ के संदर्भ में, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_himt + reference: '' + 8d39f561-c826-41fc-9742-afb01ff97d34: !Template + answer_choices: '' + id: 8d39f561-c826-41fc-9742-afb01ff97d34 + jinja: 'निम्नलिखित गद्यांश को पढ़िए और उसके बाद दिए गए प्रश्न का उत्तर गद्यांश + से सही भाग निकालकर दीजिए: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_himt + reference: '' + bb005512-50f9-420e-9b9e-aa3929451f1d: !Template + answer_choices: '' + id: bb005512-50f9-420e-9b9e-aa3929451f1d + jinja: '{{context}} + + प्रश्न: {{question}} + + उपरोक्त गद्यांश का उल्लेख करते हुए, दिए गए प्रश्न का सही उत्तर गद्यांश की भाषा + में है ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_himt + reference: '' + bedb4f6f-b1b1-400d-9904-7f8f668d03ec: !Template + answer_choices: '' + id: bedb4f6f-b1b1-400d-9904-7f8f668d03ec + jinja: 'मुझे एक टेक्स्ट मिला जो "{{question}}" का उत्तर {{answers.text[0]}} के + साथ देता है। यह "{{ context[:10] }}" से शुरू होता है। क्या आप इसे जारी रख सकते + हैं? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_himt + reference: '' + f083da69-ae41-4cf6-9ecf-f3ddab791961: !Template + answer_choices: '' + id: f083da69-ae41-4cf6-9ecf-f3ddab791961 + jinja: '{{ context[:answers.answer_start[0]-5]}}... उपरोक्त को जारी रखें, ताकि + यह "{{question}}" का उत्तर दे: ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_himt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.vi.ar/templates.yaml b/promptsource/templates/mlqa/mlqa.vi.ar/templates.yaml new file mode 100644 index 000000000..b5c5dc16d --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.vi.ar/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.vi.vi +templates: + 1229df7c-dd56-40bc-934d-6ef82ed88fac: !Template + answer_choices: '' + id: 1229df7c-dd56-40bc-934d-6ef82ed88fac + jinja: '{{ context[:answers.answer_start[0]-5]}} ... Tiếp tục ở trên, sao cho + nó trả lời "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_vimt + reference: '' + 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5: !Template + answer_choices: '' + id: 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5 + jinja: '{{context}} + + + Với sự tham chiếu đến ngữ cảnh trên, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_vimt + reference: '' + 606a6a9f-2453-468b-8c2a-d36cec41dd85: !Template + answer_choices: '' + id: 606a6a9f-2453-468b-8c2a-d36cec41dd85 + jinja: '{{context}} + + H: {{question}} + + Đề cập đến đoạn văn trên, câu trả lời đúng cho câu hỏi đã cho trong ngôn ngữ + của đoạn văn là ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_vimt + reference: '' + 664a5117-a247-4562-9951-4fbe30210e6a: !Template + answer_choices: '' + id: 664a5117-a247-4562-9951-4fbe30210e6a + jinja: "Câu hỏi: {{question}}\n Ngữ cảnh: {{context}}\n Câu trả lời từ ngữ cảnh:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_vimt + reference: '' + 809fd603-c336-4f75-99ee-8bc5a1b5cd17: !Template + answer_choices: '' + id: 809fd603-c336-4f75-99ee-8bc5a1b5cd17 + jinja: 'Tham khảo đoạn văn dưới đây và sau đó trả lời câu hỏi sau đó bằng ngôn + ngữ tương tự như đoạn văn: + + + Đoạn: {{context}} + + + Câu hỏi: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_vimt + reference: '' + 91123206-878f-45a8-be43-724456d987f6: !Template + answer_choices: '' + id: 91123206-878f-45a8-be43-724456d987f6 + jinja: 'Tôi đã tìm thấy một văn bản trả lời "{{question}}" bằng {{answers.text[0]}}. + Nó bắt đầu bằng "{{ context[:10] }}". Bạn có thể tiếp tục nó không? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_vimt + reference: '' + d35e797b-1ea6-4eb7-9e1c-26858563e803: !Template + answer_choices: '' + id: d35e797b-1ea6-4eb7-9e1c-26858563e803 + jinja: 'Đọc đoạn văn sau và sau đó trả lời câu hỏi tiếp theo bằng cách trích một + phần đúng trong đoạn văn: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_vimt + reference: '' + ebd1b954-7ecf-4c81-802a-68bdc7191dfd: !Template + answer_choices: '' + id: ebd1b954-7ecf-4c81-802a-68bdc7191dfd + jinja: 'D: {{context}} + + + H: {{question}} + + + A: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_vimt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.vi.en/templates.yaml b/promptsource/templates/mlqa/mlqa.vi.en/templates.yaml new file mode 100644 index 000000000..b5c5dc16d --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.vi.en/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.vi.vi +templates: + 1229df7c-dd56-40bc-934d-6ef82ed88fac: !Template + answer_choices: '' + id: 1229df7c-dd56-40bc-934d-6ef82ed88fac + jinja: '{{ context[:answers.answer_start[0]-5]}} ... Tiếp tục ở trên, sao cho + nó trả lời "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_vimt + reference: '' + 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5: !Template + answer_choices: '' + id: 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5 + jinja: '{{context}} + + + Với sự tham chiếu đến ngữ cảnh trên, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_vimt + reference: '' + 606a6a9f-2453-468b-8c2a-d36cec41dd85: !Template + answer_choices: '' + id: 606a6a9f-2453-468b-8c2a-d36cec41dd85 + jinja: '{{context}} + + H: {{question}} + + Đề cập đến đoạn văn trên, câu trả lời đúng cho câu hỏi đã cho trong ngôn ngữ + của đoạn văn là ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_vimt + reference: '' + 664a5117-a247-4562-9951-4fbe30210e6a: !Template + answer_choices: '' + id: 664a5117-a247-4562-9951-4fbe30210e6a + jinja: "Câu hỏi: {{question}}\n Ngữ cảnh: {{context}}\n Câu trả lời từ ngữ cảnh:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_vimt + reference: '' + 809fd603-c336-4f75-99ee-8bc5a1b5cd17: !Template + answer_choices: '' + id: 809fd603-c336-4f75-99ee-8bc5a1b5cd17 + jinja: 'Tham khảo đoạn văn dưới đây và sau đó trả lời câu hỏi sau đó bằng ngôn + ngữ tương tự như đoạn văn: + + + Đoạn: {{context}} + + + Câu hỏi: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_vimt + reference: '' + 91123206-878f-45a8-be43-724456d987f6: !Template + answer_choices: '' + id: 91123206-878f-45a8-be43-724456d987f6 + jinja: 'Tôi đã tìm thấy một văn bản trả lời "{{question}}" bằng {{answers.text[0]}}. + Nó bắt đầu bằng "{{ context[:10] }}". Bạn có thể tiếp tục nó không? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_vimt + reference: '' + d35e797b-1ea6-4eb7-9e1c-26858563e803: !Template + answer_choices: '' + id: d35e797b-1ea6-4eb7-9e1c-26858563e803 + jinja: 'Đọc đoạn văn sau và sau đó trả lời câu hỏi tiếp theo bằng cách trích một + phần đúng trong đoạn văn: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_vimt + reference: '' + ebd1b954-7ecf-4c81-802a-68bdc7191dfd: !Template + answer_choices: '' + id: ebd1b954-7ecf-4c81-802a-68bdc7191dfd + jinja: 'D: {{context}} + + + H: {{question}} + + + A: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_vimt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.vi.es/templates.yaml b/promptsource/templates/mlqa/mlqa.vi.es/templates.yaml new file mode 100644 index 000000000..b5c5dc16d --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.vi.es/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.vi.vi +templates: + 1229df7c-dd56-40bc-934d-6ef82ed88fac: !Template + answer_choices: '' + id: 1229df7c-dd56-40bc-934d-6ef82ed88fac + jinja: '{{ context[:answers.answer_start[0]-5]}} ... Tiếp tục ở trên, sao cho + nó trả lời "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_vimt + reference: '' + 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5: !Template + answer_choices: '' + id: 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5 + jinja: '{{context}} + + + Với sự tham chiếu đến ngữ cảnh trên, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_vimt + reference: '' + 606a6a9f-2453-468b-8c2a-d36cec41dd85: !Template + answer_choices: '' + id: 606a6a9f-2453-468b-8c2a-d36cec41dd85 + jinja: '{{context}} + + H: {{question}} + + Đề cập đến đoạn văn trên, câu trả lời đúng cho câu hỏi đã cho trong ngôn ngữ + của đoạn văn là ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_vimt + reference: '' + 664a5117-a247-4562-9951-4fbe30210e6a: !Template + answer_choices: '' + id: 664a5117-a247-4562-9951-4fbe30210e6a + jinja: "Câu hỏi: {{question}}\n Ngữ cảnh: {{context}}\n Câu trả lời từ ngữ cảnh:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_vimt + reference: '' + 809fd603-c336-4f75-99ee-8bc5a1b5cd17: !Template + answer_choices: '' + id: 809fd603-c336-4f75-99ee-8bc5a1b5cd17 + jinja: 'Tham khảo đoạn văn dưới đây và sau đó trả lời câu hỏi sau đó bằng ngôn + ngữ tương tự như đoạn văn: + + + Đoạn: {{context}} + + + Câu hỏi: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_vimt + reference: '' + 91123206-878f-45a8-be43-724456d987f6: !Template + answer_choices: '' + id: 91123206-878f-45a8-be43-724456d987f6 + jinja: 'Tôi đã tìm thấy một văn bản trả lời "{{question}}" bằng {{answers.text[0]}}. + Nó bắt đầu bằng "{{ context[:10] }}". Bạn có thể tiếp tục nó không? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_vimt + reference: '' + d35e797b-1ea6-4eb7-9e1c-26858563e803: !Template + answer_choices: '' + id: d35e797b-1ea6-4eb7-9e1c-26858563e803 + jinja: 'Đọc đoạn văn sau và sau đó trả lời câu hỏi tiếp theo bằng cách trích một + phần đúng trong đoạn văn: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_vimt + reference: '' + ebd1b954-7ecf-4c81-802a-68bdc7191dfd: !Template + answer_choices: '' + id: ebd1b954-7ecf-4c81-802a-68bdc7191dfd + jinja: 'D: {{context}} + + + H: {{question}} + + + A: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_vimt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.vi.hi/templates.yaml b/promptsource/templates/mlqa/mlqa.vi.hi/templates.yaml new file mode 100644 index 000000000..b5c5dc16d --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.vi.hi/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.vi.vi +templates: + 1229df7c-dd56-40bc-934d-6ef82ed88fac: !Template + answer_choices: '' + id: 1229df7c-dd56-40bc-934d-6ef82ed88fac + jinja: '{{ context[:answers.answer_start[0]-5]}} ... Tiếp tục ở trên, sao cho + nó trả lời "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_vimt + reference: '' + 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5: !Template + answer_choices: '' + id: 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5 + jinja: '{{context}} + + + Với sự tham chiếu đến ngữ cảnh trên, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_vimt + reference: '' + 606a6a9f-2453-468b-8c2a-d36cec41dd85: !Template + answer_choices: '' + id: 606a6a9f-2453-468b-8c2a-d36cec41dd85 + jinja: '{{context}} + + H: {{question}} + + Đề cập đến đoạn văn trên, câu trả lời đúng cho câu hỏi đã cho trong ngôn ngữ + của đoạn văn là ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_vimt + reference: '' + 664a5117-a247-4562-9951-4fbe30210e6a: !Template + answer_choices: '' + id: 664a5117-a247-4562-9951-4fbe30210e6a + jinja: "Câu hỏi: {{question}}\n Ngữ cảnh: {{context}}\n Câu trả lời từ ngữ cảnh:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_vimt + reference: '' + 809fd603-c336-4f75-99ee-8bc5a1b5cd17: !Template + answer_choices: '' + id: 809fd603-c336-4f75-99ee-8bc5a1b5cd17 + jinja: 'Tham khảo đoạn văn dưới đây và sau đó trả lời câu hỏi sau đó bằng ngôn + ngữ tương tự như đoạn văn: + + + Đoạn: {{context}} + + + Câu hỏi: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_vimt + reference: '' + 91123206-878f-45a8-be43-724456d987f6: !Template + answer_choices: '' + id: 91123206-878f-45a8-be43-724456d987f6 + jinja: 'Tôi đã tìm thấy một văn bản trả lời "{{question}}" bằng {{answers.text[0]}}. + Nó bắt đầu bằng "{{ context[:10] }}". Bạn có thể tiếp tục nó không? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_vimt + reference: '' + d35e797b-1ea6-4eb7-9e1c-26858563e803: !Template + answer_choices: '' + id: d35e797b-1ea6-4eb7-9e1c-26858563e803 + jinja: 'Đọc đoạn văn sau và sau đó trả lời câu hỏi tiếp theo bằng cách trích một + phần đúng trong đoạn văn: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_vimt + reference: '' + ebd1b954-7ecf-4c81-802a-68bdc7191dfd: !Template + answer_choices: '' + id: ebd1b954-7ecf-4c81-802a-68bdc7191dfd + jinja: 'D: {{context}} + + + H: {{question}} + + + A: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_vimt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.vi.vi/templates.yaml b/promptsource/templates/mlqa/mlqa.vi.vi/templates.yaml new file mode 100644 index 000000000..b5c5dc16d --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.vi.vi/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.vi.vi +templates: + 1229df7c-dd56-40bc-934d-6ef82ed88fac: !Template + answer_choices: '' + id: 1229df7c-dd56-40bc-934d-6ef82ed88fac + jinja: '{{ context[:answers.answer_start[0]-5]}} ... Tiếp tục ở trên, sao cho + nó trả lời "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_vimt + reference: '' + 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5: !Template + answer_choices: '' + id: 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5 + jinja: '{{context}} + + + Với sự tham chiếu đến ngữ cảnh trên, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_vimt + reference: '' + 606a6a9f-2453-468b-8c2a-d36cec41dd85: !Template + answer_choices: '' + id: 606a6a9f-2453-468b-8c2a-d36cec41dd85 + jinja: '{{context}} + + H: {{question}} + + Đề cập đến đoạn văn trên, câu trả lời đúng cho câu hỏi đã cho trong ngôn ngữ + của đoạn văn là ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_vimt + reference: '' + 664a5117-a247-4562-9951-4fbe30210e6a: !Template + answer_choices: '' + id: 664a5117-a247-4562-9951-4fbe30210e6a + jinja: "Câu hỏi: {{question}}\n Ngữ cảnh: {{context}}\n Câu trả lời từ ngữ cảnh:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_vimt + reference: '' + 809fd603-c336-4f75-99ee-8bc5a1b5cd17: !Template + answer_choices: '' + id: 809fd603-c336-4f75-99ee-8bc5a1b5cd17 + jinja: 'Tham khảo đoạn văn dưới đây và sau đó trả lời câu hỏi sau đó bằng ngôn + ngữ tương tự như đoạn văn: + + + Đoạn: {{context}} + + + Câu hỏi: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_vimt + reference: '' + 91123206-878f-45a8-be43-724456d987f6: !Template + answer_choices: '' + id: 91123206-878f-45a8-be43-724456d987f6 + jinja: 'Tôi đã tìm thấy một văn bản trả lời "{{question}}" bằng {{answers.text[0]}}. + Nó bắt đầu bằng "{{ context[:10] }}". Bạn có thể tiếp tục nó không? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_vimt + reference: '' + d35e797b-1ea6-4eb7-9e1c-26858563e803: !Template + answer_choices: '' + id: d35e797b-1ea6-4eb7-9e1c-26858563e803 + jinja: 'Đọc đoạn văn sau và sau đó trả lời câu hỏi tiếp theo bằng cách trích một + phần đúng trong đoạn văn: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_vimt + reference: '' + ebd1b954-7ecf-4c81-802a-68bdc7191dfd: !Template + answer_choices: '' + id: ebd1b954-7ecf-4c81-802a-68bdc7191dfd + jinja: 'D: {{context}} + + + H: {{question}} + + + A: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_vimt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.vi.zh/templates.yaml b/promptsource/templates/mlqa/mlqa.vi.zh/templates.yaml new file mode 100644 index 000000000..b5c5dc16d --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.vi.zh/templates.yaml @@ -0,0 +1,131 @@ +dataset: mlqa +subset: mlqa.vi.vi +templates: + 1229df7c-dd56-40bc-934d-6ef82ed88fac: !Template + answer_choices: '' + id: 1229df7c-dd56-40bc-934d-6ef82ed88fac + jinja: '{{ context[:answers.answer_start[0]-5]}} ... Tiếp tục ở trên, sao cho + nó trả lời "{{question}}": ||| {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_vimt + reference: '' + 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5: !Template + answer_choices: '' + id: 574ffeb2-73be-4b5b-b2bf-f453f7ab7fe5 + jinja: '{{context}} + + + Với sự tham chiếu đến ngữ cảnh trên, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_vimt + reference: '' + 606a6a9f-2453-468b-8c2a-d36cec41dd85: !Template + answer_choices: '' + id: 606a6a9f-2453-468b-8c2a-d36cec41dd85 + jinja: '{{context}} + + H: {{question}} + + Đề cập đến đoạn văn trên, câu trả lời đúng cho câu hỏi đã cho trong ngôn ngữ + của đoạn văn là ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_vimt + reference: '' + 664a5117-a247-4562-9951-4fbe30210e6a: !Template + answer_choices: '' + id: 664a5117-a247-4562-9951-4fbe30210e6a + jinja: "Câu hỏi: {{question}}\n Ngữ cảnh: {{context}}\n Câu trả lời từ ngữ cảnh:\ + \ ||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_vimt + reference: '' + 809fd603-c336-4f75-99ee-8bc5a1b5cd17: !Template + answer_choices: '' + id: 809fd603-c336-4f75-99ee-8bc5a1b5cd17 + jinja: 'Tham khảo đoạn văn dưới đây và sau đó trả lời câu hỏi sau đó bằng ngôn + ngữ tương tự như đoạn văn: + + + Đoạn: {{context}} + + + Câu hỏi: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_vimt + reference: '' + 91123206-878f-45a8-be43-724456d987f6: !Template + answer_choices: '' + id: 91123206-878f-45a8-be43-724456d987f6 + jinja: 'Tôi đã tìm thấy một văn bản trả lời "{{question}}" bằng {{answers.text[0]}}. + Nó bắt đầu bằng "{{ context[:10] }}". Bạn có thể tiếp tục nó không? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_vimt + reference: '' + d35e797b-1ea6-4eb7-9e1c-26858563e803: !Template + answer_choices: '' + id: d35e797b-1ea6-4eb7-9e1c-26858563e803 + jinja: 'Đọc đoạn văn sau và sau đó trả lời câu hỏi tiếp theo bằng cách trích một + phần đúng trong đoạn văn: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_vimt + reference: '' + ebd1b954-7ecf-4c81-802a-68bdc7191dfd: !Template + answer_choices: '' + id: ebd1b954-7ecf-4c81-802a-68bdc7191dfd + jinja: 'D: {{context}} + + + H: {{question}} + + + A: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_vimt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.zh.ar/templates.yaml b/promptsource/templates/mlqa/mlqa.zh.ar/templates.yaml new file mode 100644 index 000000000..2bbbed1cc --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.zh.ar/templates.yaml @@ -0,0 +1,127 @@ +dataset: mlqa +subset: mlqa.zh.ar +templates: + 2c657c09-e3a1-4378-aa7e-b1dd1924f7cc: !Template + answer_choices: '' + id: 2c657c09-e3a1-4378-aa7e-b1dd1924f7cc + jinja: '参考下面的文章,然后用与文章相同的语言回答问题: + + + 段落:{{context}} + + + 问题:{{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_zhmt + reference: '' + 39c41a5f-9d6f-4e11-ae83-beb92b63a502: !Template + answer_choices: '' + id: 39c41a5f-9d6f-4e11-ae83-beb92b63a502 + jinja: '我找到了一个用 {{answers.text[0]}} 回答“{{answers.text[0]}}”的文本。它以“{{ context[:10] + }}”开头。可以继续吗? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_zhmt + reference: '' + 6b978f9e-7807-423f-8183-c7d6474cb4cf: !Template + answer_choices: '' + id: 6b978f9e-7807-423f-8183-c7d6474cb4cf + jinja: "问题:{{question}}\n 上下文:{{context}}\n 从上下文中回答:||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_zhmt + reference: '' + 7d8f9396-f40e-4f51-b5cf-77d9cf57f5b7: !Template + answer_choices: '' + id: 7d8f9396-f40e-4f51-b5cf-77d9cf57f5b7 + jinja: '{{context}} + + 问:{{question}} + + 参考上面的段落,用该段落的语言对给定问题的正确答案是||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_zhmt + reference: '' + 99585fd6-d507-4559-98a6-207a2cd6e048: !Template + answer_choices: '' + id: 99585fd6-d507-4559-98a6-207a2cd6e048 + jinja: 'D:{{context}} + + + 问:{{question}} + + + 答:||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_zhmt + reference: '' + aae8b7c5-2761-4ed9-9a05-ad7aa7fa309f: !Template + answer_choices: '' + id: aae8b7c5-2761-4ed9-9a05-ad7aa7fa309f + jinja: '阅读下面的短文,然后从短文中选出正确的部分来回答下面的问题: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_zhmt + reference: '' + f3b58724-02ec-486c-86ba-43f1ed52a294: !Template + answer_choices: '' + id: f3b58724-02ec-486c-86ba-43f1ed52a294 + jinja: '{{ context[:answers.answer_start[0]-5]}}... 继续上述操作,使其回答“{{question}}”:||| + {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + fcde6584-ceeb-41c4-8a21-94e3ae88fbb4: !Template + answer_choices: '' + id: fcde6584-ceeb-41c4-8a21-94e3ae88fbb4 + jinja: '{{context}} + + + 参考上述上下文,{{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_zhmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.zh.en/templates.yaml b/promptsource/templates/mlqa/mlqa.zh.en/templates.yaml new file mode 100644 index 000000000..f8f70844c --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.zh.en/templates.yaml @@ -0,0 +1,127 @@ +dataset: mlqa +subset: mlqa.zh.en +templates: + 162a8f4e-8803-4f20-8cd6-8b4a26db7100: !Template + answer_choices: '' + id: 162a8f4e-8803-4f20-8cd6-8b4a26db7100 + jinja: '{{ context[:answers.answer_start[0]-5]}}... 继续上述操作,使其回答“{{question}}”:||| + {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + 5b6d880d-bfa1-4aad-a752-b718550f2b59: !Template + answer_choices: '' + id: 5b6d880d-bfa1-4aad-a752-b718550f2b59 + jinja: '参考下面的文章,然后用与文章相同的语言回答问题: + + + 段落:{{context}} + + + 问题:{{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_zhmt + reference: '' + 60bebfe7-c5e0-4baf-b13d-7336d817e2f3: !Template + answer_choices: '' + id: 60bebfe7-c5e0-4baf-b13d-7336d817e2f3 + jinja: '阅读下面的短文,然后从短文中选出正确的部分来回答下面的问题: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_zhmt + reference: '' + 73643780-0b67-4dc7-bfa8-307e49f6e8b7: !Template + answer_choices: '' + id: 73643780-0b67-4dc7-bfa8-307e49f6e8b7 + jinja: 'D:{{context}} + + + 问:{{question}} + + + 答:||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_zhmt + reference: '' + a5ae3d3f-7b1b-4d75-9eb9-0a1aca64451a: !Template + answer_choices: '' + id: a5ae3d3f-7b1b-4d75-9eb9-0a1aca64451a + jinja: '{{context}} + + 问:{{question}} + + 参考上面的段落,用该段落的语言对给定问题的正确答案是||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_zhmt + reference: '' + bea86653-af31-4f52-a8a6-845b4a6d6968: !Template + answer_choices: '' + id: bea86653-af31-4f52-a8a6-845b4a6d6968 + jinja: '我找到了一个用 {{answers.text[0]}} 回答“{{answers.text[0]}}”的文本。它以“{{ context[:10] + }}”开头。可以继续吗? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_zhmt + reference: '' + c0d720bd-9026-49f2-89ec-19d3548ef515: !Template + answer_choices: '' + id: c0d720bd-9026-49f2-89ec-19d3548ef515 + jinja: "问题:{{question}}\n 上下文:{{context}}\n 从上下文中回答:||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_zhmt + reference: '' + e0cd5099-d9ec-490c-95d4-e169445b62cc: !Template + answer_choices: '' + id: e0cd5099-d9ec-490c-95d4-e169445b62cc + jinja: '{{context}} + + + 参考上述上下文,{{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_zhmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.zh.es/templates.yaml b/promptsource/templates/mlqa/mlqa.zh.es/templates.yaml new file mode 100644 index 000000000..9ccda744f --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.zh.es/templates.yaml @@ -0,0 +1,127 @@ +dataset: mlqa +subset: mlqa.zh.es +templates: + 1069a0e3-96fd-4f27-92da-56a8ee2046a5: !Template + answer_choices: '' + id: 1069a0e3-96fd-4f27-92da-56a8ee2046a5 + jinja: '我找到了一个用 {{answers.text[0]}} 回答“{{answers.text[0]}}”的文本。它以“{{ context[:10] + }}”开头。可以继续吗? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_zhmt + reference: '' + 1c34308f-4ba6-4b11-84db-d11c3be79c1f: !Template + answer_choices: '' + id: 1c34308f-4ba6-4b11-84db-d11c3be79c1f + jinja: 'D:{{context}} + + + 问:{{question}} + + + 答:||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_zhmt + reference: '' + 1f7f989d-5d4d-448d-93a0-c7a8d2380d8c: !Template + answer_choices: '' + id: 1f7f989d-5d4d-448d-93a0-c7a8d2380d8c + jinja: '阅读下面的短文,然后从短文中选出正确的部分来回答下面的问题: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_zhmt + reference: '' + 6080bbd7-e072-4483-8119-cc39ae0619d3: !Template + answer_choices: '' + id: 6080bbd7-e072-4483-8119-cc39ae0619d3 + jinja: '{{context}} + + 问:{{question}} + + 参考上面的段落,用该段落的语言对给定问题的正确答案是||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_zhmt + reference: '' + a6c02861-d050-440f-ac1e-c7124f303ca4: !Template + answer_choices: '' + id: a6c02861-d050-440f-ac1e-c7124f303ca4 + jinja: "问题:{{question}}\n 上下文:{{context}}\n 从上下文中回答:||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_zhmt + reference: '' + ac07833e-0bd5-4870-8b6d-92db9bf2f152: !Template + answer_choices: '' + id: ac07833e-0bd5-4870-8b6d-92db9bf2f152 + jinja: '参考下面的文章,然后用与文章相同的语言回答问题: + + + 段落:{{context}} + + + 问题:{{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_zhmt + reference: '' + b6d74b4c-da58-464b-b5ba-8b3a101a233e: !Template + answer_choices: '' + id: b6d74b4c-da58-464b-b5ba-8b3a101a233e + jinja: '{{context}} + + + 参考上述上下文,{{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_zhmt + reference: '' + decdbd29-f0ac-4dec-8a22-205add9ffa04: !Template + answer_choices: '' + id: decdbd29-f0ac-4dec-8a22-205add9ffa04 + jinja: '{{ context[:answers.answer_start[0]-5]}}... 继续上述操作,使其回答“{{question}}”:||| + {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.zh.hi/templates.yaml b/promptsource/templates/mlqa/mlqa.zh.hi/templates.yaml new file mode 100644 index 000000000..2c5d1c213 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.zh.hi/templates.yaml @@ -0,0 +1,127 @@ +dataset: mlqa +subset: mlqa.zh.hi +templates: + 42b3f4ee-3993-460c-bf8a-b229b707ee98: !Template + answer_choices: '' + id: 42b3f4ee-3993-460c-bf8a-b229b707ee98 + jinja: "问题:{{question}}\n 上下文:{{context}}\n 从上下文中回答:||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_zhmt + reference: '' + 51dcde53-0c05-4df0-a89f-655f9e955d7c: !Template + answer_choices: '' + id: 51dcde53-0c05-4df0-a89f-655f9e955d7c + jinja: '{{context}} + + + 参考上述上下文,{{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_zhmt + reference: '' + 5d08f1de-f184-492f-b6d0-6054858e0ea1: !Template + answer_choices: '' + id: 5d08f1de-f184-492f-b6d0-6054858e0ea1 + jinja: '我找到了一个用 {{answers.text[0]}} 回答“{{answers.text[0]}}”的文本。它以“{{ context[:10] + }}”开头。可以继续吗? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_zhmt + reference: '' + 720ae38b-4393-4238-8bd6-3e36afa27ea6: !Template + answer_choices: '' + id: 720ae38b-4393-4238-8bd6-3e36afa27ea6 + jinja: '参考下面的文章,然后用与文章相同的语言回答问题: + + + 段落:{{context}} + + + 问题:{{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_zhmt + reference: '' + 9bd32683-1dd0-4648-b946-ae408a216b26: !Template + answer_choices: '' + id: 9bd32683-1dd0-4648-b946-ae408a216b26 + jinja: 'D:{{context}} + + + 问:{{question}} + + + 答:||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_zhmt + reference: '' + a521cfc3-4970-44f6-9399-e8ab1cfa3df8: !Template + answer_choices: '' + id: a521cfc3-4970-44f6-9399-e8ab1cfa3df8 + jinja: '阅读下面的短文,然后从短文中选出正确的部分来回答下面的问题: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_zhmt + reference: '' + bb8e5370-a72c-44ce-af73-96cd638e1d12: !Template + answer_choices: '' + id: bb8e5370-a72c-44ce-af73-96cd638e1d12 + jinja: '{{ context[:answers.answer_start[0]-5]}}... 继续上述操作,使其回答“{{question}}”:||| + {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + e2e1ea83-aa4c-4996-a9d3-972ddd3ec297: !Template + answer_choices: '' + id: e2e1ea83-aa4c-4996-a9d3-972ddd3ec297 + jinja: '{{context}} + + 问:{{question}} + + 参考上面的段落,用该段落的语言对给定问题的正确答案是||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_zhmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.zh.vi/templates.yaml b/promptsource/templates/mlqa/mlqa.zh.vi/templates.yaml new file mode 100644 index 000000000..3083aad43 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.zh.vi/templates.yaml @@ -0,0 +1,127 @@ +dataset: mlqa +subset: mlqa.zh.vi +templates: + 0b765eee-2ef0-4b95-97f2-9c7605f06087: !Template + answer_choices: '' + id: 0b765eee-2ef0-4b95-97f2-9c7605f06087 + jinja: '阅读下面的短文,然后从短文中选出正确的部分来回答下面的问题: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_zhmt + reference: '' + 0e53cfb8-2768-4e9c-bfc0-c129b59987d2: !Template + answer_choices: '' + id: 0e53cfb8-2768-4e9c-bfc0-c129b59987d2 + jinja: '{{ context[:answers.answer_start[0]-5]}}... 继续上述操作,使其回答“{{question}}”:||| + {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + 1ccb7491-4452-40bc-a704-5aae0a38c0f4: !Template + answer_choices: '' + id: 1ccb7491-4452-40bc-a704-5aae0a38c0f4 + jinja: 'D:{{context}} + + + 问:{{question}} + + + 答:||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_zhmt + reference: '' + 992e5e75-01cd-4aff-a13c-1daf13aedcd0: !Template + answer_choices: '' + id: 992e5e75-01cd-4aff-a13c-1daf13aedcd0 + jinja: '我找到了一个用 {{answers.text[0]}} 回答“{{answers.text[0]}}”的文本。它以“{{ context[:10] + }}”开头。可以继续吗? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_zhmt + reference: '' + cf75a543-faeb-4471-8773-4d70e2c3c08c: !Template + answer_choices: '' + id: cf75a543-faeb-4471-8773-4d70e2c3c08c + jinja: "问题:{{question}}\n 上下文:{{context}}\n 从上下文中回答:||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_zhmt + reference: '' + d70b19b0-74cb-4625-a08d-2ca4be1da757: !Template + answer_choices: '' + id: d70b19b0-74cb-4625-a08d-2ca4be1da757 + jinja: '参考下面的段落,然后用与段落相同的语言回答问题: + + + 段落:{{context}} + + + 问题:{{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_zhmt + reference: '' + e04e225a-a5e6-4e0b-872e-7b13c4c6deb3: !Template + answer_choices: '' + id: e04e225a-a5e6-4e0b-872e-7b13c4c6deb3 + jinja: '{{context}} + + + 参考上述上下文,{{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_zhmt + reference: '' + f0c3071c-a94f-418a-9980-7097c4b4d7c8: !Template + answer_choices: '' + id: f0c3071c-a94f-418a-9980-7097c4b4d7c8 + jinja: '{{context}} + + 问:{{question}} + + 参考上面的段落,用该段落的语言对给定问题的正确答案是||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_zhmt + reference: '' diff --git a/promptsource/templates/mlqa/mlqa.zh.zh/templates.yaml b/promptsource/templates/mlqa/mlqa.zh.zh/templates.yaml new file mode 100644 index 000000000..3083aad43 --- /dev/null +++ b/promptsource/templates/mlqa/mlqa.zh.zh/templates.yaml @@ -0,0 +1,127 @@ +dataset: mlqa +subset: mlqa.zh.vi +templates: + 0b765eee-2ef0-4b95-97f2-9c7605f06087: !Template + answer_choices: '' + id: 0b765eee-2ef0-4b95-97f2-9c7605f06087 + jinja: '阅读下面的短文,然后从短文中选出正确的部分来回答下面的问题: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: exractingcqa_zhmt + reference: '' + 0e53cfb8-2768-4e9c-bfc0-c129b59987d2: !Template + answer_choices: '' + id: 0e53cfb8-2768-4e9c-bfc0-c129b59987d2 + jinja: '{{ context[:answers.answer_start[0]-5]}}... 继续上述操作,使其回答“{{question}}”:||| + {{ context[answers.answer_start[0]-5:]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontinue_zhmt + reference: '' + 1ccb7491-4452-40bc-a704-5aae0a38c0f4: !Template + answer_choices: '' + id: 1ccb7491-4452-40bc-a704-5aae0a38c0f4 + jinja: 'D:{{context}} + + + 问:{{question}} + + + 答:||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: dqa_zhmt + reference: '' + 992e5e75-01cd-4aff-a13c-1daf13aedcd0: !Template + answer_choices: '' + id: 992e5e75-01cd-4aff-a13c-1daf13aedcd0 + jinja: '我找到了一个用 {{answers.text[0]}} 回答“{{answers.text[0]}}”的文本。它以“{{ context[:10] + }}”开头。可以继续吗? + + ||| {{ context[10:] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longanswers_zhmt + reference: '' + cf75a543-faeb-4471-8773-4d70e2c3c08c: !Template + answer_choices: '' + id: cf75a543-faeb-4471-8773-4d70e2c3c08c + jinja: "问题:{{question}}\n 上下文:{{context}}\n 从上下文中回答:||| {{answers.text[0]}}" + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: qaanswera_zhmt + reference: '' + d70b19b0-74cb-4625-a08d-2ca4be1da757: !Template + answer_choices: '' + id: d70b19b0-74cb-4625-a08d-2ca4be1da757 + jinja: '参考下面的段落,然后用与段落相同的语言回答问题: + + + 段落:{{context}} + + + 问题:{{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: refercqa_zhmt + reference: '' + e04e225a-a5e6-4e0b-872e-7b13c4c6deb3: !Template + answer_choices: '' + id: e04e225a-a5e6-4e0b-872e-7b13c4c6deb3 + jinja: '{{context}} + + + 参考上述上下文,{{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: creferenceqa_zhmt + reference: '' + f0c3071c-a94f-418a-9980-7097c4b4d7c8: !Template + answer_choices: '' + id: f0c3071c-a94f-418a-9980-7097c4b4d7c8 + jinja: '{{context}} + + 问:{{question}} + + 参考上面的段落,用该段落的语言对给定问题的正确答案是||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cqreferringa_zhmt + reference: '' diff --git a/promptsource/templates/pasinit/xlwic/xlwic_en_zh/templates.yaml b/promptsource/templates/pasinit/xlwic/xlwic_en_zh/templates.yaml new file mode 100644 index 000000000..c4277fc29 --- /dev/null +++ b/promptsource/templates/pasinit/xlwic/xlwic_en_zh/templates.yaml @@ -0,0 +1,219 @@ +dataset: pasinit/xlwic +subset: xlwic_en_zh +templates: + 09504d75-457e-4a54-8ad1-7ca3b2104fe7: !Template + answer_choices: 不 ||| 是的 + id: 09504d75-457e-4a54-8ad1-7ca3b2104fe7 + jinja: '第 1 句:{{context_1}} + + 句子 2:{{context_2}} + + + 确定单词“{{target_word}}”在两个句子中的使用是否相同。是还是不是? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: same_sense_zhmt + reference: '' + 123f732d-44a2-4215-87cd-f21ad10ca905: !Template + answer_choices: 不 ||| 是的 + id: 123f732d-44a2-4215-87cd-f21ad10ca905 + jinja: '家庭作业 + + + 判断“{{target_word}}”这个词在以下两个句子中的含义是否相同。回答是或否。 + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: grammar_homework_zhmt + reference: '' + 687e7297-1f5e-47b6-8e5a-51667f3033f4: !Template + answer_choices: 不 ||| 是的 + id: 687e7297-1f5e-47b6-8e5a-51667f3033f4 + jinja: '{{context_1}} + + {{context_2}} + + {{target_word}} 的类似意义? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: similar-sense_zhmt + reference: '' + 6e431c33-dfde-4f76-83bc-a44e6cf14b69: !Template + answer_choices: 不 ||| 是的 + id: 6e431c33-dfde-4f76-83bc-a44e6cf14b69 + jinja: '“{{target_word}}”这个词有多种含义。第 1 句和第 2 句的意思相同吗?是还是不是? + + + 第 1 句:{{context_1}} + + 句子 2:{{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: polysemous_zhmt + reference: '' + 73aa2454-4356-40ef-b846-fa4d854b814f: !Template + answer_choices: 不 ||| 是的 + id: 73aa2454-4356-40ef-b846-fa4d854b814f + jinja: '确定以下两个句子中是否以相同的方式使用了单词“{{target_word}}”。 + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: question-context_zhmt + reference: '' + 9fe902a6-744f-414b-91ce-50178f5c9be8: !Template + answer_choices: 不 ||| 是的 + id: 9fe902a6-744f-414b-91ce-50178f5c9be8 + jinja: '{{context_1}} + + {{context_2}} + + 问题:“{{target_word}}”这个词在上面两个句子中的含义是否相同? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3-prompt_zhmt + reference: '' + a866bce3-7166-477a-b0b6-9302fdfbe561: !Template + answer_choices: 不 ||| 是的 + id: a866bce3-7166-477a-b0b6-9302fdfbe561 + jinja: '“{{target_word}}”这个词在这两个句子中是否具有相同的含义?是的,不是吗? + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: question-context-meaning-with-label_zhmt + reference: '' + cff7bb69-4f52-4148-8a1c-f901e4e8bf11: !Template + answer_choices: 不 ||| 是的 + id: cff7bb69-4f52-4148-8a1c-f901e4e8bf11 + jinja: '“{{target_word}}”这个词在这两个句子中是否具有相同的含义? + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: question-context-meaning_zhmt + reference: '' + d1938fc0-7719-4066-9cb6-9036505fadb0: !Template + answer_choices: 错误的 ||| 真的 + id: d1938fc0-7719-4066-9cb6-9036505fadb0 + jinja: '句子 A:{{context_1}} + + 句子 B:{{context_2}} + + + “{{target_word}}”在句子 A 和 B 中具有相似的含义。对还是错? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: affirmation_true_or_false_zhmt + reference: '' + d1aa5411-d568-4fa9-b787-e5829bf9b463: !Template + answer_choices: 不 ||| 是的 + id: d1aa5411-d568-4fa9-b787-e5829bf9b463 + jinja: '{{context_1}} + + {{context_2}} + + 问题:“{{target_word}}”这个词在上面两个句子中的含义是否相同?是的,不是吗? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3-prompt-with-label_zhmt + reference: '' diff --git a/promptsource/templates/pasinit/xlwic/xlwic_fr_fr/templates.yaml b/promptsource/templates/pasinit/xlwic/xlwic_fr_fr/templates.yaml new file mode 100644 index 000000000..15ded5460 --- /dev/null +++ b/promptsource/templates/pasinit/xlwic/xlwic_fr_fr/templates.yaml @@ -0,0 +1,227 @@ +dataset: pasinit/xlwic +subset: xlwic_fr_fr +templates: + 04522368-0552-4aa5-9866-3fab59db7a51: !Template + answer_choices: Non ||| Oui + id: 04522368-0552-4aa5-9866-3fab59db7a51 + jinja: '{{context_1}} + + {{context_2}} + + Sens similaire de {{target_word}} ? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: similar-sense_frmt + reference: '' + 1600d6e0-8a32-443c-b4c7-e6d98b6bb297: !Template + answer_choices: Non ||| Oui + id: 1600d6e0-8a32-443c-b4c7-e6d98b6bb297 + jinja: 'Devoirs + + + Décidez si le mot "{{target_word}}" est utilisé avec le même sens dans les deux + phrases suivantes. Répondez par oui ou non. + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: grammar_homework_frmt + reference: '' + 23237e14-304a-4cd9-87e2-0feae2c2af1c: !Template + answer_choices: Non ||| Oui + id: 23237e14-304a-4cd9-87e2-0feae2c2af1c + jinja: 'Le mot "{{target_word}}" a-t-il le même sens dans ces deux phrases ? Oui + Non? + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: question-context-meaning-with-label_frmt + reference: '' + 3c0bd2f3-62a2-42ae-9a89-a98393c1aee3: !Template + answer_choices: Non ||| Oui + id: 3c0bd2f3-62a2-42ae-9a89-a98393c1aee3 + jinja: '{{context_1}} + + {{context_2}} + + Question : Le mot ''{{target_word}}'' est-il utilisé dans le même sens dans + les deux phrases ci-dessus ? Oui Non? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3-prompt-with-label_frmt + reference: '' + 3ddbfa6b-603b-478e-98a0-ff71a5e39d0a: !Template + answer_choices: Non ||| Oui + id: 3ddbfa6b-603b-478e-98a0-ff71a5e39d0a + jinja: 'Le mot "{{target_word}}" a plusieurs significations. A-t-il le même sens + dans les phrases 1 et 2 ? Oui ou non? + + + Phrase 1 : {{context_1}} + + Phrase 2 : {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: polysemous_frmt + reference: '' + 57471fc4-0326-442f-a464-6d90f4658a11: !Template + answer_choices: Non ||| Oui + id: 57471fc4-0326-442f-a464-6d90f4658a11 + jinja: 'Phrase 1 : {{context_1}} + + Phrase 2 : {{context_2}} + + + Déterminez si le mot "{{target_word}}" est utilisé dans le même sens dans les + deux phrases. Oui ou non? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: same_sense_frmt + reference: '' + 5b856ac0-24a6-41ae-a767-78573a0e56dc: !Template + answer_choices: Non ||| Oui + id: 5b856ac0-24a6-41ae-a767-78573a0e56dc + jinja: 'Le mot "{{target_word}}" a-t-il le même sens dans ces deux phrases ? + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: question-context-meaning_frmt + reference: '' + 68877a29-d08b-45e2-8a41-64f076901452: !Template + answer_choices: Faux ||| Vrai + id: 68877a29-d08b-45e2-8a41-64f076901452 + jinja: 'Phrase A : {{context_1}} + + Phrase B : {{context_2}} + + + "{{target_word}}" a une signification similaire dans les phrases A et B. Vrai + ou faux ? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: affirmation_true_or_false_frmt + reference: '' + 6bf786ed-570b-4f60-9478-ffbaf9eff1f1: !Template + answer_choices: Non ||| Oui + id: 6bf786ed-570b-4f60-9478-ffbaf9eff1f1 + jinja: 'Déterminez si le mot ''{{target_word}}'' est utilisé de la même manière + dans les deux phrases ci-dessous. + + {{context_1}} + + {{context_2}} + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: question-context_frmt + reference: '' + f3018e7d-f330-4263-b777-380eb14a5f05: !Template + answer_choices: Non ||| Oui + id: f3018e7d-f330-4263-b777-380eb14a5f05 + jinja: '{{context_1}} + + {{context_2}} + + Question : Le mot ''{{target_word}}'' est-il utilisé dans le même sens dans + les deux phrases ci-dessus ? + + ||| {% if label != -1%} + + {{answer_choices[label]}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3-prompt_frmt + reference: '' diff --git a/promptsource/templates/paws-x/es/templates.yaml b/promptsource/templates/paws-x/es/templates.yaml new file mode 100644 index 000000000..31467a523 --- /dev/null +++ b/promptsource/templates/paws-x/es/templates.yaml @@ -0,0 +1,226 @@ +dataset: paws-x +subset: es +templates: + 0a122106-6404-4798-a8fd-016600bb02ee: !Template + answer_choices: No ||| Sí + id: 0a122106-6404-4798-a8fd-016600bb02ee + jinja: 'Oración 1: {{sentence1}} + + Oración 2: {{sentence2}} + + Pregunta: ¿La oración 1 parafrasea la oración 2? ¿Si o no? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation_esmt + reference: '' + 31d8a7cb-ad57-48b9-924e-7614681855ce: !Template + answer_choices: No ||| Sí + id: 31d8a7cb-ad57-48b9-924e-7614681855ce + jinja: '{{sentence1}} Pregunta: {{sentence2}} ¿Parafrasear o no? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3-no-label_esmt + reference: '' + 3dda3b37-8960-412b-9561-8cde82344d84: !Template + answer_choices: No ||| Sí + id: 3dda3b37-8960-412b-9561-8cde82344d84 + jinja: '{{sentence1}} + + ¿Es una paráfrasis de la siguiente oración? + + {{sentence2}}? + + Si o no. + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question_esmt + reference: '' + 40802ed6-9716-415d-b4a8-48ea8bc5ee40: !Template + answer_choices: No ||| Sí + id: 40802ed6-9716-415d-b4a8-48ea8bc5ee40 + jinja: 'Oración 1: {{sentence1}} + + Oración 2: {{sentence2}} + + Pregunta: ¿La Oración 1 y la Oración 2 expresan el mismo significado? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning-no-label_esmt + reference: '' + 5d42e943-64b6-4fd2-8b2d-d2cdcfe1e4b4: !Template + answer_choices: '' + id: 5d42e943-64b6-4fd2-8b2d-d2cdcfe1e4b4 + jinja: '{% if label == 1 %} + + Parafrasea la oración: {{sentence1}} + + ||| + + {{sentence2}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: paraphrase-task_esmt + reference: '' + 7042814c-a81c-417c-8b75-50784cab0451: !Template + answer_choices: Falso ||| Verdadero + id: 7042814c-a81c-417c-8b75-50784cab0451 + jinja: '{{sentence1}} Pregunta: {{sentence2}} ¿Verdadero o falso? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3_esmt + reference: '' + 737fc747-e049-4265-9fed-3cb31915c759: !Template + answer_choices: No ||| Sí + id: 737fc747-e049-4265-9fed-3cb31915c759 + jinja: 'Oración 1: {{sentence1}} + + Oración 2: {{sentence2}} + + Pregunta: ¿La oración 1 parafrasea la oración 2? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation-no-label_esmt + reference: '' + 756034c7-1972-4567-8284-99a74ee841e6: !Template + answer_choices: No ||| Sí + id: 756034c7-1972-4567-8284-99a74ee841e6 + jinja: 'Determina si las siguientes dos oraciones se parafrasean entre sí o no. + + Enviado 1: {{sentence1}} + + Enviado 2: {{sentence2}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: task_description-no-label_esmt + reference: '' + 90521fcf-441b-4734-bd64-ec7d187c6390: !Template + answer_choices: No ||| Sí + id: 90521fcf-441b-4734-bd64-ec7d187c6390 + jinja: 'Oración 1: {{sentence1}} + + Oración 2: {{sentence2}} + + Pregunta: ¿La Oración 1 y la Oración 2 expresan el mismo significado? ¿Si o + no? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning_esmt + reference: '' + a9a564b1-8430-44aa-ad3f-de9dc98a79c1: !Template + answer_choices: No ||| Sí + id: a9a564b1-8430-44aa-ad3f-de9dc98a79c1 + jinja: 'Oración 1: {{sentence1}} + + Oración 2: {{sentence2}} + + Pregunta: ¿Podemos reescribir la Oración 1 a la Oración 2? ¿Si o no? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite_esmt + reference: '' + ab9ee3e5-b5c9-4545-a98b-78053e9a489c: !Template + answer_choices: No ||| Sí + id: ab9ee3e5-b5c9-4545-a98b-78053e9a489c + jinja: '{{sentence1}} + + ¿Es una paráfrasis de la siguiente oración? + + {{sentence2}}? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question-no-label_esmt + reference: '' + bc2e96ef-8592-4e73-9641-cce071efa7f7: !Template + answer_choices: No ||| Sí + id: bc2e96ef-8592-4e73-9641-cce071efa7f7 + jinja: 'Oración 1: {{sentence1}} + + Oración 2: {{sentence2}} + + Pregunta: ¿Podemos reescribir la Oración 1 a la Oración 2? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite-no-label_esmt + reference: '' diff --git a/promptsource/templates/paws-x/fr/templates.yaml b/promptsource/templates/paws-x/fr/templates.yaml new file mode 100644 index 000000000..5796e586f --- /dev/null +++ b/promptsource/templates/paws-x/fr/templates.yaml @@ -0,0 +1,226 @@ +dataset: paws-x +subset: fr +templates: + 09d17cc8-3627-48b6-971b-d15a379bce0f: !Template + answer_choices: Faux ||| Vrai + id: 09d17cc8-3627-48b6-971b-d15a379bce0f + jinja: '{{sentence1}} Question : {{sentence2}} Vrai ou Faux ? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3_frmt + reference: '' + 20b6c71b-c9b7-4a7d-a7d0-ef2459f94793: !Template + answer_choices: Non ||| Oui + id: 20b6c71b-c9b7-4a7d-a7d0-ef2459f94793 + jinja: 'Phrase 1 : {{sentence1}} + + Phrase 2 : {{sentence2}} + + Question : La phrase 1 et la phrase 2 expriment-elles le même sens ? Oui ou + non? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning_frmt + reference: '' + 39e6d398-4baa-48b9-a947-55b3aa601d53: !Template + answer_choices: Non ||| Oui + id: 39e6d398-4baa-48b9-a947-55b3aa601d53 + jinja: 'Phrase 1 : {{sentence1}} + + Phrase 2 : {{sentence2}} + + Question : Peut-on réécrire la Phrase 1 en Phrase 2 ? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite-no-label_frmt + reference: '' + 62c3ac6c-6b48-451b-814b-a9479883f8f1: !Template + answer_choices: Non ||| Oui + id: 62c3ac6c-6b48-451b-814b-a9479883f8f1 + jinja: 'Phrase 1 : {{sentence1}} + + Phrase 2 : {{sentence2}} + + Question : Est-ce que la phrase 1 paraphrase la phrase 2 ? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation-no-label_frmt + reference: '' + 72adf23d-d1ba-4632-bae3-5f37a27bba25: !Template + answer_choices: '' + id: 72adf23d-d1ba-4632-bae3-5f37a27bba25 + jinja: '{% if label == 1 %} + + Paraphrasez la phrase : {{sentence1}} + + ||| + + {{sentence2}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: paraphrase-task_frmt + reference: '' + 767fcbbb-c40b-4861-94a8-da7b728e8198: !Template + answer_choices: Non ||| Oui + id: 767fcbbb-c40b-4861-94a8-da7b728e8198 + jinja: '{{sentence1}} + + Est-ce une paraphrase de la phrase suivante ? + + {{sentence2}} ? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question-no-label_frmt + reference: '' + 93689a37-8113-4120-8e73-84f109ea7324: !Template + answer_choices: Non ||| Oui + id: 93689a37-8113-4120-8e73-84f109ea7324 + jinja: 'Phrase 1 : {{sentence1}} + + Phrase 2 : {{sentence2}} + + Question : Est-ce que la phrase 1 paraphrase la phrase 2 ? Oui ou non? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation_frmt + reference: '' + 94dde34a-e50d-466c-86a0-dbbe8e9aa7e7: !Template + answer_choices: Non ||| Oui + id: 94dde34a-e50d-466c-86a0-dbbe8e9aa7e7 + jinja: 'Phrase 1 : {{sentence1}} + + Phrase 2 : {{sentence2}} + + Question : La phrase 1 et la phrase 2 expriment-elles le même sens ? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning-no-label_frmt + reference: '' + ce953c47-bd2d-4e7e-8f24-e1fdaea6bcb5: !Template + answer_choices: Non ||| Oui + id: ce953c47-bd2d-4e7e-8f24-e1fdaea6bcb5 + jinja: '{{sentence1}} Question : {{sentence2}} Paraphrase ou pas ? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3-no-label_frmt + reference: '' + ea0dde04-e357-45e9-86b6-a40dc083571d: !Template + answer_choices: Non ||| Oui + id: ea0dde04-e357-45e9-86b6-a40dc083571d + jinja: '{{sentence1}} + + Est-ce une paraphrase de la phrase suivante ? + + {{sentence2}} ? + + Oui ou non. + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question_frmt + reference: '' + f10a89dc-744a-4a03-8c39-7c19a864bc16: !Template + answer_choices: Non ||| Oui + id: f10a89dc-744a-4a03-8c39-7c19a864bc16 + jinja: 'Déterminez si les deux phrases suivantes se paraphrasent ou non. + + Envoyé 1 : {{sentence1}} + + Envoyé 2 : {{sentence2}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: task_description-no-label_frmt + reference: '' + fadc29e4-5cd7-4502-ae97-816ef77dbbeb: !Template + answer_choices: Non ||| Oui + id: fadc29e4-5cd7-4502-ae97-816ef77dbbeb + jinja: 'Phrase 1 : {{sentence1}} + + Phrase 2 : {{sentence2}} + + Question : Peut-on réécrire la Phrase 1 en Phrase 2 ? Oui ou non? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite_frmt + reference: '' diff --git a/promptsource/templates/paws-x/vi/templates.yaml b/promptsource/templates/paws-x/vi/templates.yaml new file mode 100644 index 000000000..360d38c4b --- /dev/null +++ b/promptsource/templates/paws-x/vi/templates.yaml @@ -0,0 +1,225 @@ +dataset: paws-x +subset: vi +templates: + 17dff644-464e-4e73-8346-89e63de56b47: !Template + answer_choices: Sai ||| ĐÚNG VẬY + id: 17dff644-464e-4e73-8346-89e63de56b47 + jinja: '{{sentence1}} Câu hỏi: {{sentence2}} Đúng hay Sai? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3_vimt + reference: '' + 96bfe976-af10-490a-8b2e-9f1d47b72656: !Template + answer_choices: '' + id: 96bfe976-af10-490a-8b2e-9f1d47b72656 + jinja: '{% if label == 1 %} + + Diễn giải câu: {{sentence1}} + + ||| + + {{sentence2}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: paraphrase-task_vimt + reference: '' + 9afeafe8-558c-42b9-8b68-86232385c68d: !Template + answer_choices: Không ||| Đúng + id: 9afeafe8-558c-42b9-8b68-86232385c68d + jinja: 'Câu 1: {{sentence1}} + + Câu 2: {{sentence2}} + + Câu hỏi: Câu 1 có diễn giải câu 2 không? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation-no-label_vimt + reference: '' + a51267de-c657-41e5-9e12-0f0de6632f37: !Template + answer_choices: Không ||| Đúng + id: a51267de-c657-41e5-9e12-0f0de6632f37 + jinja: 'Câu 1: {{sentence1}} + + Câu 2: {{sentence2}} + + Câu hỏi: Chúng ta có thể viết lại Câu 1 thành Câu 2 được không? Có hay không? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite_vimt + reference: '' + acff8cf9-42f5-4ed6-87a6-054eec2d8715: !Template + answer_choices: Không ||| Đúng + id: acff8cf9-42f5-4ed6-87a6-054eec2d8715 + jinja: '{{sentence1}} Câu hỏi: {{sentence2}} Diễn giải hay không? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3-no-label_vimt + reference: '' + b8777fdf-6e79-4d61-8c6b-68eed45a76a3: !Template + answer_choices: Không ||| Đúng + id: b8777fdf-6e79-4d61-8c6b-68eed45a76a3 + jinja: 'Câu 1: {{sentence1}} + + Câu 2: {{sentence2}} + + Câu hỏi: Câu 1 có diễn giải câu 2 không? Có hay không? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation_vimt + reference: '' + c368769b-1f7b-472e-ac60-f75c5c62c72a: !Template + answer_choices: Không ||| Đúng + id: c368769b-1f7b-472e-ac60-f75c5c62c72a + jinja: 'Câu 1: {{sentence1}} + + Câu 2: {{sentence2}} + + Câu hỏi: Chúng ta có thể viết lại Câu 1 thành Câu 2 được không? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite-no-label_vimt + reference: '' + c8df686c-d867-4c4c-9511-a7d2974509fa: !Template + answer_choices: Không ||| Đúng + id: c8df686c-d867-4c4c-9511-a7d2974509fa + jinja: 'Câu 1: {{sentence1}} + + Câu 2: {{sentence2}} + + Câu hỏi: Câu 1 và câu 2 có cùng ý nghĩa không? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning-no-label_vimt + reference: '' + d655f830-7c06-4d45-b171-0d0ea4b66c1a: !Template + answer_choices: Không ||| Đúng + id: d655f830-7c06-4d45-b171-0d0ea4b66c1a + jinja: '{{sentence1}} + + Đó có phải là một cách diễn đạt của câu sau không? + + {{sentence2}}? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question-no-label_vimt + reference: '' + d6612fe4-a3bf-496c-83b2-27eeaf400d54: !Template + answer_choices: Không ||| Đúng + id: d6612fe4-a3bf-496c-83b2-27eeaf400d54 + jinja: 'Câu 1: {{sentence1}} + + Câu 2: {{sentence2}} + + Câu hỏi: Câu 1 và câu 2 có cùng ý nghĩa không? Có hay không? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning_vimt + reference: '' + e30408ca-8c4d-441a-b4f7-779d47dd6550: !Template + answer_choices: Không ||| Đúng + id: e30408ca-8c4d-441a-b4f7-779d47dd6550 + jinja: 'Xác định xem hai câu sau có diễn giải lẫn nhau hay không. + + Đã gửi 1: {{sentence1}} + + Câu 2: {{sentence2}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: task_description-no-label_vimt + reference: '' + e419efb4-51ec-4cd5-a7a4-2d956c7081a1: !Template + answer_choices: Không ||| Đúng + id: e419efb4-51ec-4cd5-a7a4-2d956c7081a1 + jinja: '{{sentence1}} + + Đó có phải là một cách diễn đạt của câu sau không? + + {{sentence2}}? + + Có hay không. + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question_vimt + reference: '' diff --git a/promptsource/templates/paws-x/zh/templates.yaml b/promptsource/templates/paws-x/zh/templates.yaml new file mode 100644 index 000000000..1e9b76778 --- /dev/null +++ b/promptsource/templates/paws-x/zh/templates.yaml @@ -0,0 +1,225 @@ +dataset: paws-x +subset: zh +templates: + 0a450b84-66bb-4697-8137-bb223de517e0: !Template + answer_choices: 不 ||| 是的 + id: 0a450b84-66bb-4697-8137-bb223de517e0 + jinja: '第 1 句:{{sentence1}} + + 句子 2:{{sentence2}} + + 问题:我们可以将第 1 句改写为第 2 句吗? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite-no-label_zhmt + reference: '' + 11b72ab2-3a8f-4d23-b03e-bf75dc82ce77: !Template + answer_choices: 不 ||| 是的 + id: 11b72ab2-3a8f-4d23-b03e-bf75dc82ce77 + jinja: '{{sentence1}} 问题:{{sentence2}} 转述与否? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3-no-label_zhmt + reference: '' + 2e9c15db-fb24-4157-82be-03464ce73479: !Template + answer_choices: 不 ||| 是的 + id: 2e9c15db-fb24-4157-82be-03464ce73479 + jinja: '第 1 句:{{sentence1}} + + 句子 2:{{sentence2}} + + 问题:我们可以将第 1 句改写为第 2 句吗?是还是不是? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Rewrite_zhmt + reference: '' + 3a0714c3-9544-4b1c-b3cb-1e6cbcc3e41d: !Template + answer_choices: 不 ||| 是的 + id: 3a0714c3-9544-4b1c-b3cb-1e6cbcc3e41d + jinja: '第 1 句:{{sentence1}} + + 句子 2:{{sentence2}} + + 问题:第 1 句是否对第 2 句进行了转述? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation-no-label_zhmt + reference: '' + 54a8cbde-cc16-4abd-80e6-b7e057a247a1: !Template + answer_choices: 不 ||| 是的 + id: 54a8cbde-cc16-4abd-80e6-b7e057a247a1 + jinja: '{{sentence1}} + + 这是对以下句子的转述吗? + + {{sentence2}}? + + 是还是不是。 + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question_zhmt + reference: '' + 6c74272e-9df6-4e36-bbe7-61703a68f82b: !Template + answer_choices: 不 ||| 是的 + id: 6c74272e-9df6-4e36-bbe7-61703a68f82b + jinja: '第 1 句:{{sentence1}} + + 句子 2:{{sentence2}} + + 问题:第 1 句是否对第 2 句进行了转述?是还是不是? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Concatenation_zhmt + reference: '' + 8e3d798a-f886-4291-9fc4-18f43786b84b: !Template + answer_choices: 不 ||| 是的 + id: 8e3d798a-f886-4291-9fc4-18f43786b84b + jinja: '第 1 句:{{sentence1}} + + 句子 2:{{sentence2}} + + 问:第1句和第2句表达的意思一样吗?是还是不是? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning_zhmt + reference: '' + a4df0518-d0a1-4092-9217-f0c11cd96ef8: !Template + answer_choices: 不 ||| 是的 + id: a4df0518-d0a1-4092-9217-f0c11cd96ef8 + jinja: '{{sentence1}} + + 这是对以下句子的转述吗? + + {{sentence2}}? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: context-question-no-label_zhmt + reference: '' + aeab7810-808d-48ca-9dec-93fc26635991: !Template + answer_choices: 不 ||| 是的 + id: aeab7810-808d-48ca-9dec-93fc26635991 + jinja: '判断以下两个句子是否相互转述。 + + 发送 1:{{sentence1}} + + 发送 2:{{sentence2}} + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: task_description-no-label_zhmt + reference: '' + b45b4873-b819-46d1-b9af-c4229eb8dbfd: !Template + answer_choices: 错误的 ||| 真的 + id: b45b4873-b819-46d1-b9af-c4229eb8dbfd + jinja: '{{sentence1}} 问题:{{sentence2}} 对还是错? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: PAWS-ANLI GPT3_zhmt + reference: '' + e067afb8-5f0f-48d0-b917-92dcfbcc3d9f: !Template + answer_choices: 不 ||| 是的 + id: e067afb8-5f0f-48d0-b917-92dcfbcc3d9f + jinja: '第 1 句:{{sentence1}} + + 句子 2:{{sentence2}} + + 问:第1句和第2句表达的意思一样吗? + + ||| + + {{answer_choices[label]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: Meaning-no-label_zhmt + reference: '' + ec43a8d0-b64a-4066-9f99-f19caa06ff50: !Template + answer_choices: '' + id: ec43a8d0-b64a-4066-9f99-f19caa06ff50 + jinja: '{% if label == 1 %} + + 转述句子:{{sentence1}} + + ||| + + {{sentence2}} + + {% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: paraphrase-task_zhmt + reference: '' diff --git a/promptsource/templates/xcopa/en/templates.yaml b/promptsource/templates/xcopa/en/templates.yaml index 4e65320f1..e678e86d9 100644 --- a/promptsource/templates/xcopa/en/templates.yaml +++ b/promptsource/templates/xcopa/en/templates.yaml @@ -1,9 +1,9 @@ dataset: xcopa subset: en templates: - 1edd8660-f299-4819-a5ac-633c11177228: !Template + 1d23192b-7276-4e6b-9e21-c65953f42f4d: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: 1edd8660-f299-4819-a5ac-633c11177228 + id: 1d23192b-7276-4e6b-9e21-c65953f42f4d jinja: 'Exercise: choose the most plausible alternative. @@ -22,9 +22,24 @@ templates: original_task: true name: exercise reference: '' - 5d879cbe-2fd7-424a-9d78-3f5200313fba: !Template + 2a2a351a-bae3-426c-9f3d-8908a200159e: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: 5d879cbe-2fd7-424a-9d78-3f5200313fba + id: 2a2a351a-bae3-426c-9f3d-8908a200159e + jinja: "{% if question == \"effect\" %} \n{{ premise }} What could happen next,\ + \ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\ + \ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - en + metrics: + - Accuracy + original_task: true + name: "\u2026What could happen next, C1 or C2?" + reference: '' + 4866dc0c-b91c-44a9-8436-6e227e545859: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 4866dc0c-b91c-44a9-8436-6e227e545859 jinja: "{{ premise }} \n\nI am hesitating between two options. Help me choose\ \ the more likely {% if question == \"cause\" %} cause: {% else %} effect: {%\ \ endif %}\n- {{choice1}}\n- {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label]\ @@ -38,9 +53,9 @@ templates: original_task: true name: i_am_hesitating reference: '' - 76ea075e-4d03-4a78-b1fa-9a5228cf0c9d: !Template + 49e8635c-4e5a-48e5-a52a-12aa5b5d8d27: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: 76ea075e-4d03-4a78-b1fa-9a5228cf0c9d + id: 49e8635c-4e5a-48e5-a52a-12aa5b5d8d27 jinja: '{{ premise }} {% if question == "cause" %} This happened because... {% else %} As a consequence... {% endif %} @@ -58,9 +73,9 @@ templates: original_task: true name: plausible_alternatives reference: '' - 844047dc-1298-45a2-8d68-d67e3f834ded: !Template - answer_choices: '{{choice1 }} ||| {{choice2}}' - id: 844047dc-1298-45a2-8d68-d67e3f834ded + 5781b266-6eb9-49aa-880c-9669cbdb4017: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 5781b266-6eb9-49aa-880c-9669cbdb4017 jinja: '"{{ answer_choices[0] }}" or "{{ answer_choices[1] }}"? {{ premise }} {% if question == "cause" %} because {% else %} so {% endif %} ||| {% if label != -1 %}{{ answer_choices[label] }}{% endif %}' @@ -73,9 +88,24 @@ templates: original_task: true name: "C1 or C2? premise, so/because\u2026" reference: "Adapted from Perez et al. 2021 and Schick & Sch\xFCtz 2021." - 9ce80f8a-239e-4393-892c-f63dbb0d9929: !Template + 85ffa482-d662-497f-bdcd-586b60918d37: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 85ffa482-d662-497f-bdcd-586b60918d37 + jinja: "{% if question == \"effect\" %} \n{{ premise }} As a result, \"{{ answer_choices[0]\ + \ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\ + \ }}{%endif%}\n{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - en + metrics: + - Accuracy + original_task: true + name: "\u2026As a result, C1 or C2?" + reference: '' + 9b9cc9e5-2ca9-43f5-9a1f-b5831ed5d77d: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: 9ce80f8a-239e-4393-892c-f63dbb0d9929 + id: 9b9cc9e5-2ca9-43f5-9a1f-b5831ed5d77d jinja: "{{ premise }} \n\nWhat's the best option?\n- {{choice1}}\n- {{choice2}}\n\ \nWe are looking for {% if question == \"cause\" %} a cause {% else %} an effect\ \ {% endif %}\n||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}" @@ -88,9 +118,24 @@ templates: original_task: true name: best_option reference: '' - b1f9951e-2b6b-4530-9636-9cdf4c1658c5: !Template + b5206dd3-7856-41fc-9671-5a22de303334: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: b1f9951e-2b6b-4530-9636-9cdf4c1658c5 + id: b5206dd3-7856-41fc-9671-5a22de303334 + jinja: "{% if question == \"cause\" %} \n{{ premise }} Which may be caused by\ + \ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\ + \ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - en + metrics: + - Accuracy + original_task: true + name: "\u2026which may be caused by" + reference: '' + b90379c6-98d6-436e-a0db-466ad0f5a1c1: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: b90379c6-98d6-436e-a0db-466ad0f5a1c1 jinja: 'Pick the more likely continuation to the following sentence: {{ premise }} {% if question == "cause" %} as a result of: {% else %} as a consequence: @@ -108,9 +153,9 @@ templates: original_task: true name: more likely reference: '' - b61d8c21-da25-47bf-b5fe-14a8edd650af: !Template + bd78db08-6b60-40e4-840b-b2495153c738: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: b61d8c21-da25-47bf-b5fe-14a8edd650af + id: bd78db08-6b60-40e4-840b-b2495153c738 jinja: '{{ premise }} @@ -129,9 +174,24 @@ templates: original_task: true name: cause_effect reference: '' - g32348cd-d3cb-4619-87b9-e24f99c78567: !Template + d016e3c4-45ae-4711-a360-71ab8e139e91: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: d016e3c4-45ae-4711-a360-71ab8e139e91 + jinja: "{% if question == \"cause\" %} \n{{ premise }} Why? \"{{ answer_choices[0]\ + \ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\ + \ }}{%endif%}\n{% endif %}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - en + metrics: + - Accuracy + original_task: true + name: "\u2026why? C1 or C2" + reference: '' + f5dc9303-918b-485e-927c-76c8fc76c55f: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: g32348cd-d3cb-4619-87b9-e24f99c78567 + id: f5dc9303-918b-485e-927c-76c8fc76c55f jinja: '{{ premise }} {% if question == "cause" %} because... {% else %} so... {% endif %} diff --git a/promptsource/templates/xcopa/et/templates.yaml b/promptsource/templates/xcopa/et/templates.yaml new file mode 100644 index 000000000..0b0897b02 --- /dev/null +++ b/promptsource/templates/xcopa/et/templates.yaml @@ -0,0 +1,95 @@ +dataset: xcopa +subset: et +templates: + 54f83669-4566-4856-86cb-9a0cc3d5747a: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 54f83669-4566-4856-86cb-9a0cc3d5747a + jinja: '{{ premise }} + + + Kahtlen kahe variandi vahel. Aidake mul valida tõenäolisem {% if question == + "cause" %} põhjus: {% else %} tagajärg: {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: i_am_hesitating_etmt + reference: '' + 911e3f71-9860-49e2-87f6-87a4ccf5f2c4: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 911e3f71-9860-49e2-87f6-87a4ccf5f2c4 + jinja: '{{ premise }} + + + Mis on parim valik? + + - {{choice1}} + + - {{choice2}} + + + Otsime {% if question == "cause" %} põhjust {% else %} tagajärge {% endif %} + + ||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: best_option_etmt + reference: '' + 9a119254-1292-4dd9-a9ea-00df5f771b5b: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 9a119254-1292-4dd9-a9ea-00df5f771b5b + jinja: '{{ premise }} {% if question == "cause" %} See juhtus, kuna... {% else + %} Selle tulemusena... {% endif %} + + Aidake mul valida usutavam variant: + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: plausible_alternatives_etmt + reference: '' + a25eeef3-d626-4b62-ac14-2efbbaa4c63b: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: a25eeef3-d626-4b62-ac14-2efbbaa4c63b + jinja: '{{ premise }} + + + Valige kõige usutavam {% if question == "cause" %} põhjus: {% else %} tagajärg: + {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cause_effect_etmt + reference: '' + ecc53f54-cca3-4249-bc31-a9c8704e519d: !Template + answer_choices: '{{choice1 }} ||| {{choice2}}' + id: ecc53f54-cca3-4249-bc31-a9c8704e519d + jinja: '"{{ answer_choices[0] }}" või "{{ answer_choices[1] }}"? {{ premise }} + {% if question == "cause" %}, sest {% else %} nii {% endif %} ||| {% if label + != -1 %}{{ answer_choices[label] }}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: C1 or C2? premise_etmt + reference: '' diff --git a/promptsource/templates/xcopa/ht/templates.yaml b/promptsource/templates/xcopa/ht/templates.yaml new file mode 100644 index 000000000..bf85d3757 --- /dev/null +++ b/promptsource/templates/xcopa/ht/templates.yaml @@ -0,0 +1,95 @@ +dataset: xcopa +subset: ht +templates: + 03cbbbb1-82e3-4f0e-b641-496ec0509a45: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 03cbbbb1-82e3-4f0e-b641-496ec0509a45 + jinja: '{{ premise }} + + + Mwen ezite ant de opsyon. Ede m chwazi {% if question == "cause" %} ki gen plis + chans: {% else %} efè: {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: i_am_hesitating_htmt + reference: '' + 08e4da8a-3118-4d88-81da-df1dd128de01: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 08e4da8a-3118-4d88-81da-df1dd128de01 + jinja: '{{ premise }} + + + Chwazi {% if question == "cause" %} ki pi posib: {% else %} efè: {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cause_effect_htmt + reference: '' + 8812bff5-5da9-4ecb-8232-f05b07832962: !Template + answer_choices: '{{choice1 }} ||| {{choice2}}' + id: 8812bff5-5da9-4ecb-8232-f05b07832962 + jinja: '"{{ answer_choices[0] }}" oswa "{{ answer_choices[1] }}"? {{ premise }} + {% if question == "cause" %} paske {% else %} se konsa {% endif %} ||| {% if + label != -1 %}{{ answer_choices[label] }}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: C1 or C2? premise_htmt + reference: '' + 99e2cef7-eec4-431f-93f3-0a63660eec7d: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 99e2cef7-eec4-431f-93f3-0a63660eec7d + jinja: '{{ premise }} {% if question == "cause" %} Sa rive paske... {% else %} + Kòm yon konsekans... {% endif %} + + Ede m chwazi opsyon ki pi posib: + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: plausible_alternatives_htmt + reference: '' + e3c9d793-ef87-4c97-9ce2-d962154bc284: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: e3c9d793-ef87-4c97-9ce2-d962154bc284 + jinja: '{{ premise }} + + + Ki opsyon ki pi bon? + + - {{choice1}} + + - {{choice2}} + + + Nou ap chèche {% if question == "cause" %} yon kòz {% else %} yon efè {% endif + %} + + ||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: best_option_htmt + reference: '' diff --git a/promptsource/templates/xcopa/it/templates.yaml b/promptsource/templates/xcopa/it/templates.yaml index 4b1d37392..9c219a1c6 100644 --- a/promptsource/templates/xcopa/it/templates.yaml +++ b/promptsource/templates/xcopa/it/templates.yaml @@ -1,211 +1,96 @@ dataset: xcopa subset: it templates: - 1d23192b-7276-4e6b-9e21-c65953f42f4d: !Template + 637dad0d-46e9-432d-a2e2-3a5c0a6d06ae: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: 1d23192b-7276-4e6b-9e21-c65953f42f4d - jinja: 'Exercise: choose the most plausible alternative. + id: 637dad0d-46e9-432d-a2e2-3a5c0a6d06ae + jinja: '{{ premise }} - {{ premise }} {% if question == "cause" %} because... {% else %} so... {% endif - %} + Qual è l''opzione migliore? - {{choice1}} - - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' - metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: exercise - reference: '' - 2a2a351a-bae3-426c-9f3d-8908a200159e: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: 2a2a351a-bae3-426c-9f3d-8908a200159e - jinja: "{% if question == \"effect\" %} \n{{ premise }} What could happen next,\ - \ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\ - \ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}" - metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: "\u2026What could happen next, C1 or C2?" - reference: '' - 4866dc0c-b91c-44a9-8436-6e227e545859: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: 4866dc0c-b91c-44a9-8436-6e227e545859 - jinja: "{{ premise }} \n\nI am hesitating between two options. Help me choose\ - \ the more likely {% if question == \"cause\" %} cause: {% else %} effect: {%\ - \ endif %}\n- {{choice1}}\n- {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label]\ - \ }}{%endif%}" - metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: i_am_hesitating - reference: '' - 49e8635c-4e5a-48e5-a52a-12aa5b5d8d27: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: 49e8635c-4e5a-48e5-a52a-12aa5b5d8d27 - jinja: '{{ premise }} {% if question == "cause" %} This happened because... {% - else %} As a consequence... {% endif %} + - {{choice2}} - Help me pick the more plausible option: - - {{choice1}} + Stiamo cercando {% if question == "cause" %} una causa {% else %} un effetto + {% endif %} - - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' - metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: plausible_alternatives - reference: '' - 5781b266-6eb9-49aa-880c-9669cbdb4017: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: 5781b266-6eb9-49aa-880c-9669cbdb4017 - jinja: '"{{ answer_choices[0] }}" or "{{ answer_choices[1] }}"? {{ premise }} - {% if question == "cause" %} because {% else %} so {% endif %} ||| {% if label - != -1 %}{{ answer_choices[label] }}{% endif %}' - metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: "C1 or C2? premise, so/because\u2026" - reference: "Adapted from Perez et al. 2021 and Schick & Sch\xFCtz 2021." - 85ffa482-d662-497f-bdcd-586b60918d37: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: 85ffa482-d662-497f-bdcd-586b60918d37 - jinja: "{% if question == \"effect\" %} \n{{ premise }} As a result, \"{{ answer_choices[0]\ - \ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\ - \ }}{%endif%}\n{% endif %}" - metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: "\u2026As a result, C1 or C2?" - reference: '' - 9b9cc9e5-2ca9-43f5-9a1f-b5831ed5d77d: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: 9b9cc9e5-2ca9-43f5-9a1f-b5831ed5d77d - jinja: "{{ premise }} \n\nWhat's the best option?\n- {{choice1}}\n- {{choice2}}\n\ - \nWe are looking for {% if question == \"cause\" %} a cause {% else %} an effect\ - \ {% endif %}\n||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}" - metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: best_option - reference: '' - b5206dd3-7856-41fc-9671-5a22de303334: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: b5206dd3-7856-41fc-9671-5a22de303334 - jinja: "{% if question == \"cause\" %} \n{{ premise }} Which may be caused by\ - \ \"{{ answer_choices[0] }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label\ - \ != -1 %}{{ answer_choices[label] }}{%endif%}\n{% endif %}" + ||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}' metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: "\u2026which may be caused by" + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: best_option_itmt reference: '' - b90379c6-98d6-436e-a0db-466ad0f5a1c1: !Template + 7f3eae33-7d7c-453a-a407-8d72496424fe: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: b90379c6-98d6-436e-a0db-466ad0f5a1c1 - jinja: 'Pick the more likely continuation to the following sentence: + id: 7f3eae33-7d7c-453a-a407-8d72496424fe + jinja: '{{ premise }} - {{ premise }} {% if question == "cause" %} as a result of: {% else %} as a consequence: - {% endif %} + + Sto esitando tra due opzioni. Aiutami a scegliere la più probabile {% if question + == "cause" %} causa: {% else %} effetto: {% endif %} - {{choice1}} - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: more likely + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: i_am_hesitating_itmt reference: '' - bd78db08-6b60-40e4-840b-b2495153c738: !Template + 895b389a-ba7e-4219-87c3-e96a6061a910: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: bd78db08-6b60-40e4-840b-b2495153c738 - jinja: '{{ premise }} - + id: 895b389a-ba7e-4219-87c3-e96a6061a910 + jinja: '{{ premise }} {% if question == "cause" %} Questo è successo perché... + {% else %} Di conseguenza... {% endif %} - Select the most plausible {% if question == "cause" %} cause: {% else %} effect: - {% endif %} + Aiutami a scegliere l''opzione più plausibile: - {{choice1}} - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: cause_effect + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: plausible_alternatives_itmt reference: '' - d016e3c4-45ae-4711-a360-71ab8e139e91: !Template - answer_choices: '{{choice1}} ||| {{choice2}}' - id: d016e3c4-45ae-4711-a360-71ab8e139e91 - jinja: "{% if question == \"cause\" %} \n{{ premise }} Why? \"{{ answer_choices[0]\ - \ }}\" or \"{{ answer_choices[1] }}\"? ||| {% if label != -1 %}{{ answer_choices[label]\ - \ }}{%endif%}\n{% endif %}" + 8e2c4f1b-1df2-4037-a15c-6533227a79ce: !Template + answer_choices: '{{choice1 }} ||| {{choice2}}' + id: 8e2c4f1b-1df2-4037-a15c-6533227a79ce + jinja: '"{{ answer_choices[0] }}" o "{{ answer_choices[1] }}"? {{ premise }} {% + if question == "cause" %} perché {% else %} quindi {% endif %} ||| {% if label + != -1 %}{{ answer_choices[label] }}{% endif %}' metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: "\u2026why? C1 or C2" + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: C1 or C2? premise_itmt reference: '' - f5dc9303-918b-485e-927c-76c8fc76c55f: !Template + f6d10ae7-09f9-4233-956d-8f113b0468c8: !Template answer_choices: '{{choice1}} ||| {{choice2}}' - id: f5dc9303-918b-485e-927c-76c8fc76c55f - jinja: '{{ premise }} {% if question == "cause" %} because... {% else %} so... - {% endif %} + id: f6d10ae7-09f9-4233-956d-8f113b0468c8 + jinja: '{{ premise }} - Choose between: + + Seleziona la più plausibile {% if question == "cause" %} causa: {% else %} effetto: + {% endif %} - {{choice1}} - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' metadata: !TemplateMetadata - choices_in_prompt: true - languages: - - en - metrics: - - Accuracy - original_task: true - name: choose + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cause_effect_itmt reference: '' diff --git a/promptsource/templates/xcopa/qu/templates.yaml b/promptsource/templates/xcopa/qu/templates.yaml new file mode 100644 index 000000000..5631a265c --- /dev/null +++ b/promptsource/templates/xcopa/qu/templates.yaml @@ -0,0 +1,96 @@ +dataset: xcopa +subset: qu +templates: + 708818bc-37b7-49b3-893c-dd2302611860: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 708818bc-37b7-49b3-893c-dd2302611860 + jinja: '{{ premise }} {% if question == "cause" %} Kayqa pasarqan imaraykuchus... + {% else %} Huk qatiq hina... {% endif %} + + Yanapaway aswan creenapaq hina akllanata akllanaypaq: + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: plausible_alternatives_qumt + reference: '' + b48e4ee5-032d-43ef-95b7-0b50648adc9e: !Template + answer_choices: '{{choice1 }} ||| {{choice2}}' + id: b48e4ee5-032d-43ef-95b7-0b50648adc9e + jinja: '"{{ answer_choices[0] }}" icha "{{ answer_choices[1] }}"? {{ premise }} + {% if question == "cause" %} imaraykuchus {% else %} chayrayku {% endif %} ||| + {% if label != -1 %}{{ answer_choices[label] }}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: C1 or C2? premise_qumt + reference: '' + c5b871ba-11eb-42e0-9f52-69560c9d8a7f: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: c5b871ba-11eb-42e0-9f52-69560c9d8a7f + jinja: '{{ premise }} nisqa. + + + Aswan iñiypaq {% if question == "cause" %} kaqta akllay: {% else %} efectota: + {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cause_effect_qumt + reference: '' + c650c7ec-b04a-4ba3-8b1b-0b027b45ebe5: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: c650c7ec-b04a-4ba3-8b1b-0b027b45ebe5 + jinja: '{{ premise }} nisqa. + + + ¿Imataq aswan allinqa? + + - {{choice1}} + + - {{choice2}} + + + Maskachkayku {% if question == "cause" %} huk causa {% else %} huk efectota + {% endif %} . + + ||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: best_option_qumt + reference: '' + f7f380c3-6802-405e-a3c0-486bdac47a65: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: f7f380c3-6802-405e-a3c0-486bdac47a65 + jinja: '{{ premise }} nisqa. + + + Iskay akllanakuna ukhupi iskayrayachkani. Yanapaway aswan chaninniyuq {% if + question == "cause" %} kaqta akllanaypaq: {% else %} efectota: {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: i_am_hesitating_qumt + reference: '' diff --git a/promptsource/templates/xcopa/th/templates.yaml b/promptsource/templates/xcopa/th/templates.yaml new file mode 100644 index 000000000..a846af7a7 --- /dev/null +++ b/promptsource/templates/xcopa/th/templates.yaml @@ -0,0 +1,96 @@ +dataset: xcopa +subset: th +templates: + 6649472e-159b-41db-9e17-9c272ce93530: !Template + answer_choices: '{{choice1 }} ||| {{choice2}}' + id: 6649472e-159b-41db-9e17-9c272ce93530 + jinja: '"{{ answer_choices[0] }}" หรือ "{{ answer_choices[1] }}"? {{ premise }} + {% if question == "cause" %} เพราะ {% else %} ดังนั้น {% endif %} ||| {% if + label != -1 %}{{ answer_choices[label] }}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: C1 or C2? premise_thmt + reference: '' + 6abb382a-ff08-4fa9-afe3-1e7d897404b5: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 6abb382a-ff08-4fa9-afe3-1e7d897404b5 + jinja: '{{ premise }} + + + เลือกเหตุผลที่เป็นไปได้มากที่สุด {% if question == "cause" %} สาเหตุ: {% else + %} ผล: {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cause_effect_thmt + reference: '' + 805eef7f-14e5-4e3b-b2fb-ec0b994fb346: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 805eef7f-14e5-4e3b-b2fb-ec0b994fb346 + jinja: '{{ premise }} {% if question == "cause" %} สิ่งนี้เกิดขึ้นเพราะ... {% + else %} ผลที่ตามมา... {% endif %} + + ช่วยฉันเลือกตัวเลือกที่เป็นไปได้มากขึ้น: + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: plausible_alternatives_thmt + reference: '' + 860f1102-38df-4d8d-bbd7-a2c2fea7e5f2: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 860f1102-38df-4d8d-bbd7-a2c2fea7e5f2 + jinja: '{{ premise }} + + + ฉันลังเลระหว่างสองตัวเลือก ช่วยฉันเลือกสาเหตุที่มีแนวโน้มมากขึ้น {% if question + == "cause" %} สาเหตุ: {% else %} ผลกระทบ: {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: i_am_hesitating_thmt + reference: '' + 86952b62-cdd2-4d88-a197-dc3508beb9b1: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 86952b62-cdd2-4d88-a197-dc3508beb9b1 + jinja: '{{ premise }} + + + ตัวเลือกที่ดีที่สุดคืออะไร? + + - {{choice1}} + + - {{choice2}} + + + เรากำลังมองหา {% if question == "cause" %} a cause {% else %} an effect {% endif + %} + + ||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: best_option_thmt + reference: '' diff --git a/promptsource/templates/xcopa/tr/templates.yaml b/promptsource/templates/xcopa/tr/templates.yaml new file mode 100644 index 000000000..ea3eea1d2 --- /dev/null +++ b/promptsource/templates/xcopa/tr/templates.yaml @@ -0,0 +1,95 @@ +dataset: xcopa +subset: tr +templates: + 05261295-343c-4621-9aa3-9b25453e4946: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 05261295-343c-4621-9aa3-9b25453e4946 + jinja: '{{ premise }} + + + En makul olanı seçin {% if question == "cause" %} neden: {% else %} etki: {% + endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: cause_effect_trmt + reference: '' + 275fee6a-032b-471a-acdf-019df457e4cb: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 275fee6a-032b-471a-acdf-019df457e4cb + jinja: '{{ premise }} + + + En iyi seçenek nedir? + + - {{choice1}} + + - {{choice2}} + + + {% if question == "cause" %} bir neden {% else %} bir etki {% endif %} arıyoruz + + ||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: best_option_trmt + reference: '' + 3671301e-77b3-4911-99b8-889d2130749b: !Template + answer_choices: '{{choice1 }} ||| {{choice2}}' + id: 3671301e-77b3-4911-99b8-889d2130749b + jinja: '"{{ answer_choices[0] }}" veya "{{ answer_choices[1] }}"? {{ premise }} + {% if question == "cause" %} çünkü {% else %} yani {% endif %} ||| {% if label + != -1 %}{{ answer_choices[label] }}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: C1 or C2? premise_trmt + reference: '' + 8b6f30be-6e9c-41a9-a649-bd44557ec939: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 8b6f30be-6e9c-41a9-a649-bd44557ec939 + jinja: '{{ premise }} + + + İki seçenek arasında tereddüt ediyorum. Daha olası {% if question == "cause" + %} nedeni seçmeme yardım et: {% else %} etki: {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: i_am_hesitating_trmt + reference: '' + d0927b88-b70c-453c-9109-058c39f24459: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: d0927b88-b70c-453c-9109-058c39f24459 + jinja: '{{ premise }} {% if question == "cause" %} Bunun nedeni... {% else %} + Sonuç olarak... {% endif %} + + Daha makul seçeneği seçmeme yardım et: + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: plausible_alternatives_trmt + reference: '' diff --git a/promptsource/templates/xcopa/zh/templates.yaml b/promptsource/templates/xcopa/zh/templates.yaml index e354805a5..4ee0ef4c2 100644 --- a/promptsource/templates/xcopa/zh/templates.yaml +++ b/promptsource/templates/xcopa/zh/templates.yaml @@ -92,3 +92,89 @@ templates: original_task: null name: i_am_hesitating_zhmt reference: '' + 4822dc0c-b91c-44a9-8436-6e227e545859: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 4822dc0c-b91c-44a9-8436-6e227e545859 + jinja: "{{ premise }} \n\n我正在考虑两个选项。请帮我最有可能的{% if question == \"cause\" %}导因:{% else %}后果:{%\ + \ endif %}\n- {{choice1}}\n- {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label]\ + \ }}{%endif%}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: i_am_hesitating_zhht + reference: '' + 49e8644c-4e5a-48e5-a52a-12aa5b5d8d27: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 49e8644c-4e5a-48e5-a52a-12aa5b5d8d27 + jinja: '{{ premise }} {% if question == "cause" %}这个会发生是因为... {% + else %}结果是... {% endif %} + + 帮我挑选合适的选项: + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: plausible_alternatives_zhht + reference: '' + 5781b211-6eb9-49aa-880c-9669cbdb4017: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 5781b211-6eb9-49aa-880c-9669cbdb4017 + jinja: '"{{ answer_choices[0] }}"还是"{{ answer_choices[1] }}"? {{ premise }} + {% if question == "cause" %}因为{% else %}所以{% endif %} ||| {% if label + != -1 %}{{ answer_choices[label] }}{% endif %}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: C1 or C2? premise_zhht + reference: "Adapted from Perez et al. 2021 and Schick & Sch\xFCtz 2021." + 9b9cc9a2-2ca9-43f5-9a1f-b5831ed5d77d: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: 9b9cc9a2-2ca9-43f5-9a1f-b5831ed5d77d + jinja: "{{ premise }} \n\n哪个是最好的答案?\n- {{choice1}}\n- {{choice2}}\n\ + \n我们正在考虑{% if question == \"cause\" %}起因{% else %}后果\ + \ {% endif %}\n||| {% if label != -1 %}{{answer_choices[label]}}{%endif%}" + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: best_option_zhht + reference: '' + bd78db22-6b60-40e4-840b-b2495153c738: !Template + answer_choices: '{{choice1}} ||| {{choice2}}' + id: bd78db22-6b60-40e4-840b-b2495153c738 + jinja: '{{ premise }} + + + 请选择最贴切的答案: {% if question == "cause" %}导因:{% else %}结果: + {% endif %} + + - {{choice1}} + + - {{choice2}} ||| {% if label != -1 %}{{ answer_choices[label] }}{%endif%}' + metadata: !TemplateMetadata + choices_in_prompt: true + languages: + - zh + metrics: + - Accuracy + original_task: true + name: cause_effect_zhht + reference: '' diff --git a/promptsource/templates/xnli/bg/templates.yaml b/promptsource/templates/xnli/bg/templates.yaml new file mode 100644 index 000000000..a463798e3 --- /dev/null +++ b/promptsource/templates/xnli/bg/templates.yaml @@ -0,0 +1,69 @@ +dataset: xnli +subset: bg +templates: + 116e9cdd-0507-48a4-bdfc-b449da21882d: !Template + answer_choices: Вярно ||| Нито едното ||| Невярно + id: 116e9cdd-0507-48a4-bdfc-b449da21882d + jinja: '{{premise}} + + Въпрос: {{hypothesis}} Вярно, невярно или нито едно от двете? ||| {{ answer_choices[label] + }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3 style_bgmt + reference: '' + 3cc01b61-d8a3-4522-aaf0-2442b144f970: !Template + answer_choices: да ||| Може би ||| Не + id: 3cc01b61-d8a3-4522-aaf0-2442b144f970 + jinja: Да предположим, че {{premise}} Можем ли да заключим, че "{{hypothesis}}"? + Да, не, или може би? ||| {{ answer_choices[label] }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: can we infer_bgmt + reference: '' + 49a5a603-d96a-4e6a-ac2f-07a6265af0c8: !Template + answer_choices: Правилно ||| Неубедителен ||| Неправилно + id: 49a5a603-d96a-4e6a-ac2f-07a6265af0c8 + jinja: '{{premise}} Използвайки само горното описание и това, което знаете за + света, „{{hypothesis}}“ определено е правилно, неправилно или неубедително? + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: MNLI crowdsource_bgmt + reference: '' + 59677618-2642-4986-ada2-f2a17e28b744: !Template + answer_choices: да ||| Може би ||| Не + id: 59677618-2642-4986-ada2-f2a17e28b744 + jinja: '{{premise}} Оправдани ли сме да кажем, че „{{hypothesis}}“? Да, не, или + може би? ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: justified in saying_bgmt + reference: '' + 9894e00d-859b-494b-806c-7aad45b11a72: !Template + answer_choices: Гарантирано ||| Възможен ||| Невъзможен + id: 9894e00d-859b-494b-806c-7aad45b11a72 + jinja: 'Да приемем, че е вярно, че {{premise}} + + + Следователно „{{hypothesis}}“ е {{"guaranteed"}}, {{"possible"}} или {{"impossible"}}? + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: guaranteed/possible/impossible_bgmt + reference: '' diff --git a/promptsource/templates/xnli/de/templates.yaml b/promptsource/templates/xnli/de/templates.yaml new file mode 100644 index 000000000..53e2f6c3a --- /dev/null +++ b/promptsource/templates/xnli/de/templates.yaml @@ -0,0 +1,69 @@ +dataset: xnli +subset: de +templates: + 3e41cd49-8acf-4325-96e4-8f155a243cb1: !Template + answer_choices: Richtig ||| Nicht schlüssig ||| Falsch + id: 3e41cd49-8acf-4325-96e4-8f155a243cb1 + jinja: '{{premise}} Wenn Sie nur die obige Beschreibung und das, was Sie über + die Welt wissen, verwenden, ist "{{hypothesis}}" definitiv richtig, falsch oder + nicht schlüssig? ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: MNLI crowdsource_demt + reference: '' + 45a92641-0ab4-4225-9d8e-160606ee6e3d: !Template + answer_choices: Ja ||| Vielleicht ||| Nein + id: 45a92641-0ab4-4225-9d8e-160606ee6e3d + jinja: '{{premise}} Sind wir berechtigt zu sagen, dass "{{hypothesis}}"? Ja, nein, + oder vielleicht? ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: justified in saying_demt + reference: '' + 8338e809-b10a-4a38-bfa3-549948e7d5fb: !Template + answer_choices: WAHR ||| Weder ||| FALSCH + id: 8338e809-b10a-4a38-bfa3-549948e7d5fb + jinja: '{{premise}} + + Frage: {{hypothesis}} Wahr, falsch oder keines von beiden? ||| {{ answer_choices[label] + }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3 style_demt + reference: '' + c6db6225-f091-434e-acbf-90f0ded80883: !Template + answer_choices: Garantiert ||| Möglich ||| Unmöglich + id: c6db6225-f091-434e-acbf-90f0ded80883 + jinja: 'Angenommen, es ist wahr, dass {{premise}} + + + Daher ist "{{hypothesis}}" {{"guaranteed"}}, {{"possible"}} oder {{"impossible"}}? + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: guaranteed/possible/impossible_demt + reference: '' + f9937a08-1b2e-428b-a5b4-4108e28cc0c9: !Template + answer_choices: Ja ||| Vielleicht ||| Nein + id: f9937a08-1b2e-428b-a5b4-4108e28cc0c9 + jinja: Angenommen {{premise}} Können wir daraus schließen, dass "{{hypothesis}}"? + Ja, nein, oder vielleicht? ||| {{ answer_choices[label] }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: can we infer_demt + reference: '' diff --git a/promptsource/templates/xnli/el/templates.yaml b/promptsource/templates/xnli/el/templates.yaml new file mode 100644 index 000000000..f331f6660 --- /dev/null +++ b/promptsource/templates/xnli/el/templates.yaml @@ -0,0 +1,69 @@ +dataset: xnli +subset: el +templates: + 3085e6b0-81f2-4d50-b7dc-63b023bb6792: !Template + answer_choices: Ναί ||| Μπορεί ||| Οχι + id: 3085e6b0-81f2-4d50-b7dc-63b023bb6792 + jinja: Ας υποθέσουμε ότι {{premise}} Μπορούμε να συμπεράνουμε ότι "{{hypothesis}}"; + Ναι, όχι, ή μήπως; ||| {{ answer_choices[label] }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: can we infer_elmt + reference: '' + 3789dc3c-d422-4d7e-8826-9947c5af7d21: !Template + answer_choices: Ναί ||| Μπορεί ||| Οχι + id: 3789dc3c-d422-4d7e-8826-9947c5af7d21 + jinja: '{{premise}} Είμαστε δικαιολογημένοι που λέμε ότι "{{hypothesis}}"; Ναι, + όχι, ή μήπως; ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: justified in saying_elmt + reference: '' + 8f474851-54d1-4f0e-98f2-1f4b83bb25ec: !Template + answer_choices: Σωστός ||| Μη τελεσίδικος ||| Ανακριβής + id: 8f474851-54d1-4f0e-98f2-1f4b83bb25ec + jinja: '{{premise}} Χρησιμοποιώντας μόνο την παραπάνω περιγραφή και όσα γνωρίζετε + για τον κόσμο, το "{{hypothesis}}" είναι σίγουρα σωστό, λανθασμένο ή ασαφές; + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: MNLI crowdsource_elmt + reference: '' + de3451f3-96de-4807-b73a-b840670f3a4d: !Template + answer_choices: Εγγυημένα ||| Δυνατόν ||| Αδύνατο + id: de3451f3-96de-4807-b73a-b840670f3a4d + jinja: 'Ας υποθέσουμε ότι είναι αλήθεια ότι {{premise}} + + + Επομένως, η "{{hypothesis}}" είναι {{"guaranteed"}}, {{"possible"}} ή {{"impossible"}}; + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: guaranteed/possible/impossible_elmt + reference: '' + e52a2994-df8f-49ab-b850-03276c36b1f6: !Template + answer_choices: Αληθής ||| κανενα απο τα δυο ||| Ψευδής + id: e52a2994-df8f-49ab-b850-03276c36b1f6 + jinja: '{{premise}} + + Ερώτηση: {{hypothesis}} Σωστό, Λάθος ή κανένα από τα δύο; ||| {{ answer_choices[label] + }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3 style_elmt + reference: '' diff --git a/promptsource/templates/xnli/ru/templates.yaml b/promptsource/templates/xnli/ru/templates.yaml new file mode 100644 index 000000000..1aa40e8c2 --- /dev/null +++ b/promptsource/templates/xnli/ru/templates.yaml @@ -0,0 +1,69 @@ +dataset: xnli +subset: ru +templates: + 04f56ff4-14c6-4362-a599-ec2eb735f3d4: !Template + answer_choices: Гарантировано ||| Возможный ||| Невозможно + id: 04f56ff4-14c6-4362-a599-ec2eb735f3d4 + jinja: 'Предположим, что верно, что {{premise}} + + + Следовательно, "{{hypothesis}}" является {{"guaranteed"}}, {{"possible"}} или + {{"impossible"}}? ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: guaranteed/possible/impossible_rumt + reference: '' + 2858121b-f5e9-4e91-a30a-fc2c7af1c223: !Template + answer_choices: Да ||| Может быть ||| Нет + id: 2858121b-f5e9-4e91-a30a-fc2c7af1c223 + jinja: Предположим, {{premise}} Можем ли мы сделать вывод, что "{{hypothesis}}"? + Да, нет, а может быть? ||| {{ answer_choices[label] }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: can we infer_rumt + reference: '' + 67b21e12-5fb0-4bb7-a0fd-3d2bc551d0b2: !Template + answer_choices: Да ||| Может быть ||| Нет + id: 67b21e12-5fb0-4bb7-a0fd-3d2bc551d0b2 + jinja: '{{premise}} Имеем ли мы право говорить, что "{{hypothesis}}"? Да, нет, + а может быть? ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: justified in saying_rumt + reference: '' + 9e093809-e6e8-4d5e-af5f-81e69412206e: !Template + answer_choices: Правильный ||| Неубедительный ||| Неправильно + id: 9e093809-e6e8-4d5e-af5f-81e69412206e + jinja: '{{premise}} Используя только приведенное выше описание и то, что вы знаете + о мире, "{{hypothesis}}" определенно верна, неверна или неубедительна? ||| {{ + answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: MNLI crowdsource_rumt + reference: '' + e7aa68b6-262a-4802-b6df-04b0fdab3de8: !Template + answer_choices: Истинный ||| Ни один ||| ЛОЖЬ + id: e7aa68b6-262a-4802-b6df-04b0fdab3de8 + jinja: '{{premise}} + + Вопрос: {{hypothesis}} верна, неверна или ни то, ни другое? ||| {{ answer_choices[label] + }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3 style_rumt + reference: '' diff --git a/promptsource/templates/xnli/th/templates.yaml b/promptsource/templates/xnli/th/templates.yaml new file mode 100644 index 000000000..a8257577e --- /dev/null +++ b/promptsource/templates/xnli/th/templates.yaml @@ -0,0 +1,68 @@ +dataset: xnli +subset: th +templates: + 3aedf6e8-57e7-4ae9-aab7-3ca6972bef1e: !Template + answer_choices: ใช่ ||| อาจจะ ||| ไม่ + id: 3aedf6e8-57e7-4ae9-aab7-3ca6972bef1e + jinja: '{{premise}} เรามีเหตุผลในการพูดว่า "{{hypothesis}}" หรือไม่ ใช่ ไม่ หรืออาจจะ? + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: justified in saying_thmt + reference: '' + 549bf8a4-c0a9-413d-9f19-0688a89f8099: !Template + answer_choices: ใช่ ||| อาจจะ ||| ไม่ + id: 549bf8a4-c0a9-413d-9f19-0688a89f8099 + jinja: สมมติว่า {{premise}} เราสามารถอนุมานว่า "{{hypothesis}}" ได้หรือไม่ ใช่ + ไม่ หรืออาจจะ? ||| {{ answer_choices[label] }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: can we infer_thmt + reference: '' + c50d6c82-c8c8-46df-beef-a7e4fc6fd6fd: !Template + answer_choices: รับประกัน ||| เป็นไปได้ ||| เป็นไปไม่ได้ + id: c50d6c82-c8c8-46df-beef-a7e4fc6fd6fd + jinja: 'สมมติว่าเป็นความจริงที่ {{premise}} + + + ดังนั้น "{{hypothesis}}" คือ {{"guaranteed"}}, {{"possible"}} หรือ {{"impossible"}}? + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: guaranteed/possible/impossible_thmt + reference: '' + db82374c-c0f4-48f2-8d8d-f9c682a732f4: !Template + answer_choices: จริง ||| ไม่ใช่ทั้งสองอย่าง ||| เท็จ + id: db82374c-c0f4-48f2-8d8d-f9c682a732f4 + jinja: '{{premise}} + + คำถาม: {{hypothesis}} จริง เท็จ หรือเปล่า? ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3 style_thmt + reference: '' + dc028dd3-14d3-4e24-b2f4-ebd3930a01e5: !Template + answer_choices: ถูกต้อง ||| สรุปไม่ได้ ||| ไม่ถูกต้อง + id: dc028dd3-14d3-4e24-b2f4-ebd3930a01e5 + jinja: '{{premise}} ใช้เฉพาะคำอธิบายข้างต้นและสิ่งที่คุณรู้เกี่ยวกับโลก "{{hypothesis}}" + นั้นถูกต้อง ไม่ถูกต้อง หรือไม่สามารถสรุปได้อย่างแน่นอน ||| {{ answer_choices[label] + }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: MNLI crowdsource_thmt + reference: '' diff --git a/promptsource/templates/xnli/tr/templates.yaml b/promptsource/templates/xnli/tr/templates.yaml new file mode 100644 index 000000000..b8fd9cc75 --- /dev/null +++ b/promptsource/templates/xnli/tr/templates.yaml @@ -0,0 +1,69 @@ +dataset: xnli +subset: tr +templates: + 666128c0-95be-483a-90b9-2689df2cbffb: !Template + answer_choices: garantili ||| Mümkün ||| İmkansız + id: 666128c0-95be-483a-90b9-2689df2cbffb + jinja: '{{premise}}''in doğru olduğunu varsayın + + + Bu nedenle, "{{hypothesis}}" {{"guaranteed"}}, {{"possible"}} veya {{"impossible"}} + mı? ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: guaranteed/possible/impossible_trmt + reference: '' + 84ebd457-2c6e-4723-9714-1aadcbe71ab7: !Template + answer_choices: Evet ||| Belki ||| Numara + id: 84ebd457-2c6e-4723-9714-1aadcbe71ab7 + jinja: Diyelim ki {{premise}} "{{hypothesis}}" sonucuna varabilir miyiz? Evet, + hayır, ya da belki? ||| {{ answer_choices[label] }} + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: can we infer_trmt + reference: '' + 85b26595-086d-4360-b0f0-440b080c3477: !Template + answer_choices: Doğru ||| Hiç biri ||| Yanlış + id: 85b26595-086d-4360-b0f0-440b080c3477 + jinja: '{{premise}} + + Soru: {{hypothesis}} Doğru, Yanlış veya Hiçbiri? ||| {{ answer_choices[label] + }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: GPT-3 style_trmt + reference: '' + 85e6954d-eb7d-43f3-8a93-4dd2ecf3ced2: !Template + answer_choices: Doğru ||| sonuçsuz ||| Yanlış + id: 85e6954d-eb7d-43f3-8a93-4dd2ecf3ced2 + jinja: '{{premise}} Yalnızca yukarıdaki açıklamayı ve dünya hakkında bildiklerinizi + kullanarak, "{{hypothesis}}" kesinlikle doğru, yanlış veya sonuçsuz mu? ||| + {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: MNLI crowdsource_trmt + reference: '' + c51efa50-efe0-4624-8145-a974bf91916e: !Template + answer_choices: Evet ||| Belki ||| Numara + id: c51efa50-efe0-4624-8145-a974bf91916e + jinja: '{{premise}} "{{hypothesis}}" demekte haklı mıyız? Evet, hayır, ya da belki? + ||| {{ answer_choices[label] }}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: justified in saying_trmt + reference: '' diff --git a/promptsource/templates/xquad/xquad.ar/templates.yaml b/promptsource/templates/xquad/xquad.ar/templates.yaml index df52129a1..e1da094fe 100644 --- a/promptsource/templates/xquad/xquad.ar/templates.yaml +++ b/promptsource/templates/xquad/xquad.ar/templates.yaml @@ -1,12 +1,139 @@ dataset: xquad subset: xquad.ar templates: + 187f1ccd-af17-47dd-a411-99f9dbd4df72: !Template + answer_choices: '' + id: 187f1ccd-af17-47dd-a411-99f9dbd4df72 + jinja: '{{context}} + + + س: {{question}} + + + بالإشارة إلى الفقرة أعلاه ، فإن الإجابة الصحيحة على السؤال المحدد هي ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_given_context_and_question_armt + reference: '' + 41c2b119-5c40-4a69-91d3-6fd0ce3d1bb8: !Template + answer_choices: '' + id: 41c2b119-5c40-4a69-91d3-6fd0ce3d1bb8 + jinja: '{{context}} + + + س: {{question}} + + + ج: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_answer_question_variation_armt + reference: '' + 51f82d04-4da1-48f8-8adc-3583c54430dd: !Template + answer_choices: '' + id: 51f82d04-4da1-48f8-8adc-3583c54430dd + jinja: 'راجع الفقرة أدناه وأجب عن السؤال التالي: + + + الممر: {{context}} + + + السؤال: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_question_given_context_armt + reference: '' + 5e321bf7-c96b-4a77-8f48-a13a74e62245: !Template + answer_choices: '' + id: 5e321bf7-c96b-4a77-8f48-a13a74e62245 + jinja: '{{question}} يبدو أنه {{answers.text[0]}}. هل يمكنك أن تزودني ببعض السياق؟ + ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_armt + reference: '' + 5f0dac03-a93e-4357-bd22-734e029003b6: !Template + answer_choices: '' + id: 5f0dac03-a93e-4357-bd22-734e029003b6 + jinja: '{{context}} + + + بالإشارة إلى السياق أعلاه ، {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_the_question_armt + reference: '' + 67c7ae75-c99e-44cc-9a19-66ba980b6656: !Template + answer_choices: '' + id: 67c7ae75-c99e-44cc-9a19-66ba980b6656 + jinja: 'إعطاء الإجابة {{answers.text[0]}} عن {{question}} ، اكتب نصًا يشرح ذلك. + يجب أن تبدأ الإجابة برقم الحرف {{answers.answer_start[0]}}. النص: ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longchar_armt + reference: '' + 7a65c947-59f4-4fac-b6de-6407abfec397: !Template + answer_choices: '' + id: 7a65c947-59f4-4fac-b6de-6407abfec397 + jinja: 'اقرأ الفقرة التالية وأجب عن السؤال التالي: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: read_passage_armt + reference: '' + 86b86b6b-fe20-43cc-87ca-2fb42226575a: !Template + answer_choices: '' + id: 86b86b6b-fe20-43cc-87ca-2fb42226575a + jinja: '{{context}} + + + من المقطع أعلاه ، سؤال معقول بـ "{{answers["text"][0]}}" حيث ستكون الإجابة: + ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: jeopardy_armt + reference: '' 9f65fb49-4dc8-40b8-bd7f-107d78b5c296: !Template answer_choices: null id: 9f65fb49-4dc8-40b8-bd7f-107d78b5c296 - jinja: "{{context}}\n\u0628\u0646\u0627\u0621 \u0639\u0644\u0649 \u0645\u0627\ - \ \u0648\u0631\u062F \u0641\u064A \u0627\u0644\u0633\u064A\u0627\u0642 \u0623\ - \u0639\u0644\u0627\u0647 {{question}} ||| \n{{answers[\"text\"][0]}}" + jinja: "{{context}}\nبناء على ما ورد في السياق أعلاه {{question}} ||| \n{{answers[\"\ + text\"][0]}}" metadata: !TemplateMetadata choices_in_prompt: false languages: [] @@ -18,10 +145,13 @@ templates: a6fcd1c6-766d-4383-bc24-0f027881adb5: !Template answer_choices: null id: a6fcd1c6-766d-4383-bc24-0f027881adb5 - jinja: "{{context}}\n\u0633: {{question}}\n\u0627\u0644\u0625\u062C\u0627\u0628\ - \u0629 \u0627\u0644\u0635\u062D\u064A\u062D\u0629 \u0628\u0646\u0627\u0621 \u0639\ - \u0644\u0649 \u0645\u0627 \u0648\u0631\u062F \u0641\u064A \u0627\u0644\u0642\ - \u0637\u0639\u0629 \u0623\u0639\u0644\u0627\u0647.||| {{answers[\"text\"][0]}}\n" + jinja: '{{context}} + + س: {{question}} + + الإجابة الصحيحة بناء على ما ورد في القطعة أعلاه.||| {{answers["text"][0]}} + + ' metadata: !TemplateMetadata choices_in_prompt: false languages: [] @@ -33,9 +163,15 @@ templates: b0db8e5c-25c8-4331-bb54-1b95755c8606: !Template answer_choices: null id: b0db8e5c-25c8-4331-bb54-1b95755c8606 - jinja: "\u0627\u0642\u0631\u0623 \u0627\u0644\u0642\u0637\u0639\u0629 \u0627\u0644\ - \u062A\u0627\u0644\u064A\u0629 \u062B\u0645 \u0623\u062C\u0628 \u0639\u0646\ - \ \u0645\u0627 \u0648\u0631\u062F\n{{context}}\n{{question}} |||\n{{answers.text[0]}}\n" + jinja: 'اقرأ القطعة التالية ثم أجب عن ما ورد + + {{context}} + + {{question}} ||| + + {{answers.text[0]}} + + ' metadata: !TemplateMetadata choices_in_prompt: false languages: [] @@ -47,11 +183,15 @@ templates: ceb0cb46-bc84-43c3-aa54-b78766180074: !Template answer_choices: null id: ceb0cb46-bc84-43c3-aa54-b78766180074 - jinja: "\u0623\u0637\u0644\u0639 \u0639\u0644\u0649 \u0627\u0644\u0646\u0635 \u0627\ - \u0644\u062A\u0627\u0644\u064A \u062B\u0645 \u0623\u062C\u0628 \u0639\u0646\ - \ \u0627\u0644\u0633\u0624\u0627\u0644 \u0627\u0644\u0645\u0637\u0631\u0648\u062D\ - \n\u0627\u0644\u0646\u0635: {{context}}\n\u0633\u0624\u0627\u0644: {{question}}\n\ - |||\n{{answers[\"text\"][0]}}" + jinja: 'أطلع على النص التالي ثم أجب عن السؤال المطروح + + النص: {{context}} + + سؤال: {{question}} + + ||| + + {{answers["text"][0]}}' metadata: !TemplateMetadata choices_in_prompt: false languages: [] @@ -60,10 +200,28 @@ templates: original_task: true name: answer_question_given_context reference: '' + df2b369b-59a3-48ac-b425-2245ac34ecbb: !Template + answer_choices: '' + id: df2b369b-59a3-48ac-b425-2245ac34ecbb + jinja: '{{context}} + + + قم بإنشاء سؤال من المقطع أعلاه: ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_generate_question_armt + reference: '' e0a38584-49a6-4a07-92e4-c29a2d03a403: !Template answer_choices: null id: e0a38584-49a6-4a07-92e4-c29a2d03a403 - jinja: "{{context}}\n\u0633: {{question}}\n\u062C: ||| {{answers[\"text\"][0]}}" + jinja: '{{context}} + + س: {{question}} + + ج: ||| {{answers["text"][0]}}' metadata: !TemplateMetadata choices_in_prompt: false languages: [] diff --git a/promptsource/templates/xquad/xquad.es/templates.yaml b/promptsource/templates/xquad/xquad.es/templates.yaml new file mode 100644 index 000000000..ca2adc738 --- /dev/null +++ b/promptsource/templates/xquad/xquad.es/templates.yaml @@ -0,0 +1,147 @@ +dataset: xquad +subset: xquad.es +templates: + 177d013e-fc81-4c15-adb5-88f4e85e628a: !Template + answer_choices: '' + id: 177d013e-fc81-4c15-adb5-88f4e85e628a + jinja: '{{context}} + + + Del pasaje anterior, una pregunta razonable con "{{answers["text"][0]}}" como + respuesta sería: ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: jeopardy_esmt + reference: '' + 2a31bca0-5d89-407a-9385-9c574edbcc55: !Template + answer_choices: '' + id: 2a31bca0-5d89-407a-9385-9c574edbcc55 + jinja: '{{question}} Aparentemente, es {{answers.text[0]}}. ¿Puedes darme algo + de contexto? ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_esmt + reference: '' + 49aa787e-547e-419d-af38-fec80dacaabe: !Template + answer_choices: '' + id: 49aa787e-547e-419d-af38-fec80dacaabe + jinja: 'Lee el siguiente pasaje y contesta la pregunta que sigue: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: read_passage_esmt + reference: '' + 60de87b6-e4e4-4ac1-bbd4-55342157cc32: !Template + answer_choices: '' + id: 60de87b6-e4e4-4ac1-bbd4-55342157cc32 + jinja: 'Dada la respuesta {{answers.text[0]}} a la {{question}}, escribe un texto + que explique esto. La respuesta debe comenzar en el número de char {{answers.answer_start[0]}}. + Texto: ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longchar_esmt + reference: '' + 8c81d093-f665-416c-bf00-faddcdce70b1: !Template + answer_choices: '' + id: 8c81d093-f665-416c-bf00-faddcdce70b1 + jinja: 'Refiérase al siguiente pasaje y responda la siguiente pregunta: + + + Pasaje: {{context}} + + + Pregunta: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_question_given_context_esmt + reference: '' + d33c4cd6-c347-4f01-930d-b7f7aa6247cc: !Template + answer_choices: '' + id: d33c4cd6-c347-4f01-930d-b7f7aa6247cc + jinja: '{{context}} + + + P: {{question}} + + + R: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_answer_question_variation_esmt + reference: '' + d3ab826c-4640-4895-9554-d278c65c4923: !Template + answer_choices: '' + id: d3ab826c-4640-4895-9554-d278c65c4923 + jinja: '{{context}} + + + Genere una pregunta del pasaje anterior: ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_generate_question_esmt + reference: '' + e2a7bb28-bafd-4226-943c-9741f0cabe28: !Template + answer_choices: '' + id: e2a7bb28-bafd-4226-943c-9741f0cabe28 + jinja: '{{context}} + + + P: {{question}} + + + En referencia al pasaje anterior, la respuesta correcta a la pregunta dada es + ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_given_context_and_question_esmt + reference: '' + eb5c3cd0-0a82-4e66-bf12-a5c98ede331d: !Template + answer_choices: '' + id: eb5c3cd0-0a82-4e66-bf12-a5c98ede331d + jinja: '{{context}} + + + Con referencia al contexto anterior, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_the_question_esmt + reference: '' diff --git a/promptsource/templates/xquad/xquad.hi/templates.yaml b/promptsource/templates/xquad/xquad.hi/templates.yaml new file mode 100644 index 000000000..cb33a7af1 --- /dev/null +++ b/promptsource/templates/xquad/xquad.hi/templates.yaml @@ -0,0 +1,146 @@ +dataset: xquad +subset: xquad.hi +templates: + 134496f4-284a-466d-aa11-1f031ed87380: !Template + answer_choices: '' + id: 134496f4-284a-466d-aa11-1f031ed87380 + jinja: '{{question}} जाहिर है, यह {{answers.text[0]}} है। क्या आप मुझे कुछ संदर्भ + प्रदान कर सकते हैं? ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_himt + reference: '' + 36aae871-8a5c-4183-a9cf-248466e5522b: !Template + answer_choices: '' + id: 36aae871-8a5c-4183-a9cf-248466e5522b + jinja: '{{context}} + + + प्रश्न: {{question}} + + + ए: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_answer_question_variation_himt + reference: '' + 3c15addf-8a02-4465-9acf-7a33829a5726: !Template + answer_choices: '' + id: 3c15addf-8a02-4465-9acf-7a33829a5726 + jinja: '{{context}} + + + उपरोक्त परिच्छेद से, "{{answers["text"][0]}}" के साथ एक उचित प्रश्न का उत्तर + होगा: ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: jeopardy_himt + reference: '' + 49f932d9-caca-48d6-aeec-8cd58871df92: !Template + answer_choices: '' + id: 49f932d9-caca-48d6-aeec-8cd58871df92 + jinja: '{{context}} + + + उपरोक्त संदर्भ के संदर्भ में, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_the_question_himt + reference: '' + 7bb0885f-be8d-4bef-b279-75e1113d722c: !Template + answer_choices: '' + id: 7bb0885f-be8d-4bef-b279-75e1113d722c + jinja: '{{context}} + + + प्रश्न: {{question}} + + + उपरोक्त गद्यांश का उल्लेख करते हुए, दिए गए प्रश्न का सही उत्तर है ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_given_context_and_question_himt + reference: '' + b71fd80a-3298-4ced-b5f1-82d939c7c1e1: !Template + answer_choices: '' + id: b71fd80a-3298-4ced-b5f1-82d939c7c1e1 + jinja: 'नीचे दिए गए गद्यांश का संदर्भ लें और निम्नलिखित प्रश्न का उत्तर दें: + + + पैसेज: {{context}} + + + प्रश्न: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_question_given_context_himt + reference: '' + bb6c0710-648d-4088-805c-104a34f49902: !Template + answer_choices: '' + id: bb6c0710-648d-4088-805c-104a34f49902 + jinja: '{{context}} + + + उपरोक्त गद्यांश से एक प्रश्न उत्पन्न करें : ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_generate_question_himt + reference: '' + e486ca20-37c7-4448-a314-0c4baaae8ddc: !Template + answer_choices: '' + id: e486ca20-37c7-4448-a314-0c4baaae8ddc + jinja: 'निम्नलिखित गद्यांश को पढ़िए और नीचे दिए गए प्रश्न का उत्तर दीजिए: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: read_passage_himt + reference: '' + fc924507-73c2-434b-92b0-f56ed6ec95c8: !Template + answer_choices: '' + id: fc924507-73c2-434b-92b0-f56ed6ec95c8 + jinja: '{{answers.text[0]}} के {{question}} के उत्तर को देखते हुए, एक ऐसा टेक्स्ट + लिखें जो इसे स्पष्ट करे। उत्तर चार नंबर {{answers.answer_start[0]}} से शुरू + होना चाहिए। टेक्स्ट: ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longchar_himt + reference: '' diff --git a/promptsource/templates/xquad/xquad.vi/templates.yaml b/promptsource/templates/xquad/xquad.vi/templates.yaml new file mode 100644 index 000000000..3b5231613 --- /dev/null +++ b/promptsource/templates/xquad/xquad.vi/templates.yaml @@ -0,0 +1,147 @@ +dataset: xquad +subset: xquad.vi +templates: + 2d0bfe9c-2c0f-4d4a-874a-cce1f3e87432: !Template + answer_choices: '' + id: 2d0bfe9c-2c0f-4d4a-874a-cce1f3e87432 + jinja: '{{context}} + + + Với sự tham chiếu đến ngữ cảnh trên, {{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_the_question_vimt + reference: '' + 520fb9c0-34a6-4344-93ab-de57ee925a11: !Template + answer_choices: '' + id: 520fb9c0-34a6-4344-93ab-de57ee925a11 + jinja: 'Đưa ra câu trả lời {{answers.text[0]}} cho {{question}}, hãy viết một + văn bản giải thích điều này. Câu trả lời phải bắt đầu ở số ký tự {{answers.answer_start[0]}}. + Văn bản: ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longchar_vimt + reference: '' + 577d671a-a915-45ea-8f1a-a8c61dcd83be: !Template + answer_choices: '' + id: 577d671a-a915-45ea-8f1a-a8c61dcd83be + jinja: '{{question}} Rõ ràng là {{answers.text[0]}}. Bạn có thể cung cấp cho tôi + một số bối cảnh? ||| {{context}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: xp3longcontext_vimt + reference: '' + 661383b5-a59c-418b-9d72-ebd328337654: !Template + answer_choices: '' + id: 661383b5-a59c-418b-9d72-ebd328337654 + jinja: '{{context}} + + + H: {{question}} + + + Đề cập đến đoạn văn trên, câu trả lời chính xác cho câu hỏi được đưa ra là ||| + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_given_context_and_question_vimt + reference: '' + 7ff428f6-e566-47aa-a3aa-8f0c09b6d1f6: !Template + answer_choices: '' + id: 7ff428f6-e566-47aa-a3aa-8f0c09b6d1f6 + jinja: '{{context}} + + + H: {{question}} + + + A: ||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_answer_question_variation_vimt + reference: '' + 99204f66-dc97-4baa-b324-645f01c35b5d: !Template + answer_choices: '' + id: 99204f66-dc97-4baa-b324-645f01c35b5d + jinja: 'Đọc đoạn văn sau và trả lời câu hỏi sau: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: read_passage_vimt + reference: '' + ca897707-f7c0-467e-b2e4-f62825597212: !Template + answer_choices: '' + id: ca897707-f7c0-467e-b2e4-f62825597212 + jinja: 'Tham khảo đoạn văn dưới đây và trả lời câu hỏi sau: + + + Đoạn: {{context}} + + + Câu hỏi: {{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_question_given_context_vimt + reference: '' + f27e17fa-d777-44db-a805-e052b521e8c3: !Template + answer_choices: '' + id: f27e17fa-d777-44db-a805-e052b521e8c3 + jinja: '{{context}} + + + Từ đoạn văn trên, một câu hỏi hợp lý với "{{answers["text"][0]}}" như câu trả + lời sẽ là: ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: jeopardy_vimt + reference: '' + f29b4bb2-5e41-438b-b55c-a06f4a0cba32: !Template + answer_choices: '' + id: f29b4bb2-5e41-438b-b55c-a06f4a0cba32 + jinja: '{{context}} + + + Tạo câu hỏi từ đoạn văn trên: ||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_generate_question_vimt + reference: '' diff --git a/promptsource/templates/xquad/xquad.zh/templates.yaml b/promptsource/templates/xquad/xquad.zh/templates.yaml new file mode 100644 index 000000000..e31f99b75 --- /dev/null +++ b/promptsource/templates/xquad/xquad.zh/templates.yaml @@ -0,0 +1,120 @@ +dataset: xquad +subset: xquad.zh +templates: + 0e89de82-c36f-4520-830b-a267e7a8fd36: !Template + answer_choices: '' + id: 0e89de82-c36f-4520-830b-a267e7a8fd36 + jinja: '阅读下面的短文,回答下面的问题: + + {{context}} + + {{question}} + + ||| {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: read_passage_zhmt + reference: '' + 261c8af4-66ac-4723-9d1c-3b4de045792d: !Template + answer_choices: '' + id: 261c8af4-66ac-4723-9d1c-3b4de045792d + jinja: '{{context}} + + + 问:{{question}} + + + 参考上面的段落,给定问题的正确答案是||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_given_context_and_question_zhmt + reference: '' + 6cb98410-8b6e-4a1b-aff8-927299472184: !Template + answer_choices: '' + id: 6cb98410-8b6e-4a1b-aff8-927299472184 + jinja: '参考下面的短文,回答下列问题: + + + 段落:{{context}} + + + 问题:{{question}} + + ||| + + {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_question_given_context_zhmt + reference: '' + 7ccc7635-e481-45e6-84fc-52afd76e8e0d: !Template + answer_choices: '' + id: 7ccc7635-e481-45e6-84fc-52afd76e8e0d + jinja: '{{context}} + + + 从上面的段落中,一个以“{{answers["text"][0]}}" 为答案的合理问题将是:||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: jeopardy_zhmt + reference: '' + 8e0f1b8e-624d-4d1d-8844-9721af339732: !Template + answer_choices: '' + id: 8e0f1b8e-624d-4d1d-8844-9721af339732 + jinja: '{{context}} + + + 从上面的段落中产生一个问题:||| {{question}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_generate_question_zhmt + reference: '' + 91964364-dcb8-46fd-88a4-e731482446a3: !Template + answer_choices: '' + id: 91964364-dcb8-46fd-88a4-e731482446a3 + jinja: '{{context}} + + + 参考上述上下文,{{question}} ||| + + + {{answers.text[0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: answer_the_question_zhmt + reference: '' + cb18f7a5-1ecb-4729-a9fa-83dbd38e08cb: !Template + answer_choices: '' + id: cb18f7a5-1ecb-4729-a9fa-83dbd38e08cb + jinja: '{{context}} + + + 问:{{question}} + + + 答:||| {{answers["text"][0]}}' + metadata: !TemplateMetadata + choices_in_prompt: null + languages: null + metrics: null + original_task: null + name: given_context_answer_question_variation_zhmt + reference: ''