Unverified Commit 26bc3eab authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Merge branch 'big-refactor' into model-written-eval

parents 0d701496 cf617ab1
"dataset_name": "uzn_Latn"
"include": "_default_template_yaml"
"task": "belebele_uzn_Latn"
"dataset_name": "vie_Latn"
"include": "_default_template_yaml"
"task": "belebele_vie_Latn"
"dataset_name": "war_Latn"
"include": "_default_template_yaml"
"task": "belebele_war_Latn"
"dataset_name": "wol_Latn"
"include": "_default_template_yaml"
"task": "belebele_wol_Latn"
"dataset_name": "xho_Latn"
"include": "_default_template_yaml"
"task": "belebele_xho_Latn"
"dataset_name": "yor_Latn"
"include": "_default_template_yaml"
"task": "belebele_yor_Latn"
"dataset_name": "zho_Hans"
"include": "_default_template_yaml"
"task": "belebele_zho_Hans"
"dataset_name": "zho_Hant"
"include": "_default_template_yaml"
"task": "belebele_zho_Hant"
"dataset_name": "zsm_Latn"
"include": "_default_template_yaml"
"task": "belebele_zsm_Latn"
"dataset_name": "zul_Latn"
"include": "_default_template_yaml"
"task": "belebele_zul_Latn"
group: flan-cot
output_type: greedy_until
output_type: generate_until
validation_split: validation
doc_to_target: "{{answer}}"
metric_list:
......
output_type: greedy_until
output_type: generate_until
validation_split: validation
metric_list:
- metric: exact_match
......
......@@ -6,7 +6,7 @@ task:
use_prompt: promptsource:*
training_split: train
validation_split: validation
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -19,7 +19,7 @@ task:
use_prompt: promptsource:*
training_split: train
validation_split: validation
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -32,7 +32,7 @@ task:
use_prompt: promptsource:*
training_split: train
validation_split: validation
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -44,7 +44,7 @@ task:
use_prompt: promptsource:*
training_split: train
validation_split: validation
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -56,7 +56,7 @@ task:
use_prompt: promptsource:*
training_split: train_r1
validation_split: dev_r1
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -68,7 +68,7 @@ task:
use_prompt: promptsource:*
training_split: train_r2
validation_split: dev_r2
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -80,7 +80,7 @@ task:
use_prompt: promptsource:*
training_split: train_r3
validation_split: dev_r3
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -93,7 +93,7 @@ task:
use_prompt: promptsource:*
training_split: train
validation_split: validation
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -105,7 +105,7 @@ task:
use_prompt: promptsource:*
training_split: train
validation_split: validation
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......@@ -118,7 +118,7 @@ task:
use_prompt: promptsource:*
training_split: train
validation_split: validation
output_type: greedy_until
output_type: generate_until
metric_list:
- metric: exact_match
aggregation: mean
......
......@@ -175,8 +175,8 @@ all_subtasks = [
def main() -> None:
for path, task_type in zip(
["multiple_choice", "greedy_until"],
["multiple_choice_template_yaml", "greedy_until_template_yaml"],
["multiple_choice", "generate_until"],
["multiple_choice_template_yaml", "generate_until_template_yaml"],
):
os.makedirs(path, exist_ok=True)
for task in all_subtasks:
......
# Generated by utils.py
dataset_name: abstract_narrative_understanding_zero_shot
include: ../greedy_until_template_yaml
task: bigbench_abstract_narrative_understanding_greedy_until
include: ../generate_until_template_yaml
task: bigbench_abstract_narrative_understanding_generate_until
# Generated by utils.py
dataset_name: anachronisms_zero_shot
include: ../greedy_until_template_yaml
task: bigbench_anachronisms_greedy_until
include: ../generate_until_template_yaml
task: bigbench_anachronisms_generate_until
# Generated by utils.py
dataset_name: analogical_similarity_zero_shot
include: ../greedy_until_template_yaml
task: bigbench_analogical_similarity_greedy_until
include: ../generate_until_template_yaml
task: bigbench_analogical_similarity_generate_until
# Generated by utils.py
dataset_name: analytic_entailment_zero_shot
include: ../greedy_until_template_yaml
task: bigbench_analytic_entailment_greedy_until
include: ../generate_until_template_yaml
task: bigbench_analytic_entailment_generate_until
# Generated by utils.py
dataset_name: arithmetic_zero_shot
include: ../greedy_until_template_yaml
task: bigbench_arithmetic_greedy_until
include: ../generate_until_template_yaml
task: bigbench_arithmetic_generate_until
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment