Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/README.md +70 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/_default_template_yaml +33 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/_mmlu_pro_plus.yaml +23 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_biology.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_business.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_chemistry.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_computer_science.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_economics.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_engineering.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_health.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_history.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_law.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_math.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_psychology.yaml +5 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/utils.py +63 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_jurisprudence.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_machine_learning.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_moral_scenarios.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_philosophy.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_professional_accounting.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_professional_law.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_professional_medicine.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_public_relations.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_sociology.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_virology.yaml +6 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_astronomy.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_college_chemistry.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_college_mathematics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_college_medicine.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_computer_security.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_conceptual_physics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_econometrics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_electrical_engineering.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_elementary_mathematics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_formal_logic.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_global_facts.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_biology.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_computer_science.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_european_history.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_geography.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_government_and_politics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_macroeconomics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_mathematics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_microeconomics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_physics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_psychology.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_statistics.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_us_history.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_world_history.yaml +7 -0
- lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_human_aging.yaml +7 -0
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# mmlu_pro_plus
|
| 2 |
+
|
| 3 |
+
### Paper
|
| 4 |
+
|
| 5 |
+
Title: `MMLU-Pro+: Evaluating Higher-Order Reasoning and Shortcut Learning in LLMs`
|
| 6 |
+
|
| 7 |
+
Abstract: `Existing benchmarks for large language models (LLMs) increasingly struggle to differentiate between
|
| 8 |
+
top-performing models, underscoring the need for more challenging evaluation frameworks.
|
| 9 |
+
We introduce MMLU-Pro+, an enhanced benchmark building upon MMLU-Pro to assess shortcut
|
| 10 |
+
learning and higher-order reasoning in LLMs. By incorporating questions with multiple
|
| 11 |
+
correct answers across diverse domains, MMLU-Pro+ tests LLMs' ability to engage in complex
|
| 12 |
+
reasoning and resist simplistic problem-solving strategies. Our results show that
|
| 13 |
+
MMLU-Pro+ maintains MMLU-Pro's difficulty while providing a more rigorous test of
|
| 14 |
+
model discrimination, particularly in multi-correct answer scenarios.
|
| 15 |
+
We introduce novel metrics like shortcut selection ratio and correct pair identification
|
| 16 |
+
ratio, offering deeper insights into model behavior and anchoring bias.
|
| 17 |
+
Evaluations of six state-of-the-art LLMs reveal significant performance gaps,
|
| 18 |
+
highlighting variations in reasoning abilities and bias susceptibility.`
|
| 19 |
+
|
| 20 |
+
Homepage: https://github.com/asgsaeid/mmlu-pro-plus
|
| 21 |
+
|
| 22 |
+
### Citation
|
| 23 |
+
|
| 24 |
+
```bibtex
|
| 25 |
+
@article{taghanaki2024mmlu,
|
| 26 |
+
title={MMLU-Pro+: Evaluating Higher-Order Reasoning and Shortcut Learning in LLMs},
|
| 27 |
+
author={Taghanaki, Saeid Asgari and Khani, Aliasgahr and Khasahmadi, Amir},
|
| 28 |
+
journal={arXiv preprint arXiv:2409.02257},
|
| 29 |
+
year={2024}
|
| 30 |
+
}
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
### Groups and Tasks
|
| 34 |
+
|
| 35 |
+
#### Groups
|
| 36 |
+
|
| 37 |
+
* `mmlu_pro_plus`: 'All 14 subjects of the mmlu_pro_plus dataset, evaluated following the methodology in mmlu's original implementation'
|
| 38 |
+
|
| 39 |
+
#### Tasks
|
| 40 |
+
|
| 41 |
+
The following tasks evaluate subjects in the mmlu_pro dataset
|
| 42 |
+
- `mmlu_pro_plus_biology`
|
| 43 |
+
- `mmlu_pro_plus_business`
|
| 44 |
+
- `mmlu_pro_plus_chemistry`
|
| 45 |
+
- `mmlu_pro_plus_computer_science`
|
| 46 |
+
- `mmlu_pro_plus_economics`
|
| 47 |
+
- `mmlu_pro_plus_engineering`
|
| 48 |
+
- `mmlu_pro_plus_health`
|
| 49 |
+
- `mmlu_pro_plus_history`
|
| 50 |
+
- `mmlu_pro_plus_law`
|
| 51 |
+
- `mmlu_pro_plus_math`
|
| 52 |
+
- `mmlu_pro_plus_other`
|
| 53 |
+
- `mmlu_pro_plus_philosophy`
|
| 54 |
+
- `mmlu_pro_plus_physics`
|
| 55 |
+
- `mmlu_pro_plus_psychology`
|
| 56 |
+
|
| 57 |
+
### Checklist
|
| 58 |
+
|
| 59 |
+
For adding novel benchmarks/datasets to the library:
|
| 60 |
+
* [x] Is the task an existing benchmark in the literature?
|
| 61 |
+
* [x] Have you referenced the original paper that introduced the task?
|
| 62 |
+
* [x] If yes, does the original paper provide a reference implementation? If so, have you checked against the reference implementation and documented how to run such a test?
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
If other tasks on this dataset are already supported:
|
| 66 |
+
* [ ] Is the "Main" variant of this task clearly denoted?
|
| 67 |
+
* [x] Have you provided a short sentence in a README on what each new variant adds / evaluates?
|
| 68 |
+
* [x] Have you noted which, if any, published evaluation setups are matched by this variant?
|
| 69 |
+
|
| 70 |
+
### Changelog
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/_default_template_yaml
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
dataset_path: saeidasgari/mmlu-pro-plus
|
| 2 |
+
test_split: test
|
| 3 |
+
fewshot_split: validation
|
| 4 |
+
fewshot_config:
|
| 5 |
+
sampler: first_n
|
| 6 |
+
doc_to_text: !function utils.fewshot_to_text
|
| 7 |
+
doc_to_target: ""
|
| 8 |
+
output_type: generate_until
|
| 9 |
+
doc_to_text: !function utils.doc_to_text
|
| 10 |
+
doc_to_target: answer
|
| 11 |
+
filter_list:
|
| 12 |
+
- name: "custom-extract"
|
| 13 |
+
filter:
|
| 14 |
+
- function: "regex"
|
| 15 |
+
regex_pattern: 'answer is \(?([ABCDEFGHIJKL])\)?'
|
| 16 |
+
# regex_pattern: r".*[aA]nswer:\s*([A-L])",
|
| 17 |
+
- function: "take_first"
|
| 18 |
+
generation_kwargs:
|
| 19 |
+
until:
|
| 20 |
+
- "</s>"
|
| 21 |
+
- "Q:"
|
| 22 |
+
- "<|im_end|>"
|
| 23 |
+
do_sample: false
|
| 24 |
+
temperature: 0.0
|
| 25 |
+
num_fewshot: 5
|
| 26 |
+
metric_list:
|
| 27 |
+
- metric: exact_match
|
| 28 |
+
aggregation: mean
|
| 29 |
+
higher_is_better: true
|
| 30 |
+
ignore_case: true
|
| 31 |
+
ignore_punctuation: true
|
| 32 |
+
metadata:
|
| 33 |
+
version: 1.0
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/_mmlu_pro_plus.yaml
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
group: mmlu_pro_plus
|
| 2 |
+
task:
|
| 3 |
+
- mmlu_pro_plus_biology
|
| 4 |
+
- mmlu_pro_plus_business
|
| 5 |
+
- mmlu_pro_plus_chemistry
|
| 6 |
+
- mmlu_pro_plus_computer_science
|
| 7 |
+
- mmlu_pro_plus_economics
|
| 8 |
+
- mmlu_pro_plus_engineering
|
| 9 |
+
- mmlu_pro_plus_health
|
| 10 |
+
- mmlu_pro_plus_history
|
| 11 |
+
- mmlu_pro_plus_law
|
| 12 |
+
- mmlu_pro_plus_math
|
| 13 |
+
- mmlu_pro_plus_other
|
| 14 |
+
- mmlu_pro_plus_philosophy
|
| 15 |
+
- mmlu_pro_plus_physics
|
| 16 |
+
- mmlu_pro_plus_psychology
|
| 17 |
+
aggregate_metric_list:
|
| 18 |
+
- aggregation: mean
|
| 19 |
+
metric: exact_match
|
| 20 |
+
weight_by_size: true
|
| 21 |
+
filter_list: custom-extract
|
| 22 |
+
metadata:
|
| 23 |
+
version: 1.0
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_biology.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
description: "The following are multiple choice questions (with answers) about biology. Think step by step and then finish your answer with \"the answer is (X)\" where X is the correct letter choice.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_biology"
|
| 4 |
+
task_alias: "biology"
|
| 5 |
+
process_docs: !function utils.process_biology
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_business.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_business"
|
| 4 |
+
task_alias: "business"
|
| 5 |
+
process_docs: !function utils.process_business
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_chemistry.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_chemistry"
|
| 4 |
+
task_alias: "chemistry"
|
| 5 |
+
process_docs: !function utils.process_chemistry
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_computer_science.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_computer_science"
|
| 4 |
+
task_alias: "computer_science"
|
| 5 |
+
process_docs: !function utils.process_computer_science
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_economics.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_economics"
|
| 4 |
+
task_alias: "economics"
|
| 5 |
+
process_docs: !function utils.process_economics
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_engineering.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_engineering"
|
| 4 |
+
task_alias: "engineering"
|
| 5 |
+
process_docs: !function utils.process_engineering
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_health.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_health"
|
| 4 |
+
task_alias: "health"
|
| 5 |
+
process_docs: !function utils.process_health
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_history.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_history"
|
| 4 |
+
task_alias: "history"
|
| 5 |
+
process_docs: !function utils.process_history
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_law.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_law"
|
| 4 |
+
task_alias: "law"
|
| 5 |
+
process_docs: !function utils.process_law
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_math.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_math"
|
| 4 |
+
task_alias: "math"
|
| 5 |
+
process_docs: !function utils.process_math
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_psychology.yaml
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
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.\n"
|
| 2 |
+
include: "_default_template_yaml"
|
| 3 |
+
task: "mmlu_pro_plus_psychology"
|
| 4 |
+
task_alias: "psychology"
|
| 5 |
+
process_docs: !function utils.process_psychology
|
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/utils.py
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from functools import partial
|
| 2 |
+
|
| 3 |
+
|
| 4 |
+
choices = [
|
| 5 |
+
"A",
|
| 6 |
+
"B",
|
| 7 |
+
"C",
|
| 8 |
+
"D",
|
| 9 |
+
"E",
|
| 10 |
+
"F",
|
| 11 |
+
"G",
|
| 12 |
+
"H",
|
| 13 |
+
"I",
|
| 14 |
+
"J",
|
| 15 |
+
"K",
|
| 16 |
+
"L",
|
| 17 |
+
"M",
|
| 18 |
+
"N",
|
| 19 |
+
"O",
|
| 20 |
+
"P",
|
| 21 |
+
]
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
def format_cot_example(example, including_answer=True):
|
| 25 |
+
prompt = "Question:\n"
|
| 26 |
+
question = example["question"]
|
| 27 |
+
options = example["options"]
|
| 28 |
+
prompt += question + "\n"
|
| 29 |
+
prompt += "Options:\n"
|
| 30 |
+
for i, opt in enumerate(options):
|
| 31 |
+
prompt += "{}. {}\n".format(choices[i], opt)
|
| 32 |
+
if including_answer:
|
| 33 |
+
cot_content = example["cot_content"].replace(
|
| 34 |
+
"A: Let's think step by step.", "Answer: Let's think step by step."
|
| 35 |
+
)
|
| 36 |
+
prompt += cot_content + "\n\n"
|
| 37 |
+
else:
|
| 38 |
+
prompt += "Answer: Let's think step by step."
|
| 39 |
+
return prompt
|
| 40 |
+
|
| 41 |
+
|
| 42 |
+
doc_to_text = partial(format_cot_example, including_answer=False)
|
| 43 |
+
fewshot_to_text = partial(format_cot_example, including_answer=True)
|
| 44 |
+
|
| 45 |
+
|
| 46 |
+
def process_docs(dataset, subject):
|
| 47 |
+
return dataset.filter(lambda x: x["category"] == subject)
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
process_biology = partial(process_docs, subject="biology")
|
| 51 |
+
process_business = partial(process_docs, subject="business")
|
| 52 |
+
process_chemistry = partial(process_docs, subject="chemistry")
|
| 53 |
+
process_computer_science = partial(process_docs, subject="computer science")
|
| 54 |
+
process_economics = partial(process_docs, subject="economics")
|
| 55 |
+
process_engineering = partial(process_docs, subject="engineering")
|
| 56 |
+
process_health = partial(process_docs, subject="health")
|
| 57 |
+
process_history = partial(process_docs, subject="history")
|
| 58 |
+
process_law = partial(process_docs, subject="law")
|
| 59 |
+
process_math = partial(process_docs, subject="math")
|
| 60 |
+
process_other = partial(process_docs, subject="other")
|
| 61 |
+
process_philosophy = partial(process_docs, subject="philosophy")
|
| 62 |
+
process_physics = partial(process_docs, subject="physics")
|
| 63 |
+
process_psychology = partial(process_docs, subject="psychology")
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_jurisprudence.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "jurisprudence"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about jurisprudence.\n\
|
| 3 |
+
\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_humanities"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_jurisprudence"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_machine_learning.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "machine_learning"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about machine\
|
| 3 |
+
\ learning.\n\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_stem"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_machine_learning"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_moral_scenarios.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "moral_scenarios"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about moral\
|
| 3 |
+
\ scenarios.\n\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_humanities"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_moral_scenarios"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_philosophy.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "philosophy"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about philosophy.\n\
|
| 3 |
+
\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_humanities"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_philosophy"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_professional_accounting.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "professional_accounting"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about professional\
|
| 3 |
+
\ accounting.\n\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_other"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_professional_accounting"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_professional_law.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "professional_law"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about professional\
|
| 3 |
+
\ law.\n\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_humanities"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_professional_law"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_professional_medicine.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "professional_medicine"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about professional\
|
| 3 |
+
\ medicine.\n\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_other"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_professional_medicine"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_public_relations.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "public_relations"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about public\
|
| 3 |
+
\ relations.\n\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_social_sciences"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_public_relations"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_sociology.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "sociology"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about sociology.\n\
|
| 3 |
+
\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_social_sciences"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_sociology"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_virology.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "virology"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about virology.\n\
|
| 3 |
+
\n"
|
| 4 |
+
"tag": "mmlu_flan_n_shot_loglikelihood_other"
|
| 5 |
+
"include": "_mmlu_flan_loglikelihood_template_yaml"
|
| 6 |
+
"task": "mmlu_flan_n_shot_loglikelihood_virology"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_astronomy.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "astronomy"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about astronomy.\n\
|
| 3 |
+
\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_astronomy_generative"
|
| 7 |
+
"task_alias": "astronomy"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_college_chemistry.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "college_chemistry"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about college\
|
| 3 |
+
\ chemistry.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_college_chemistry_generative"
|
| 7 |
+
"task_alias": "college_chemistry"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_college_mathematics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "college_mathematics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about college\
|
| 3 |
+
\ mathematics.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_college_mathematics_generative"
|
| 7 |
+
"task_alias": "college_mathematics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_college_medicine.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "college_medicine"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about college\
|
| 3 |
+
\ medicine.\n\n"
|
| 4 |
+
"tag": "mmlu_other_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_college_medicine_generative"
|
| 7 |
+
"task_alias": "college_medicine"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_computer_security.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "computer_security"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about computer\
|
| 3 |
+
\ security.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_computer_security_generative"
|
| 7 |
+
"task_alias": "computer_security"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_conceptual_physics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "conceptual_physics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about conceptual\
|
| 3 |
+
\ physics.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_conceptual_physics_generative"
|
| 7 |
+
"task_alias": "conceptual_physics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_econometrics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "econometrics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about econometrics.\n\
|
| 3 |
+
\n"
|
| 4 |
+
"tag": "mmlu_social_sciences_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_econometrics_generative"
|
| 7 |
+
"task_alias": "econometrics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_electrical_engineering.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "electrical_engineering"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about electrical\
|
| 3 |
+
\ engineering.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_electrical_engineering_generative"
|
| 7 |
+
"task_alias": "electrical_engineering"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_elementary_mathematics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "elementary_mathematics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about elementary\
|
| 3 |
+
\ mathematics.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_elementary_mathematics_generative"
|
| 7 |
+
"task_alias": "elementary_mathematics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_formal_logic.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "formal_logic"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about formal\
|
| 3 |
+
\ logic.\n\n"
|
| 4 |
+
"tag": "mmlu_humanities_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_formal_logic_generative"
|
| 7 |
+
"task_alias": "formal_logic"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_global_facts.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "global_facts"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about global\
|
| 3 |
+
\ facts.\n\n"
|
| 4 |
+
"tag": "mmlu_other_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_global_facts_generative"
|
| 7 |
+
"task_alias": "global_facts"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_biology.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_biology"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school biology.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_biology_generative"
|
| 7 |
+
"task_alias": "high_school_biology"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_computer_science.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_computer_science"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school computer science.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_computer_science_generative"
|
| 7 |
+
"task_alias": "high_school_computer_science"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_european_history.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_european_history"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school european history.\n\n"
|
| 4 |
+
"tag": "mmlu_humanities_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_european_history_generative"
|
| 7 |
+
"task_alias": "high_school_european_history"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_geography.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_geography"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school geography.\n\n"
|
| 4 |
+
"tag": "mmlu_social_sciences_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_geography_generative"
|
| 7 |
+
"task_alias": "high_school_geography"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_government_and_politics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_government_and_politics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school government and politics.\n\n"
|
| 4 |
+
"tag": "mmlu_social_sciences_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_government_and_politics_generative"
|
| 7 |
+
"task_alias": "high_school_government_and_politics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_macroeconomics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_macroeconomics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school macroeconomics.\n\n"
|
| 4 |
+
"tag": "mmlu_social_sciences_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_macroeconomics_generative"
|
| 7 |
+
"task_alias": "high_school_macroeconomics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_mathematics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_mathematics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school mathematics.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_mathematics_generative"
|
| 7 |
+
"task_alias": "high_school_mathematics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_microeconomics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_microeconomics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school microeconomics.\n\n"
|
| 4 |
+
"tag": "mmlu_social_sciences_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_microeconomics_generative"
|
| 7 |
+
"task_alias": "high_school_microeconomics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_physics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_physics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school physics.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_physics_generative"
|
| 7 |
+
"task_alias": "high_school_physics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_psychology.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_psychology"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school psychology.\n\n"
|
| 4 |
+
"tag": "mmlu_social_sciences_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_psychology_generative"
|
| 7 |
+
"task_alias": "high_school_psychology"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_statistics.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_statistics"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school statistics.\n\n"
|
| 4 |
+
"tag": "mmlu_stem_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_statistics_generative"
|
| 7 |
+
"task_alias": "high_school_statistics"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_us_history.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_us_history"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school us history.\n\n"
|
| 4 |
+
"tag": "mmlu_humanities_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_us_history_generative"
|
| 7 |
+
"task_alias": "high_school_us_history"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_high_school_world_history.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "high_school_world_history"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about high\
|
| 3 |
+
\ school world history.\n\n"
|
| 4 |
+
"tag": "mmlu_humanities_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_high_school_world_history_generative"
|
| 7 |
+
"task_alias": "high_school_world_history"
|
lm-evaluation-harness/lm_eval/tasks/mmlu/generative/mmlu_human_aging.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
"dataset_name": "human_aging"
|
| 2 |
+
"description": "The following are multiple choice questions (with answers) about human\
|
| 3 |
+
\ aging.\n\n"
|
| 4 |
+
"tag": "mmlu_other_generative"
|
| 5 |
+
"include": "_default_template_yaml"
|
| 6 |
+
"task": "mmlu_human_aging_generative"
|
| 7 |
+
"task_alias": "human_aging"
|