Commit 9bee4b4f authored by lintangsutawika's avatar lintangsutawika
Browse files

add process for each subtask

parent 578f5d48
...@@ -4,6 +4,7 @@ fewshot_split: validation ...@@ -4,6 +4,7 @@ fewshot_split: validation
fewshot_config: fewshot_config:
sampler: first_n sampler: first_n
doc_to_text: !function utils.fewshot_to_text doc_to_text: !function utils.fewshot_to_text
doc_to_target: ""
output_type: generate_until output_type: generate_until
doc_to_text: !function utils.doc_to_text doc_to_text: !function utils.doc_to_text
doc_to_target: answer doc_to_target: answer
......
dataset_name: "business"
description: "The following are multiple choice questions (with answers) about business. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about business. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_business" task: "mmlu_pro_business"
task_alias: "business" task_alias: "business"
process_docs: !function utils.process_business
dataset_name: "math"
description: "The following are multiple choice questions (with answers) about chemistry. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about chemistry. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_math" task: "mmlu_pro_chemistry"
task_alias: "math" task_alias: "chemistry"
process_docs: !function utils.process_chemistry
\ No newline at end of file
dataset_name: "computer_science"
description: "The following are multiple choice questions (with answers) about computer science. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about computer science. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_computer_science" task: "mmlu_pro_computer_science"
task_alias: "computer_science" task_alias: "computer_science"
process_docs: !function utils.process_computer_science
\ No newline at end of file
dataset_name: "economics"
description: "The following are multiple choice questions (with answers) about economics. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about economics. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_economics" task: "mmlu_pro_economics"
task_alias: "economics" task_alias: "economics"
process_docs: !function utils.process_economics
\ No newline at end of file
dataset_name: "engineering"
description: "The following are multiple choice questions (with answers) about engineering. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about engineering. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_engineering" task: "mmlu_pro_engineering"
task_alias: "engineering" task_alias: "engineering"
process_docs: !function utils.process_engineering
\ No newline at end of file
dataset_name: "health"
description: "The following are multiple choice questions (with answers) about health. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about health. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_health" task: "mmlu_pro_health"
task_alias: "health" task_alias: "health"
process_docs: !function utils.process_health
\ No newline at end of file
dataset_name: "history"
description: "The following are multiple choice questions (with answers) about history. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about history. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_history" task: "mmlu_pro_history"
task_alias: "history" task_alias: "history"
process_docs: !function utils.process_history
\ No newline at end of file
dataset_name: "law"
description: "The following are multiple choice questions (with answers) about law. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about law. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_law" task: "mmlu_pro_law"
task_alias: "law" task_alias: "law"
process_docs: !function utils.process_law
\ No newline at end of file
dataset_name: "math"
description: "The following are multiple choice questions (with answers) about math. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about math. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_math" task: "mmlu_pro_math"
task_alias: "math" task_alias: "math"
process_docs: !function utils.process_math
\ No newline at end of file
dataset_name: "other"
description: "The following are multiple choice questions (with answers) about other. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about other. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_other" task: "mmlu_pro_other"
task_alias: "other" task_alias: "other"
process_docs: !function utils.process_other
\ No newline at end of file
dataset_name: "philosophy"
description: "The following are multiple choice questions (with answers) about philosophy. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about philosophy. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_philosophy" task: "mmlu_pro_philosophy"
task_alias: "philosophy" task_alias: "philosophy"
process_docs: !function utils.process_philosophy
\ No newline at end of file
dataset_name: "physics"
description: "The following are multiple choice questions (with answers) about physics. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about physics. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_physics" task: "mmlu_pro_physics"
task_alias: "physics" task_alias: "physics"
process_docs: !function utils.process_physics
\ No newline at end of file
dataset_name: "psychology"
description: "The following are multiple choice questions (with answers) about psychology. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice." description: "The following are multiple choice questions (with answers) about psychology. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice."
include: "_default_template_yaml" include: "_default_template_yaml"
task: "mmlu_pro_psychology" task: "mmlu_pro_psychology"
task_alias: "psychology" task_alias: "psychology"
process_docs: !function utils.process_psychology
\ No newline at end of file
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