chen459664 commited on
Commit
8530322
·
verified ·
1 Parent(s): 5d684a6

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/README.md +70 -0
  2. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/_default_template_yaml +33 -0
  3. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/_mmlu_pro_plus.yaml +23 -0
  4. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_biology.yaml +5 -0
  5. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_business.yaml +5 -0
  6. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_chemistry.yaml +5 -0
  7. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_computer_science.yaml +5 -0
  8. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_economics.yaml +5 -0
  9. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_engineering.yaml +5 -0
  10. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_health.yaml +5 -0
  11. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_history.yaml +5 -0
  12. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_law.yaml +5 -0
  13. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_math.yaml +5 -0
  14. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_other.yaml +5 -0
  15. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_philosophy.yaml +5 -0
  16. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_physics.yaml +5 -0
  17. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_psychology.yaml +5 -0
  18. lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/utils.py +63 -0
  19. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_high_school_us_history.yaml +7 -0
  20. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_management.yaml +7 -0
  21. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_marketing.yaml +7 -0
  22. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_moral_disputes.yaml +7 -0
  23. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_moral_scenarios.yaml +7 -0
  24. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_nutrition.yaml +7 -0
  25. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_professional_psychology.yaml +7 -0
  26. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_public_relations.yaml +7 -0
  27. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_security_studies.yaml +7 -0
  28. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_sociology.yaml +7 -0
  29. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_us_foreign_policy.yaml +7 -0
  30. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_virology.yaml +7 -0
  31. lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_world_religions.yaml +7 -0
  32. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_physics.yaml +61 -0
  33. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_computer_security.yaml +50 -0
  34. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_conceptual_physics.yaml +49 -0
  35. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_elementary_mathematics.yaml +77 -0
  36. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_formal_logic.yaml +70 -0
  37. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_global_facts.yaml +49 -0
  38. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_biology.yaml +69 -0
  39. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_computer_science.yaml +84 -0
  40. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_european_history.yaml +199 -0
  41. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_geography.yaml +53 -0
  42. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_government_and_politics.yaml +61 -0
  43. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_macroeconomics.yaml +53 -0
  44. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_mathematics.yaml +51 -0
  45. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_microeconomics.yaml +56 -0
  46. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_physics.yaml +50 -0
  47. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_psychology.yaml +64 -0
  48. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_statistics.yaml +81 -0
  49. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_us_history.yaml +156 -0
  50. lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_world_history.yaml +100 -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_other.yaml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ 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.\n"
2
+ include: "_default_template_yaml"
3
+ task: "mmlu_pro_plus_other"
4
+ task_alias: "other"
5
+ process_docs: !function utils.process_other
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_philosophy.yaml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ 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.\n"
2
+ include: "_default_template_yaml"
3
+ task: "mmlu_pro_plus_philosophy"
4
+ task_alias: "philosophy"
5
+ process_docs: !function utils.process_philosophy
lm-evaluation-harness/lm_eval/tasks/mmlu-pro-plus/mmlu_pro_plus_physics.yaml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ 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.\n"
2
+ include: "_default_template_yaml"
3
+ task: "mmlu_pro_plus_physics"
4
+ task_alias: "physics"
5
+ process_docs: !function utils.process_physics
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/default/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_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_high_school_us_history"
7
+ "task_alias": "high_school_us_history"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_management.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "management"
2
+ "description": "The following are multiple choice questions (with answers) about management.\n\
3
+ \n"
4
+ "tag": "mmlu_other_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_management"
7
+ "task_alias": "management"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_marketing.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "marketing"
2
+ "description": "The following are multiple choice questions (with answers) about marketing.\n\
3
+ \n"
4
+ "tag": "mmlu_other_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_marketing"
7
+ "task_alias": "marketing"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_moral_disputes.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "moral_disputes"
2
+ "description": "The following are multiple choice questions (with answers) about moral\
3
+ \ disputes.\n\n"
4
+ "tag": "mmlu_humanities_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_moral_disputes"
7
+ "task_alias": "moral_disputes"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_moral_scenarios.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "moral_scenarios"
2
+ "description": "The following are multiple choice questions (with answers) about moral\
3
+ \ scenarios.\n\n"
4
+ "tag": "mmlu_humanities_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_moral_scenarios"
7
+ "task_alias": "moral_scenarios"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_nutrition.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "nutrition"
2
+ "description": "The following are multiple choice questions (with answers) about nutrition.\n\
3
+ \n"
4
+ "tag": "mmlu_other_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_nutrition"
7
+ "task_alias": "nutrition"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_professional_psychology.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "professional_psychology"
2
+ "description": "The following are multiple choice questions (with answers) about professional\
3
+ \ psychology.\n\n"
4
+ "tag": "mmlu_social_sciences_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_professional_psychology"
7
+ "task_alias": "professional_psychology"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_public_relations.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "public_relations"
2
+ "description": "The following are multiple choice questions (with answers) about public\
3
+ \ relations.\n\n"
4
+ "tag": "mmlu_social_sciences_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_public_relations"
7
+ "task_alias": "public_relations"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_security_studies.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "security_studies"
2
+ "description": "The following are multiple choice questions (with answers) about security\
3
+ \ studies.\n\n"
4
+ "tag": "mmlu_social_sciences_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_security_studies"
7
+ "task_alias": "security_studies"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_sociology.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "sociology"
2
+ "description": "The following are multiple choice questions (with answers) about sociology.\n\
3
+ \n"
4
+ "tag": "mmlu_social_sciences_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_sociology"
7
+ "task_alias": "sociology"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_us_foreign_policy.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "us_foreign_policy"
2
+ "description": "The following are multiple choice questions (with answers) about us\
3
+ \ foreign policy.\n\n"
4
+ "tag": "mmlu_social_sciences_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_us_foreign_policy"
7
+ "task_alias": "us_foreign_policy"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_virology.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "virology"
2
+ "description": "The following are multiple choice questions (with answers) about virology.\n\
3
+ \n"
4
+ "tag": "mmlu_other_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_virology"
7
+ "task_alias": "virology"
lm-evaluation-harness/lm_eval/tasks/mmlu/default/mmlu_world_religions.yaml ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ "dataset_name": "world_religions"
2
+ "description": "The following are multiple choice questions (with answers) about world\
3
+ \ religions.\n\n"
4
+ "tag": "mmlu_humanities_tasks"
5
+ "include": "_default_template_yaml"
6
+ "task": "mmlu_world_religions"
7
+ "task_alias": "world_religions"
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_physics.yaml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: college_physics
2
+ description: The following are multiple choice questions (with answers) about college
3
+ physics.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'A refracting telescope consists of two converging lenses separated by
8
+ 100 cm. The eye-piece lens has a focal length of 20 cm. The angular magnification
9
+ of the telescope is
10
+
11
+ (A) 4 (B) 5 (C) 6 (D) 20'
12
+ target: Let's think step by step. In a refracting telescope, if both lenses are
13
+ converging, the focus of both lenses must be between the two lenses, and thus
14
+ the focal lengths of the two lenses must add up to their separation. Since the
15
+ focal length of one lens is 20 cm, the focal length of the other must be 80
16
+ cm. The magnification is the ratio of these two focal lengths, or 4. The answer
17
+ is (A).
18
+ - question: 'The muon decays with a characteristic lifetime of about 10^-6 second into
19
+ an electron, a muon neutrino, and an electron antineutrino. The muon is forbidden
20
+ from decaying into an electron and just a single neutrino by the law of conservation
21
+ of
22
+
23
+ (A) charge (B) mass (C) energy and momentum (D) lepton number'
24
+ target: Let's think step by step. Lepton number must be conserved, meaning the
25
+ total number of leptons minus the number of antileptons. If a muon decays into
26
+ an electron and a single neutrino, the total lepton number would go from one
27
+ to two, violating lepton number conservation. The answer is (D).
28
+ - question: 'One end of a Nichrome wire of length 2L and cross-sectional area A is
29
+ attached to an end of another Nichrome wire of length L and cross- sectional
30
+ area 2A. If the free end of the longer wire is at an electric potential of 8.0
31
+ volts, and the free end of the shorter wire is at an electric potential of 1.0
32
+ volt, the potential at the junction of the two wires is most nearly equal to
33
+
34
+ (A) 2.4 V (B) 3.3 V (C) 4.5 V (D) 5.7 V'
35
+ target: Let's think step by step. This is a simple voltage divider problem, where
36
+ the longer wire has a resistance four times that of the shorter end. So the
37
+ voltage divider ratio is 1 / 5, meaning that the potential in the middle is
38
+ 1.0 V + (8.0 V - 1.0 V) * 1/5 = 2.4 V. The answer is (A).
39
+ - question: 'A refracting telescope consists of two converging lenses separated by
40
+ 100 cm. The eye-piece lens has a focal length of 20 cm. The angular magnification
41
+ of the telescope is
42
+
43
+ (A) 4 (B) 5 (C) 6 (D) 20'
44
+ target: Let's think step by step. In a refracting telescope, if both lenses are
45
+ converging, the focus of both lenses must be between the two lenses, and thus
46
+ the focal lengths of the two lenses must add up to their separation. Since the
47
+ focal length of one lens is 20 cm, the focal length of the other must be 80
48
+ cm. The magnification is the ratio of these two focal lengths, or 4. The answer
49
+ is (A).
50
+ - question: 'For which of the following thermodynamic processes is the increase in
51
+ the internal energy of an ideal gas equal to the heat added to the gas?
52
+
53
+ (A) Constant temperature (B) Constant volume (C) Constant pressure (D) Adiabatic'
54
+ target: 'Let''s think step by step. Heat added to the gas can go into the gases
55
+ internal energy or work done against an external force. However, if the volume
56
+ of the gas container is constant, no work will be done (since work is pressure
57
+ times change in volume). So, at constant volume, all of the heat goes into the
58
+ internal energy. The answer is (B).'
59
+ tag: mmlu_flan_cot_fewshot_stem
60
+ include: _mmlu_flan_cot_fewshot_template_yaml
61
+ task: mmlu_flan_cot_fewshot_college_physics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_computer_security.yaml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: computer_security
2
+ description: The following are multiple choice questions (with answers) about computer
3
+ security.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'SHA-1 has a message digest of
8
+
9
+ (A) 160 bits (B) 512 bits (C) 628 bits (D) 820 bits'
10
+ target: Let's think step by step. Since SHA-1 is a hash function which takes an
11
+ question and produces a 160-bit (20-byte) hash value, its message digest is 160
12
+ bits. The answer is (A).
13
+ - question: "_____________ can modify data on your system \u2013 so that your system\
14
+ \ doesn\u2019t run correctly or you can no longer access specific data, or it\
15
+ \ may even ask for ransom in order to give your access.\n(A) IM \u2013 Trojans\
16
+ \ (B) Backdoor Trojans (C) Trojan-Downloader (D) Ransom Trojan"
17
+ target: Let's think step by step. The system is asking for trojans, which are
18
+ for ransom, which means ransom trojan. The answer is (D).
19
+ - question: 'What is ethical hacking?
20
+
21
+ (A) "Hacking" ethics so they justify unintended selfish behavior (B) Hacking
22
+ systems (e.g., during penetration testing) to expose vulnerabilities so they
23
+ can be fixed, rather than exploited (C) Hacking into systems run by those whose
24
+ ethics you disagree with (D) A slang term for rapid software development, e.g.,
25
+ as part of hackathons'
26
+ target: Let's think step by step. Ethical hacking is a process of detecting vulnerabilities
27
+ in an application, system, or organization's infrastructure that an attacker
28
+ can use to exploit an individual or organization. They use this process to prevent
29
+ cyberattacks and security breaches by lawfully hacking into the systems and
30
+ looking for weak points. The answer is (B).
31
+ - question: 'The ____________ is anything which your search engine cannot search.
32
+
33
+ (A) Haunted web (B) World Wide Web (C) Surface web (D) Deep Web'
34
+ target: "Let's think step by step. The search engine searches on the Surface Web,\
35
+ \ which is the portion of the world wide web which is visible so (B,C) are wrong.\
36
+ \ The Haunted Web doesn\u2019t correspond to an internet concept. The Deep Web\
37
+ \ is the part of the World Wide Web which is not indexed. The answer is (D)."
38
+ - question: 'Exploitation of the Heartbleed bug permits
39
+
40
+ (A) overwriting cryptographic keys in memory (B) a kind of code injection (C)
41
+ a read outside bounds of a buffer (D) a format string attack'
42
+ target: 'Let''s think step by step. The Heartbleed Bug is a serious vulnerability
43
+ in the popular OpenSSL cryptographic software library. Heartbleed resulted from
44
+ improper question validation (due to a missing bounds check) in the implementation
45
+ of the TLS heartbeat extension. The vulnerability was classified as a buffer
46
+ over-read, a situation where more data can be read than should be allowed. The
47
+ answer is (C).'
48
+ tag: mmlu_flan_cot_fewshot_stem
49
+ include: _mmlu_flan_cot_fewshot_template_yaml
50
+ task: mmlu_flan_cot_fewshot_computer_security
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_conceptual_physics.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: conceptual_physics
2
+ description: '
3
+
4
+ The following are multiple choice questions (with answers) about conceptual physics.'
5
+ fewshot_config:
6
+ sampler: first_n
7
+ samples:
8
+ - question: 'Colors in a soap bubble result from light
9
+
10
+ (A) converted to a different frequency (B) deflection (C) interference (D) polarization'
11
+ target: Let's think step by step. In a soap bubble film, the light bounces between
12
+ the two soap-air interfaces many times, interfering with itself constructively
13
+ or destructively depending on the width of the film. This results in different
14
+ colors being visible. The answer is (C).
15
+ - question: 'Compared with the mass of a uranium atom undergoing fission, the combined
16
+ masses of the products after fission are
17
+
18
+ (A) less (B) more (C) the same (D) zero'
19
+ target: Let's think step by step. Fission releases energy, which comes from the
20
+ rest mass of its initial nucleus. Thus the mass of the products is less than
21
+ the mass of the reactant uranium nucleus. The answer is (A).
22
+ - question: 'Things that are equivalent according to the equivalence principle are
23
+
24
+ (A) space and time. (B) a traveling twin and a stay-at-home twin. (C) gravity
25
+ and acceleration. (D) mass and energy.'
26
+ target: "Let's think step by step. Einstein\u2019s famous equivalence principle\
27
+ \ states that gravity and acceleration are equivalent. The answer is (C)."
28
+ - question: 'Which of these three elements has the most mass per nucleon?
29
+
30
+ (A) Hydrogen (B) Iron (C) Uranium (D) Same in each'
31
+ target: Let's think step by step. Due to nuclear binding energy, the mass of an
32
+ atomic nucleus is less than the sum of individual masses of the free constituent
33
+ protons and neutrons; this is known as the mass defect. Hydrogen has no mass
34
+ defect because it has only a single nucleon, so it will have the most mass per
35
+ nucleon. The answer is (A).
36
+ - question: 'A model airplane flies slower when flying into the wind and faster with
37
+ wind at its back. When launched at right angles to the wind a cross wind its
38
+ groundspeed compared with flying in still air is
39
+
40
+ (A) the same (B) greater (C) less (D) either greater or less depending on wind
41
+ speed'
42
+ target: "Let's think step by step. The plane\u2019s speed in the direction of\
43
+ \ the wind is greater than it would be in the absence of wind, and its direction\
44
+ \ orthogonal to the wind is the same as it would be in the absence of the wind.\
45
+ \ The total speed, which is these two components added in quadrature, is thus\
46
+ \ greater than the speed in still air. The answer is (B).\n\n"
47
+ tag: mmlu_flan_cot_fewshot_stem
48
+ include: _mmlu_flan_cot_fewshot_template_yaml
49
+ task: mmlu_flan_cot_fewshot_conceptual_physics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_elementary_mathematics.yaml ADDED
@@ -0,0 +1,77 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: elementary_mathematics
2
+ description: The following are multiple choice questions (with answers) about elementary
3
+ mathematics.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Olivia used the rule "Add 11" to create the number pattern shown below.
8
+ 10, 21, 32, 43, 54. Which statement about the number pattern is true?
9
+
10
+ (A) The 10th number in the pattern will be an even number.
11
+
12
+ (B) The number pattern will never have two even numbers next to each other.
13
+
14
+ (C) The next two numbers in the pattern will be an even number then an odd number.
15
+
16
+ (D) If the number pattern started with an odd number then the pattern would
17
+ have only odd numbers in it.'
18
+ target: Let's think step by step. Choice A is incorrect because every even-numbered
19
+ term in the pattern is odd, and 10 is an even number. Choice B is correct, because
20
+ adding an odd number (in this case 11) to an odd number produces an even number,
21
+ and adding an odd number to an even number produces an odd number. Thus the
22
+ terms in the pattern will alternate between odd and even, so there will never
23
+ be two even numbers next to each other. Choice C is incorrect because the last
24
+ term in the example is even (54), and we know that the terms will alternate
25
+ between even and odd. Choice D is incorrect because the terms in the pattern
26
+ will alternate between odd and even, regardless of the value of the first term.
27
+ The answer is (B).
28
+ - question: 'The population of the city where Michelle was born is 145,826. What is
29
+ the value of the 5 in the number 145,826?
30
+
31
+ (A) 5 thousands
32
+
33
+ (B) 5 hundreds
34
+
35
+ (C) 5 tens
36
+
37
+ (D) 5 ones'
38
+ target: 'Let''s think step by step. Choice A is correct, because there are three
39
+ digits following the 5, so
40
+
41
+ the 5 is in the thousands place. Thus the other choices are incorrect. The answer
42
+ is (A).'
43
+ - question: "A store sells 107 different colors of paint. They have 25 cans of each\
44
+ \ color in storage. The number of cans of paint the store has in storage can\
45
+ \ be found using the expression below. 107 \xD7 25. How many cans of paint does\
46
+ \ the store have in storage?\n(A) 749\n(B) 2,675\n(C) 2,945\n(D) 4,250"
47
+ target: Let's think step by step. We can calculate 107 x 25 = (100 x 25) + (7
48
+ x 25) = 2500 + 175 = 2675. The answer is (B).
49
+ - question: 'A total of 30 players will play basketball at a park. There will be exactly
50
+ 5 players on each team. Which statement correctly explains how to find the number
51
+ of teams needed?
52
+
53
+ (A) Add 5 to 30 to find 35 teams.
54
+
55
+ (B) Divide 30 by 5 to find 6 teams.
56
+
57
+ (C) Multiply 30 and 5 to find 150 teams.
58
+
59
+ (D) Subtract 5 from 30 to find 25 teams.'
60
+ target: Let's think step by step. We want to find the number of teams. We know
61
+ that there are 5 players/team, and 30 players. Thus to get the number of teams
62
+ we divide players by players/team, so 30 players / 5 players/team = 6 teams.
63
+ The answer is (B).
64
+ - question: 'Which expression is equivalent to 5 x 9?
65
+
66
+ (A) (5 x 4) x (6 x 5)
67
+
68
+ (B) (5 x 5) + (5 x 4)
69
+
70
+ (C) (5 x 5) + (5 x 9)
71
+
72
+ (D) (5 x 9) x (6 x 9)'
73
+ target: 'Let''s think step by step. We know that 9 = (5 + 4), so 5 x 9 = 5 x (5
74
+ + 4) = (5 x 5) + (5 x 4). The answer is (B).'
75
+ tag: mmlu_flan_cot_fewshot_stem
76
+ include: _mmlu_flan_cot_fewshot_template_yaml
77
+ task: mmlu_flan_cot_fewshot_elementary_mathematics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_formal_logic.yaml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: formal_logic
2
+ description: The following are multiple choice questions (with answers) about formal
3
+ logic.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: "Which of the given formulas of PL is the best symbolization of the following\
8
+ \ sentence?\nTurtles live long lives and are happy creatures, unless they are\
9
+ \ injured.\n(A) (L \u2022 H) \u2261 I (B) (L \u2022 H) \u2228 I (C) L \u2022\
10
+ \ (H \u2228 I) (D) L \u2022 (H \u2283 R)."
11
+ target: "Let's think step by step. We refer to Wikipedia articles on formal logic\
12
+ \ for help. Let\u2019s solve this step by step. Let \u201CL\u201D denote \u201C\
13
+ living long\u201D, H \u201Cbeing happy\u201D, and \u201CI\u201D \u201Cbeing\
14
+ \ injured\u201D. Now, consider each choice:\n(A) means (living long AND being\
15
+ \ happy) is equivalent to (being injured). \n(B) means (living long AND being\
16
+ \ happy) OR (being injured). \n(C) means (living long) AND (being happy OR being\
17
+ \ injured). \n(D) means (living long) AND (being happy implies being R), but\
18
+ \ what R denotes is not clear.\nObviously, (B) is the best symbolization of\
19
+ \ the original sentence. The answer is (B)."
20
+ - question: 'Select the best translation into predicate logic.George borrows Hector''s
21
+ lawnmower. (g: George; h: Hector; l: Hector''s lawnmower; Bxyx: x borrows y
22
+ from z).
23
+
24
+ (A) Blgh (B) Bhlg (C) Bglh (D) Bghl'
25
+ target: "Let's think step by step. We refer to Wikipedia articles on formal logic\
26
+ \ for help. Let\u2019s solve this step by step. We are told that \u201CBxyx\u201D\
27
+ \ means \u201Cx borrows y from z\u201D. We can rewrite \u201CGeorge borrows\
28
+ \ Hector's lawnmower\u201D as \u201CGeorge borrows a lawnmower from Hector\u201D\
29
+ , which can then be translated into predicate logic as \u201CBglh\u201D. The\
30
+ \ answer \u201CBglh\u201D appears in (C); therefore, (C) must be the correct\
31
+ \ answer. The answer is (C)."
32
+ - question: "\nSelect the best English interpretation of the given arguments in predicate\
33
+ \ logic.\nDm\n(\u2200x)(Wx \u2283 ~Dx). \n(\u2200x)Wx \u2228 Ag\t/ (\u2203x)Ax\n\
34
+ (A) Marina is a dancer. Some weaklings are not dancers. Either everything is\
35
+ \ a weakling or Georgia plays volleyball. So something plays volleyball. (B)\
36
+ \ Marina is a dancer. No weakling is a dancer. Everything is either a weakling\
37
+ \ or plays volleyball. So something plays volleyball. (C) Marina is a dancer.\
38
+ \ Some weaklings are not dancers. Everything is either a weakling or plays volleyball.\
39
+ \ So something plays volleyball. (D) Marina is a dancer. No weakling is a dancer.\
40
+ \ Either everything is a weakling or Georgia plays volleyball. So something\
41
+ \ plays volleyball."
42
+ target: "Let's think step by step. We refer to Wikipedia articles on formal logic\
43
+ \ for help. Let\u2019s solve this step by step. Let \u201CD\u201D denote \u201C\
44
+ being a dancer\u201D, \u201Cm\u201D denote \u201CMaria\u201D, \u201Cg\u201D\
45
+ \ denote \u201CGeorgia\u201D, \u201CW\u201D denote \u201Cweakling\u201D, \u201C\
46
+ A\u201D denote \u201Cplaying volleyball\u201D. Then, we have the following:\n\
47
+ 1. Dm \u2192 Maria is a dance.\n2. (\u2200x)(Wx \u2283 ~Dx). \u2192 For all\
48
+ \ x, if x is a weakling, then x is not a dancer. In other words, no weakling\
49
+ \ is a dancer.\n3. (\u2200x)Wx \u2228 Ag\t/ (\u2203x)Ax \u2192 For all x, x\
50
+ \ is a weakling or Georgia plays volleyball. So there exists an x that plays\
51
+ \ volleyball. \nOptions (A) and (C) do claim that some weaklings are not dancers,\
52
+ \ but the second argument strongly states that no weakling is a dancer. Thus,\
53
+ \ we can eliminate them. Option (B) omits the important detail about Georgia\
54
+ \ playing volleyball. Option (D) has all the details presented in the arguments\
55
+ \ and is the best English interpretation of the arguments. The answer is (D)."
56
+ - question: "Select the best translation into predicate logic: No people drive on Mars.\n\
57
+ (A) ~Pd (B) (\u2200x)(Px \u2228 ~Dx) (C) (\u2200x)(Px \u2283 ~Dx) (D) ~Dp"
58
+ target: "Let's think step by step. We refer to Wikipedia articles on formal logic\
59
+ \ for help. Let\u2019s solve this step by step. Let \u201CP\u201D denote \u201C\
60
+ being on Mars\u201D and \u201CD\u201D denote \u201Cdriving on Mars\u201D. Then\
61
+ \ let\u2019s consider each option:\nOption (A): ~Pd \u2192 d is not on Mars.\n\
62
+ Option (B): (\u2200x)(Px \u2228 ~Dx) \u2192 For all x, x is on Mars and x do\
63
+ \ not drive on Mars.\nOption (C): (\u2200x)(Px \u2283 ~Dx) \u2192 For all x,\
64
+ \ x is on Mars implies that x do not drive on Mars.\nOption (D): ~Dp: \u2192\
65
+ \ p do not drive on Mars.\nOf all these options, Option (C) appears to be the\
66
+ \ best and most meaningful interpretation of the argument \u201CNo people drive\
67
+ \ on Mars.\u201D The answer is (C).\n\n"
68
+ tag: mmlu_flan_cot_fewshot_humanities
69
+ include: _mmlu_flan_cot_fewshot_template_yaml
70
+ task: mmlu_flan_cot_fewshot_formal_logic
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_global_facts.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: global_facts
2
+ description: The following are multiple choice questions (with answers) about global
3
+ facts.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: "As of 2017, how many of the world\u2019s 1-year-old children today have\
8
+ \ been vaccinated against some disease? *\n(A) 80% (B) 60% (C) 40% (D) 20%"
9
+ target: Let's think step by step. We refer to Wikipedia articles on global facts
10
+ for help. According to data published by the World Health Organization, the
11
+ nummber of 1-year-old children vaccinated in 2017 exceeds 80%. The answer is
12
+ (A).
13
+ - question: 'As of 2019, about what percentage of Americans agree that the state is
14
+ run for the benefit of all the people?
15
+
16
+ (A) 31% (B) 46% (C) 61% (D) 76%'
17
+ target: Let's think step by step. We refer to Wikipedia articles on global facts
18
+ for help. In 2019, about 46% percentage of Americans agree that the state is
19
+ run for the benefit of all the people. The answer is (B).
20
+ - question: 'As of 2019, about what percentage of Russians say it is very important
21
+ to have free media in our country without government/state censorship?
22
+
23
+ (A) 38% (B) 53% (C) 68% (D) 83%'
24
+ target: Let's think step by step. We refer to Wikipedia articles on global facts
25
+ for help. As of 2019, about 38% of Russians say it is very important to have
26
+ free media in our country. The answer is (A).
27
+ - question: 'As of 2015, since 1990 forests have ____ in Europe and have ____ in Africa
28
+ and the Americas.
29
+
30
+ (A) increased, increased (B) increased, decreased (C) decreased, increased (D)
31
+ decreased, decreased'
32
+ target: Let's think step by step. We refer to Wikipedia articles on global facts
33
+ for help. As of 2015, since 1990 forests have increased in Europe and have decreased
34
+ in Africa and the Americas. The answer is (B).
35
+ - question: 'Which of the following pairs of statements are both true (as of 2019)?
36
+
37
+ (A) People tend to be optimistic about their own future and the future of their
38
+ nation or the world. (B) People tend to be optimistic about their own future
39
+ but pessimistic about the future of their nation or the world. (C) People tend
40
+ to be pessimistic about their own future but optimistic about the future of
41
+ their nation or the world. (D) People tend to be pessimistic about their own
42
+ future and the future of their nation or the world.'
43
+ target: 'Let''s think step by step. We refer to Wikipedia articles on global facts
44
+ for help. As of 2019, most people tend to be optimistic about their own future
45
+ but pessimistic about the future of their nation or the world. The answer is
46
+ (B).'
47
+ tag: mmlu_flan_cot_fewshot_other
48
+ include: _mmlu_flan_cot_fewshot_template_yaml
49
+ task: mmlu_flan_cot_fewshot_global_facts
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_biology.yaml ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_biology
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school biology.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: "In animal cells, which of the following represents the most likely pathway\
8
+ \ that a secretory protein takes as it is synthesized in a cell?\n(A) Plasma\
9
+ \ membrane\u2013Golgi apparatus\u2013ribosome\u2013secretory vesicle\u2013rough\
10
+ \ ER (B) Ribosome\u2013Golgi apparatus\u2013rough ER\u2013secretory vesicle\u2013\
11
+ plasma membrane (C) Plasma membrane\u2013Golgi apparatus\u2013ribosome\u2013\
12
+ secretory vesicle\u2013rough ER (D) Ribosome\u2013rough ER\u2013Golgi apparatus\u2013\
13
+ secretory vesicle\u2013plasma membrane"
14
+ target: Let's think step by step. Protein synthesis starts at the ribosome, so
15
+ we can eliminate (A) and (C). The ribosome is often in the endoplasmic reticulum
16
+ and moves from there to the Golgi apparatus, where it is modified and packaged
17
+ into a vesicle. The vesicle then floats to the plasma membrane and is secreted.
18
+ The answer is (D).
19
+ - question: "A mutation in a bacterial enzyme changed a previously polar amino acid\
20
+ \ into a nonpolar amino acid. This amino acid was located at a site distant\
21
+ \ from the enzyme\u2019s active site. How might this mutation alter the enzyme\u2019\
22
+ s substrate specificity?\n(A) By changing the enzyme\u2019s pH optimum (B) By\
23
+ \ changing the enzyme\u2019s location in the cell (C) By changing the shape\
24
+ \ of the protein (D) An amino acid change away from the active site cannot alter\
25
+ \ the enzyme\u2019s substrate specificity."
26
+ target: Let's think step by step. A change in an amino acid leads to a change
27
+ in the primary structure of the protein. A change in the primary structure may
28
+ lead to a change in the secondary and the tertiary structure of the protein.
29
+ A change in the tertiary structure means a change in the shape of the protein,
30
+ so (C) has to be correct. Since the change does not affect the active site of
31
+ the enzyme, we do not expect the activity of the enzyme to be affected. The
32
+ answer is (C).
33
+ - question: 'Which of the following is not a way to form recombinant DNA?
34
+
35
+ (A) Translation (B) Conjugation (C) Specialized transduction (D) Transformation'
36
+ target: 'Let''s think step by step. The introduction of foreign DNA or RNA into
37
+ bacteria or eukaryotic cells is a common technique in molecular biology and
38
+ scientific research. There are multiple ways foreign DNA can be introduced into
39
+ cells including transformation, transduction, conjugation, and transfection.
40
+ In contrast, (A) is not a way to form DNA: during translation the ribosomes
41
+ synthesize proteins from RNA. The answer is (A).'
42
+ - question: 'Homologous structures are often cited as evidence for the process of natural
43
+ selection. All of the following are examples of homologous structures EXCEPT
44
+
45
+ (A) the wings of a bird and the wings of a bat (B) the flippers of a whale and
46
+ the arms of a man (C) the pectoral fins of a porpoise and the flippers of a
47
+ seal (D) the forelegs of an insect and the forelimbs of a dog'
48
+ target: "Let's think step by step. \u200B\u200BHomologous structures are similar\
49
+ \ physical features in organisms that share a common ancestor \u200B\u200Bbut\
50
+ \ different functions. Comparisons (B) and (C) are clearly homologous because\
51
+ \ they share a common ancestor and the structures serve different purposes.\
52
+ \ Bat wings and birg wings are also homologous, while they are both wings, the\
53
+ \ forelimbs serve different purposes. Insects and dogs are very far ancestors\
54
+ \ since one is vertebrate while the other is invertebrate and the forelimbs\
55
+ \ serve the same purpose, so they are not homologous. The answer is (D)."
56
+ - question: 'Which of the following is not known to be involved in the control of cell
57
+ division?
58
+
59
+ (A) Cyclins (B) Protein kinases (C) Checkpoints (D) Fibroblast cells'
60
+ target: 'Let''s think step by step. Normal cells move through the cell cycle in
61
+ a regulated way. At the checkpoint stage, they use information about their own
62
+ internal state and cues from the environment around them to decide whether to
63
+ proceed with cell division. Cues like these act by changing the activity of
64
+ core cell cycle regulators inside the cell. The most common regulators are cyclins
65
+ and cyclin-dependent kinases. Fibroblast cells do not play any role in cell
66
+ division. The answer is (D).'
67
+ tag: mmlu_flan_cot_fewshot_stem
68
+ include: _mmlu_flan_cot_fewshot_template_yaml
69
+ task: mmlu_flan_cot_fewshot_high_school_biology
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_computer_science.yaml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_computer_science
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school computer science.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Which of the following is an example of the use of a device on the Internet
8
+ of Things (IoT) ?
9
+
10
+ (A) A car alerts a driver that it is about to hit an object. (B) A hiker uses
11
+ a G P S watch to keep track of her position. (C) A refrigerator orders milk
12
+ from an online delivery service when the milk in the refrigerator is almost
13
+ gone. (D) A runner uses a watch with optical sensors to monitor his heart rate.'
14
+ target: Let's think step by step. The term Internet of Things (IoT) refers to
15
+ common devices which are connected to the internet, enabling new functionality.
16
+ Choice A is incorrect because it does not describe an internet connected device.
17
+ In choice B, the watch is only described as having GPS functionality but no
18
+ internet connectivity. Choice C describes a common device (a refrigerator) which
19
+ has internet connectivity enabling new functionality (online ordering). Choice
20
+ D does not mention internet connectivity for the watch, only optical sensors.
21
+ The answer is (C).
22
+ - question: 'Many Web browsers allow users to open anonymous windows. During a browsing
23
+ session in an anonymous window, the browser does not record a browsing history
24
+ or a list of downloaded files. When the anonymous window is exited, cookies
25
+ created during the session are deleted. Which of the following statements about
26
+ browsing sessions in an anonymous window is true?
27
+
28
+ (A) The activities of a user browsing in an anonymous window will not be visible
29
+ to people who monitor the user''s network, such as the system administrator.
30
+ (B) Items placed in a Web store''s shopping cart for future purchase during
31
+ the anonymous browsing session will not be saved on the user''s computer. (C)
32
+ A user will not be able to log in to e-mail or social media accounts during
33
+ the anonymous browsing session. (D) A user browsing in an anonymous window will
34
+ be protected from viruses launched from any web sites visited or files downloaded.'
35
+ target: "Let's think step by step. Choice A is incorrect as it only describes\
36
+ \ network traffic, which an anonymous browser does not change. Choice B is correct\
37
+ \ as it correctly describes how an anonymous browser will prevent saving data\
38
+ \ on the user\u2019s computer after the session is ended. Choice C is incorrect\
39
+ \ because an anonymous browser will not prevent logging in to email or social\
40
+ \ media accounts. Choice D is incorrect because an anonymous browser in itself\
41
+ \ performs no virus protection. The answer is (B)."
42
+ - question: "In the program below, the initial value of X is 5 and the initial value\
43
+ \ of Y is 10.\nIF (X < 0){\n DISPLAY (\"Foxtrot\")\n} ELSE {\n IF (X > Y){\n\
44
+ \ DISPLAY (\"Hotel\")\n } ELSE {\n IF (Y > 0){\n DISPLAY (\"November\")\n\
45
+ \ } ELSE {\n DISPLAY (\"Yankee\")\n }\n }\n}\nWhat is displayed as a result\
46
+ \ of running the program?\n(A) Foxtrot (B) Hotel (C) November (D) Yankee"
47
+ target: Let's think step by step. Because X has the value 5, the first conditional
48
+ IF (X < 0) is false, so we move to the first ELSE clause. Because X is 5 and
49
+ Y is 10, the second conditional IF (X > Y) is false, so we move to the following
50
+ ELSE clause. Since Y is 10, the conditional IF (Y > 0) is true, so the command
51
+ DISPLAY ("November") is executed. The answer is (C).
52
+ - question: 'What is the output of "abc"[::-1] in Python 3?
53
+
54
+ (A) Error (B) abc (C) cba (D) c'
55
+ target: Let's think step by step. We know that the slicing operator [::-1] takes
56
+ all of the elements in the string in reverse order, so we reverse the order
57
+ of the string "abc", resulting in "cba". The answer is (C).
58
+ - question: "A list of numbers has n elements, indexed from 1 to n. The following algorithm\
59
+ \ is intended to display the number of elements in the list that have a value\
60
+ \ greater than 100. The algorithm uses the variables count and position. Steps\
61
+ \ 3 and 4 are missing.\n Step 1: Set count to 0 and position to 1.\n Step 2:\
62
+ \ If the value of the element at index position is greater than 100, increase\
63
+ \ the value of count by 1.\n Step 3: (missing step)\n Step 4: (missing step)\n\
64
+ \ Step 5: Display the value of count.\nWhich of the following could be used\
65
+ \ to replace steps 3 and 4 so that the algorithm works as intended?\n(A) Step\
66
+ \ 3: Increase the value of position by 1.\n Step 4: Repeat steps 2 and 3 until\
67
+ \ the value of count is greater than 100.\n(B) Step 3: Increase the value of\
68
+ \ position by 1.\n Step 4: Repeat steps 2 and 3 until the value of position\
69
+ \ is greater than n.\n(C) Step 3: Repeat step 2 until the value of count is\
70
+ \ greater than 100.\n Step 4: Increase the value of position by 1.\n(D) Step\
71
+ \ 3: Repeat step 2 until the value of position is greater than n.\n Step 4:\
72
+ \ Increase the value of count by 1."
73
+ target: 'Let''s think step by step. Choice A is incorrect, because its Step 4
74
+ has an incorrect termination condition, stopping when count is greater than
75
+ 100. We need to stop after inspecting all elements in the list. Choice B is
76
+ correct because it correctly increments both count and position, and correctly
77
+ repeats these steps and terminates when all elements in the list have been inspected.
78
+ Choice C is incorrect because it incorrectly increments the variable count until
79
+ its value is greater than 100, regardless of the elements in the list. Choice
80
+ D is incorrect because its step 3 does not increment the value of position,
81
+ so it will repeat forever. The answer is (B).'
82
+ tag: mmlu_flan_cot_fewshot_stem
83
+ include: _mmlu_flan_cot_fewshot_template_yaml
84
+ task: mmlu_flan_cot_fewshot_high_school_computer_science
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_european_history.yaml ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_european_history
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school european history.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'This question refers to the following information.
8
+
9
+ Albeit the king''s Majesty justly and rightfully is and ought to be the supreme
10
+ head of the Church of England, and so is recognized by the clergy of this realm
11
+ in their convocations, yet nevertheless, for corroboration and confirmation
12
+ thereof, and for increase of virtue in Christ''s religion within this realm
13
+ of England, and to repress and extirpate all errors, heresies, and other enormities
14
+ and abuses heretofore used in the same, be it enacted, by authority of this
15
+ present Parliament, that the king, our sovereign lord, his heirs and successors,
16
+ kings of this realm, shall be taken, accepted, and reputed the only supreme
17
+ head in earth of the Church of England, called Anglicans Ecclesia; and shall
18
+ have and enjoy, annexed and united to the imperial crown of this realm, as well
19
+ the title and style thereof, as all honors, dignities, preeminences, jurisdictions,
20
+ privileges, authorities, immunities, profits, and commodities to the said dignity
21
+ of the supreme head of the same Church belonging and appertaining; and that
22
+ our said sovereign lord, his heirs and successors, kings of this realm, shall
23
+ have full power and authority from time to time to visit, repress, redress,
24
+ record, order, correct, restrain, and amend all such errors, heresies, abuses,
25
+ offenses, contempts, and enormities, whatsoever they be, which by any manner
26
+ of spiritual authority or jurisdiction ought or may lawfully be reformed, repressed,
27
+ ordered, redressed, corrected, restrained, or amended, most to the pleasure
28
+ of Almighty God, the increase of virtue in Christ''s religion, and for the conservation
29
+ of the peace, unity, and tranquility of this realm; any usage, foreign land,
30
+ foreign authority, prescription, or any other thing or things to the contrary
31
+ hereof notwithstanding.
32
+
33
+ English Parliament, Act of Supremacy, 1534
34
+
35
+ From the passage, one may infer that the English Parliament wished to argue
36
+ that the Act of Supremacy would
37
+
38
+ (A) give the English king a new position of authority (B) give the position
39
+ of head of the Church of England to Henry VIII alone and exclude his heirs (C)
40
+ establish Calvinism as the one true theology in England (D) end various forms
41
+ of corruption plaguing the Church in England'
42
+ target: Let's think step by step. We refer to Wikipedia articles on european history
43
+ for help. The Act of Supremacy states that it grants authority to the king "to
44
+ repress and extirpate all errors, heresies, and other enormities and abuses",
45
+ referring to the corruption in the Church of England. The answer is (D).
46
+ - question: "This question refers to the following information.\nRead the following\
47
+ \ excerpt.\nThe revolutionary seed had penetrated into every country and spread\
48
+ \ more or less. It was greatly developed under the r\xE9gime of the military\
49
+ \ despotism of Bonaparte. His conquests displaced a number of laws, institutions,\
50
+ \ and customs; broke through bonds sacred among all nations, strong enough to\
51
+ \ resist time itself; which is more than can be said of certain benefits conferred\
52
+ \ by these innovators.\nThe monarchs will fulfil the duties imposed upon them\
53
+ \ by Him who, by entrusting them with power, has charged them to watch over\
54
+ \ the maintenance of justice, and the rights of all, to avoid the paths of error,\
55
+ \ and tread firmly in the way of truth. Placed beyond the passions which agitate\
56
+ \ society, it is in days of trial chiefly that they are called upon to despoil\
57
+ \ realities of their false appearances, and to show themselves as they are,\
58
+ \ fathers invested with the authority belonging by right to the heads of families,\
59
+ \ to prove that, in days of mourning, they know how to be just, wise, and therefore\
60
+ \ strong, and that they will not abandon the people whom they ought to govern\
61
+ \ to be the sport of factions, to error and its consequences, which must involve\
62
+ \ the loss of society.\nUnion between the monarchs is the basis of the policy\
63
+ \ which must now be followed to save society from total ruin. . . .\nLet them\
64
+ \ not confound concessions made to parties with the good they ought to do for\
65
+ \ their people, in modifying, according to their recognized needs, such branches\
66
+ \ of the administration as require it.\nLet them be just, but strong; beneficent,\
67
+ \ but strict.\nLet them maintain religious principles in all their purity, and\
68
+ \ not allow the faith to be attacked and morality interpreted according to the\
69
+ \ social contract or the visions of foolish sectarians.\nLet them suppress Secret\
70
+ \ Societies; that gangrene of society.\n\u2014Klemens von Metternich, Political\
71
+ \ Confession of Faith, 1820\nWhich of the following was the greatest cause of\
72
+ \ the fears expressed by Metternich in the document above?\n(A) The ideas of\
73
+ \ personal liberty and nationalism conceived during the Enlightenment resulted\
74
+ \ in radical revolutions that could spread throughout Europe. (B) The conquest\
75
+ \ of Europe by Napoleon led to the creation of new factions and shifted the\
76
+ \ European balance of power. (C) The power of monarchs had grown to the point\
77
+ \ where it needed to be checked by other powers within each nation or domination\
78
+ \ of civilians would occur. (D) The rising and falling economic cycle of the\
79
+ \ newly emerging capitalist economy could lead to civilian unrest that must\
80
+ \ be suppressed."
81
+ target: Let's think step by step. We refer to Wikipedia articles on european history
82
+ for help. The fears of revolution in early 19th century Europe expressed by
83
+ Klemens von Metternich, a conservative Austrian statesman, were a direct result
84
+ of the age of Enlightenment, a period of European history where the absolute
85
+ power of the monarchy was challenged with ideas of individual liberty and nationalism,
86
+ leading to the French revolution and its effects all over Europe. The answer
87
+ is (A).
88
+ - question: 'This question refers to the following information.
89
+
90
+ The excerpts below are from the Navigation Acts of 1651.
91
+
92
+ [A]fter the first day of December, one thousand six hundred fifty and one, and
93
+ from thence forwards, no goods or commodities whatsoever of the growth, production
94
+ or manufacture of Asia, Africa or America, or of any part thereof; or of any
95
+ islands belonging to them, or which are described or laid down in the usual
96
+ maps or cards of those places, as well of the English plantations as others,
97
+ shall be imported or brought into this Commonwealth of England, or into Ireland,
98
+ or any other lands, islands, plantations, or territories to this Commonwealth
99
+ belonging, or in their possession, in any other ship or ships, vessel or vessels
100
+ whatsoever, but only in such as do truly and without fraud belong only to the
101
+ people of this Commonwealth, or the plantations thereof, as the proprietors
102
+ or right owners thereof; and whereof the master and mariners are also of the
103
+ people of this Commonwealth, under the penalty of the forfeiture and loss of
104
+ all the goods that shall be imported contrary to this act, , , ,
105
+
106
+ [N]o goods or commodities of the growth, production, or manufacture of Europe,
107
+ or of any part thereof, shall after the first day of December, one thousand
108
+ six hundred fifty and one, be imported or brought into this Commonwealth of
109
+ England, or any other lands or territories to this Commonwealth belonging, or
110
+ in their possession, in any ship or ships, vessel or vessels whatsoever, but
111
+ in such as do truly and without fraud belong only to the people of this Commonwealth,
112
+ and in no other, except only such foreign ships and vessels as do truly and
113
+ properly belong to the people of that country or place, of which the said goods
114
+ are the growth, production or manufacture.
115
+
116
+ Which of the following best describes the outcome of the Navigation Acts of
117
+ 1651?
118
+
119
+ (A) They served as a catalyst for the growth of English shipping and overseas
120
+ trade, but did little to limit the prospects of the Dutch in the seventeenth
121
+ century. (B) They brought about almost immediate hardships for the Dutch economy
122
+ as their dominance of overseas trade quickly ended. (C) They were rescinded
123
+ during the restoration of the Stuarts as they sought normal diplomatic relations
124
+ with the Dutch so not as to need Parliament''s financial support for war. (D)
125
+ They led to nearly a century of recurrent war between England and the Netherlands,
126
+ which would not end until after American independence.'
127
+ target: Let's think step by step. We refer to Wikipedia articles on european history
128
+ for help. The Navigation Acts of 1651 helped English shipping by restricting
129
+ the ability of ships from other European countries, especially the Dutch, to
130
+ transport goods from colonies in Asia and Africa into England. The answer is
131
+ (A).
132
+ - question: "This question refers to the following information.\nIn Russia there was\
133
+ \ nothing going on well, and [Souvarine] was in despair over the news he had\
134
+ \ received. His old companions were all turning to the politicians; the famous\
135
+ \ Nihilists who made Europe tremble-sons of village priests, of the lower middle\
136
+ \ class, of tradesmen-could not rise above the idea of national liberation,\
137
+ \ and seemed to believe that the world would be delivered-when they had killed\
138
+ \ their despot&\u2026\n\"Foolery! They'll never get out of it with their foolery.\"\
139
+ \nThen, lowering his voice still more, in a few bitter words he described his\
140
+ \ old dream of fraternity. He had renounced his rank and his fortune; he had\
141
+ \ gone among workmen, only in the hope of seeing at last the foundation of a\
142
+ \ new society of labour in common. All the sous in his pockets had long gone\
143
+ \ to the urchins of the settlement; he had been as tender as a brother with\
144
+ \ the colliers, smiling at their suspicion, winning them over by his quiet workmanlike\
145
+ \ ways and his dislike of chattering. But decidedly the fusion had not taken\
146
+ \ place.\nHis voice changed, his eyes grew bright, he fixed them on \xE9tienne,\
147
+ \ directly addressing him:\n\"Now, do you understand that? These hatworkers\
148
+ \ at Marseilles who have won the great lottery prize of a hundred thousand francs\
149
+ \ have gone off at once and invested it, declaring that they are going to live\
150
+ \ without doing anything! Yes, that is your idea, all of you French workmen;\
151
+ \ you want to unearth a treasure in order to devour it alone afterwards in some\
152
+ \ lazy, selfish corner. You may cry out as much as you like against the rich,\
153
+ \ you haven't got courage enough to give back to the poor the money that luck\
154
+ \ brings you. You will never be worthy of happiness as long as you own anything,\
155
+ \ and your hatred of the bourgeois proceeds solely from an angry desire to be\
156
+ \ bourgeois yourselves in their place.\"\n\xE9mile Zola, French writer, Germinal,\
157
+ \ 1885\nThe passage displays the direct concern for the welfare of the working\
158
+ \ classes that was typically a part of which movement?\n(A) Capitalist (B) Scientific\
159
+ \ (C) Communist (D) Existentialist"
160
+ target: Let's think step by step. We refer to Wikipedia articles on european history
161
+ for help. The modern Communist movement aims to establish a classless society
162
+ based on communal ownership and distribution of property and means of production,
163
+ thereby especially benefiting the working classes. The answer is (C).
164
+ - question: "This question refers to the following information.\nThe following excerpt\
165
+ \ is from a pamphlet.\nYou will do me the justice to remember, that I have always\
166
+ \ strenuously supported the Right of every man to his own opinion, however different\
167
+ \ that opinion might be to mine. He who denies to another this right, makes\
168
+ \ a slave of himself to his present opinion, because he precludes himself the\
169
+ \ right of changing it.\nThe most formidable weapon against errors of every\
170
+ \ kind is Reason. I have never used any other, and I trust I never shall.\n\
171
+ The circumstance that has now taken place in France of the total abolition of\
172
+ \ the whole national order of priesthood, and of everything appertaining to\
173
+ \ compulsive systems of religion, and compulsive articles of faith, has not\
174
+ \ only precipitated my intention, but rendered a work of this kind exceedingly\
175
+ \ necessary, lest in the general wreck of superstition, of false systems of\
176
+ \ government, and false theology, we lose sight of morality, of humanity, and\
177
+ \ of the theology that is true.\nI believe in one God, and no more; and I hope\
178
+ \ for happiness beyond this life.\nI believe in the equality of man; and I believe\
179
+ \ that religious duties consist in doing justice, loving mercy, and endeavoring\
180
+ \ to make our fellow-creatures happy.\nI do not believe in the creed professed\
181
+ \ by the Jewish church, by the Roman church, by the Greek church, by the Turkish\
182
+ \ church, by the Protestant church, nor by any church that I know of. My own\
183
+ \ mind is my own church.\nAll national institutions of churches, whether Jewish,\
184
+ \ Christian or Turkish, appear to me no other than human inventions, set up\
185
+ \ to terrify and enslave mankind, and monopolize power and profit.\nI do not\
186
+ \ mean by this declaration to condemn those who believe otherwise; they have\
187
+ \ the same right to their belief as I have to mine.\n\u2014Thomas Paine, The\
188
+ \ Age of Reason, 1794\u20131795\nWhich of the following Enlightenment philosophes\
189
+ \ designed a system of checks and balances for government to avoid abuses of\
190
+ \ power?\n(A) Jean Jacques Rousseau (B) Baron Montesquieu (C) Mary Wollstonecraft\
191
+ \ (D) Adam Smith"
192
+ target: 'Let''s think step by step. We refer to Wikipedia articles on european
193
+ history for help. Baron Montesquieu was a 18th centrury French philsopher who
194
+ wrote extensively against the monoplization of power and advocated for a system
195
+ of checks and balances in government to prevent the rise of despotism. The answer
196
+ is (B).'
197
+ tag: mmlu_flan_cot_fewshot_humanities
198
+ include: _mmlu_flan_cot_fewshot_template_yaml
199
+ task: mmlu_flan_cot_fewshot_high_school_european_history
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_geography.yaml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_geography
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school geography.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Which one of the following items is an example of nonmaterial culture?
8
+
9
+ (A) Dove soap (B) Dove candy bar (C) Dove symbol (D) A dove (bird).'
10
+ target: Let's think step by step. We refer to Wikipedia articles on geography
11
+ for help. Nonmaterial culture consists of cultural ideas, beliefs or symbols
12
+ that are not physical objects. The answer is (C).
13
+ - question: 'During the third stage of the demographic transition model, which of the
14
+ following is true?
15
+
16
+ (A) Birth rates increase and population growth rate is less rapid. (B) Birth
17
+ rates decline and population growth rate is less rapid. (C) Birth rates increase
18
+ and population growth rate increases. (D) Birth rates decrease and population
19
+ growth rate increases.'
20
+ target: Let's think step by step. We refer to Wikipedia articles on geography
21
+ for help. The demographic transition model models the five different stages
22
+ of population growth as a country goes through economic development, where the
23
+ third stage refers to a period of declining birth rates and lower population
24
+ growth. The answer is (B).
25
+ - question: 'The practice of hiring a foreign third-party service provider to run an
26
+ operation is called
27
+
28
+ (A) outsourcing. (B) offshoring. (C) maquiladoras. (D) locational interdependence.'
29
+ target: Let's think step by step. We refer to Wikipedia articles on geography
30
+ for help. "Offshoring" literally means to move or base some of the activities
31
+ or processes of a company to a foreign country. The answer is (B).
32
+ - question: 'Which of the following statements is NOT accurate regarding the services
33
+ provided by local governments in the United States?
34
+
35
+ (A) Duplication of efforts occurs often. (B) Social problems of the central
36
+ city spill over into the surrounding residential suburbs. (C) Inefficiency in
37
+ providing services occurs often. (D) One neighborhood''s efforts to reduce pollution
38
+ are always supported by neighboring communities.'
39
+ target: Let's think step by step. We refer to Wikipedia articles on geography
40
+ for help. There may be economic, social or political reasons for two neighboring
41
+ communities and their local governments not agreeing to pollution reduction
42
+ efforts initiated by one of them. The answer is (D).
43
+ - question: 'The rate of natural increase of a population is found by subtracting the
44
+
45
+ (A) crude death rate from the crude birth date. (B) crude birth rate from the
46
+ crude death rate. (C) doubling time from the crude birth rate. (D) fertility
47
+ rate from the crude death rate.'
48
+ target: 'Let''s think step by step. We refer to Wikipedia articles on geography
49
+ for help. The difference between number of births and deaths gives the population
50
+ increase at any given time. The answer is (A).'
51
+ tag: mmlu_flan_cot_fewshot_social_sciences
52
+ include: _mmlu_flan_cot_fewshot_template_yaml
53
+ task: mmlu_flan_cot_fewshot_high_school_geography
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_government_and_politics.yaml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Which of the following best states an argument made by James Madison in
8
+ The Federalist number 10?
9
+
10
+ (A) Honest politicians can prevent factions from developing. (B) Factions are
11
+ more likely to occur in large republics than in small ones. (C) The negative
12
+ effects of factionalism can be reduced by a republican government. (D) Free
13
+ elections are the people''s best defense against factionalism.'
14
+ target: Let's think step by step. We refer to Wikipedia articles on government
15
+ and politics for help. In the Federalist number 10, James Madison advocated
16
+ for a representative republican form of government to guard against factionalism.
17
+ The answer is (C).
18
+ - question: 'The term "budget deficit" refers to the
19
+
20
+ (A) annual increase in federal spending on the military (B) amount of interest
21
+ on the national debt (C) difference between the initial budget proposals made
22
+ by the president and Congress (D) amount the government spends in excess of
23
+ its revenues'
24
+ target: Let's think step by step. We refer to Wikipedia articles on government
25
+ and politics for help. When the goverment spends more than it earns, their difference
26
+ is the budget deficit. The answer is (D).
27
+ - question: 'Which of the following statements about cabinet departments is FALSE?
28
+
29
+ (A) They are established by the legislative branch. (B) Their members often
30
+ don''t have much influence over presidential decisions. (C) They cannot all
31
+ be run by leaders who belong to the same political party the president does.
32
+ (D) Not every federal agency is a cabinet department.'
33
+ target: Let's think step by step. We refer to Wikipedia articles on government
34
+ and politics for help. There is no law stipulating that some cabinet department
35
+ leaders have to belong to a political party different from that of the president.
36
+ The answer is (C).
37
+ - question: 'Which of the following cases established the precedent that a defendant
38
+ must be informed of the right to remain silent, the right to a lawyer, and protection
39
+ from self-incrimination?
40
+
41
+ (A) Weeks v. United States (B) Betts v. Brady (C) Mapp v. Ohio (D) Miranda v.
42
+ Arizona'
43
+ target: Let's think step by step. We refer to Wikipedia articles on government
44
+ and politics for help. In the landmark Miranda v. Arizona in 1966, the US Supreme
45
+ Court, based on the Fifth and Sixth Amendment of the US Constitution, guaranteed
46
+ a defendant's right to an attorney and protection from self-incrimination. The
47
+ answer is (D).
48
+ - question: 'Uncertainty over the limits to presidential power is caused primarily
49
+ by the fact that
50
+
51
+ (A) the constitutional definition of those powers is broad and unspecific (B)
52
+ most people agree that the Constitution places too many limits on presidential
53
+ power (C) the Supreme Court consistently refuses to rule on cases concerning
54
+ presidential powers (D) constitutional amendments have greatly increased presidential
55
+ powers'
56
+ target: 'Let''s think step by step. We refer to Wikipedia articles on government
57
+ and politics for help. The US Constitution is not very specific about the powers
58
+ of the president, leading to uncertainty over its limits. The answer is (A).'
59
+ tag: mmlu_flan_cot_fewshot_social_sciences
60
+ include: _mmlu_flan_cot_fewshot_template_yaml
61
+ task: mmlu_flan_cot_fewshot_high_school_government_and_politics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_macroeconomics.yaml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_macroeconomics
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school macroeconomics.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Which of the following policies best describes supply-side fiscal policy?
8
+
9
+ (A) An increase in the money supply (B) Increased government spending (C) Lower
10
+ taxes on research and development of new technology (D) Higher taxes on household
11
+ income'
12
+ target: Let's think step by step. We refer to Wikipedia articles on macroeconomics
13
+ for help. Supply-side fiscal policy stimulates the economy by encouraging more
14
+ production of goods and services through reduction in taxes and deregulation.
15
+ The answer is (C).
16
+ - question: 'The short-run Phillips curve indicates a
17
+
18
+ (A) direct relation between unemployment and inflation (B) direct relation between
19
+ price and quantity demanded (C) inverse relation between price and quantity
20
+ demanded (D) inverse relation between unemployment and inflation'
21
+ target: Let's think step by step. We refer to Wikipedia articles on macroeconomics
22
+ for help. The short-run Phillips curve shows that whenever unemployment decreases
23
+ below a natural level, the inflation starts increasing, and vice-versa. The
24
+ answer is (D).
25
+ - question: 'Holding all else equal which of the following monetary policies would
26
+ be used to boost U.S. exports?
27
+
28
+ (A) Increasing the discount rate (B) Increasing the reserve ratio (C) Buying
29
+ government securities (D) Lowering tariffs'
30
+ target: Let's think step by step. We refer to Wikipedia articles on macroeconomics
31
+ for help. Buying government securities leads to reduction in demand for US dollars
32
+ from foreign buyers, thereby making it cheaper and hence making US exports more
33
+ attractive. The answer is (C).
34
+ - question: 'A federal deficit occurs when
35
+
36
+ (A) exports exceed imports. (B) imports exceed exports. (C) federal tax collections
37
+ exceed spending. (D) federal spending exceeds federal tax revenues.'
38
+ target: Let's think step by step. We refer to Wikipedia articles on macroeconomics
39
+ for help. A federal deficit occurs when federal spending exceeds federal income
40
+ which is primarily from tax revenues. The answer is (D).
41
+ - question: 'Which of the following is not included in the U.S. GDP?
42
+
43
+ (A) The U.S. military opens a new base in a foreign country with 1000 U.S. personnel.
44
+ (B) Japanese consumers buy thousands of CDs produced in the United States. (C)
45
+ An American pop singer performs a sold-out concert in Paris. (D) A French theatrical
46
+ production tours dozens of American cities.'
47
+ target: 'Let''s think step by step. We refer to Wikipedia articles on macroeconomics
48
+ for help. The economic transactions related to the performance of the American
49
+ pop-singer in Paris happens entirely outside the U.S. and hence is not included
50
+ in the GDP numbers. The answer is (C).'
51
+ tag: mmlu_flan_cot_fewshot_social_sciences
52
+ include: _mmlu_flan_cot_fewshot_template_yaml
53
+ task: mmlu_flan_cot_fewshot_high_school_macroeconomics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_mathematics.yaml ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_mathematics
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school mathematics.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Simplify and write the result with a rational denominator: $$\sqrt{\sqrt[3]{\sqrt{\frac{1}{729}}}}$$
8
+
9
+ (A) \frac{3\sqrt{3}}{3} (B) \frac{1}{3} (C) \sqrt{3} (D) \frac{\sqrt{3}}{3}'
10
+ target: Let's think step by step. Factoring $729=3^6$ and combining the roots
11
+ $\frac{1}{2}\frac{1}{3}\frac{1}{2}=\frac{1}{12}$, we get that $\sqrt{\sqrt[3]{\sqrt{\frac{1}{729}}}}=\left(\frac{1}{3^6}\right)^{\frac{1}{12}}=\frac{1}{3^{\frac{1}{2}}}=\frac{3}{\sqrt{3}}$
12
+ The answer is (D).
13
+ - question: 'Five thousand dollars compounded annually at an $x\%$ interest rate takes
14
+ six years to double. At the same interest rate, how many years will it take
15
+ $\$300$ to grow to $\$9600$?
16
+
17
+ (A) 12 (B) 1 (C) 30 (D) 5'
18
+ target: Let's think step by step. To go from $\$300$ to $\$9600$, the value must
19
+ go up by a factor of $9600/300=32=2^5$. Since at this interest rate it takes
20
+ six years for it to double, it will take $5*6=30$ years to grow to $\$9600$.
21
+ The answer is (C).
22
+ - question: "Ten students take a biology test and receive the following scores: 45,\
23
+ \ 55, 50, 70, 65, 80, 40, 90, 70, 85. What is the mean of the students\u2019\
24
+ \ test scores?\n(A) 55 (B) 60 (C) 62 (D) 65"
25
+ target: Let's think step by step. There are 10 students and the sum of their scores
26
+ is $45 + 55 + 50 + 70 + 65 + 80 + 40 + 90 + 70 + 85 = 650$, the mean is $650/10=65$.
27
+ The answer is (D).
28
+ - question: 'The variable $x$ varies directly as the square of $y$, and $y$ varies
29
+ directly as the cube of $z$. If $x$ equals $-16$ when $z$ equals 2, what is
30
+ the value of $x$ when $z$ equals $\frac{1}{2}$?
31
+
32
+ (A) -1 (B) 16 (C) -\frac{1}{256} (D) \frac{1}{16}'
33
+ target: Let's think step by step. We know that $x \propto y^2$ and $y \propto
34
+ z^3$, so $x = k z^6$ for some constant $k$. Plugging in for $x=-16$ and $z=2$,
35
+ the constant value is $k=\frac{x}{z^6}=\frac{-16}{64}=-\frac{1}{4}$. So, when
36
+ $z=\frac{1}{2}$, the value of $x$ is $x=kz^6=-\frac{1}{4}\frac{1}{2^6}=-\frac{1}{256}$.
37
+ The answer is (C).
38
+ - question: 'Joe was in charge of lights for a dance. The red light blinks every two
39
+ seconds, the yellow light every three seconds, and the blue light every five
40
+ seconds. If we include the very beginning and very end of the dance, how many
41
+ times during a seven minute dance will all the lights come on at the same time?
42
+ (Assume that all three lights blink simultaneously at the very beginning of
43
+ the dance.)
44
+
45
+ (A) 3 (B) 15 (C) 6 (D) 5'
46
+ target: 'Let''s think step by step. The least common multiple of 2, 3 and 5 is
47
+ 30, so during a 7 minute dance, all the three lights will come on at the same
48
+ time $2*7+1=15$ times. The answer is (B).'
49
+ tag: mmlu_flan_cot_fewshot_stem
50
+ include: _mmlu_flan_cot_fewshot_template_yaml
51
+ task: mmlu_flan_cot_fewshot_high_school_mathematics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_microeconomics.yaml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_microeconomics
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school microeconomics.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Which of the following is necessarily a characteristic of oligopoly?
8
+
9
+ (A) Free entry into and exit from the market (B) A few large producers (C) One
10
+ producer of a good with no close substitutes (D) A homogenous product'
11
+ target: Let's think step by step. We refer to Wikipedia articles on microeconomics
12
+ for help. An oligopoly is when a market is dominated by just one or a few number
13
+ of sellers or producers. To get oligopoly, the market should have high barriers
14
+ to new entry, and the product has differentiation. The answer is (B).
15
+ - question: 'If the government subsidizes producers in a perfectly competitive market,
16
+ then
17
+
18
+ (A) the demand for the product will increase (B) the demand for the product
19
+ will decrease (C) the consumer surplus will increase (D) the consumer surplus
20
+ will decrease'
21
+ target: Let's think step by step. We refer to Wikipedia articles on microeconomics
22
+ for help. (A) and (B) are wrong because the demand curve does not change at
23
+ all. If the government subsidizes producers, the supply will increase, and thus
24
+ the consumer surplus also increases. The answer is (C).
25
+ - question: 'Which of the following is true of a price floor?
26
+
27
+ (A) The price floor shifts the demand curve to the left. (B) An effective floor
28
+ creates a shortage of the good. (C) The price floor shifts the supply curve
29
+ of the good to the right. (D) To be an effective floor, it must be set above
30
+ the equilibrium price.'
31
+ target: Let's think step by step. We refer to Wikipedia articles on microeconomics
32
+ for help. Price floor does not shift the demand or shift curve. An effective
33
+ price floor should be set above the equilibrium price, otherwise the market
34
+ bears and the floor does not have effective effect. The answer is (D).
35
+ - question: 'The concentration ratio for a monopoly is
36
+
37
+ (A) 0 (B) 5 (C) 10 (D) 100'
38
+ target: Let's think step by step. We refer to Wikipedia articles on microeconomics
39
+ for help. The concentration ratio is calculated as the sum of market share of
40
+ a specific number of largest companies. Monopoly means one company or entity
41
+ controls the entire market, therefore, the concentration ratio is 100 percent.
42
+ The answer is (D).
43
+ - question: 'In a competitive labor market for housepainters, which of the following
44
+ would increase the demand for housepainters?
45
+
46
+ (A) An effective minimum wage imposed on this labor market. (B) An increase
47
+ in the price of gallons of paint. (C) An increase in the construction of new
48
+ houses. (D) An increase in the price of mechanical painters so long as the output
49
+ effect exceeds the substitution effect.'
50
+ target: 'Let''s think step by step. We refer to Wikipedia articles on microeconomics
51
+ for help. An increase in the construction of new houses means an increase demand
52
+ of in-house painting, thus increases the demand for housepainters. The answer
53
+ is (C).'
54
+ tag: mmlu_flan_cot_fewshot_social_sciences
55
+ include: _mmlu_flan_cot_fewshot_template_yaml
56
+ task: mmlu_flan_cot_fewshot_high_school_microeconomics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_physics.yaml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_physics
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school physics.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'A microwave oven is connected to an outlet, 120 V, and draws a current
8
+ of 2 amps. At what rate is energy being used by the microwave oven?
9
+
10
+ (A) 10 W (B) 30 W (C) 60 W (D) 240 W'
11
+ target: Let's think step by step. Rate of energy usage is known as power; in an
12
+ dissipative electrical circuit, power is given by voltage times current. So
13
+ in our case, the power is 120 V times 2 amps, or 240 W. The answer is (D).
14
+ - question: "A point charge, Q = +1 mC, is fixed at the origin. How much work is required\
15
+ \ to move a charge, Q = +8 \xB5C, from the point (0, 4 meters) to the point\
16
+ \ (3 meters, 0)?\n(A) 3.5 J (B) 6.0 J (C) 22.5 J (D) 40 J"
17
+ target: "Let's think step by step. To calculate the work required to move a charge\
18
+ \ from one location to another in a fixed electric field, it is enough to calculate\
19
+ \ the potential difference between the two locations. Here, the potential only\
20
+ \ depends on the distance between the charges; it\u2019s $k q_1 q_2 / r$, where\
21
+ \ $k$ is Coulomb\u2019s constant. Plugging in values $q_1 = $ 1 mC, $q_2 = 8\
22
+ \ \\mu$ C, gives the answer as 5.992 J, which rounds to 6 J. The answer is (B)."
23
+ - question: 'Which of the following conditions will ensure that angular momentum is
24
+ conserved? I. Conservation of linear momentum II. Zero net external force III.
25
+ Zero net external torque
26
+
27
+ (A) I and II only (B) I and III only (C) II and III only (D) III only'
28
+ target: Let's think step by step. Torque is defined as the change in angular momentum;
29
+ if there is zero external torque, angular momentum is conserved. The answer
30
+ is (D).
31
+ - question: "A photocell of work function \u03D5 = 2eV is connected to a resistor in\
32
+ \ series. Light of frequency f = 1 \xD7 10^15 Hz hits a metal plate of the photocell.\
33
+ \ If the power of the light is P = 100 W, what is the current through the resistor?\n\
34
+ (A) 2:00 AM (B) 6:00 AM (C) 12:00 AM (D) 24 A"
35
+ target: Let's think step by step. The only answer above which has units of current
36
+ is D, 24 A. The answer is (D).
37
+ - question: "A pipe full of air is closed at one end. A standing wave is produced in\
38
+ \ the pipe, causing the pipe to sound a note. Which of the following is a correct\
39
+ \ statement about the wave\u2019s properties at the closed end of the pipe?\n\
40
+ (A) The pressure is at a node, but the particle displacement is at an antinode.\
41
+ \ (B) The pressure is at an antinode, but the particle displacement is at a\
42
+ \ node. (C) The pressure and the particle displacement are both at nodes. (D)\
43
+ \ The pressure and the particle displacement are both at antinodes."
44
+ target: 'Let''s think step by step. At the closed end of the pipe, the particles
45
+ cannot have any net displacement because the pipe closure stops them. So the
46
+ particle displacement is at a node. This closure also causes the pressure to
47
+ be maximal, i.e. an antinode. The answer is (B).'
48
+ tag: mmlu_flan_cot_fewshot_stem
49
+ include: _mmlu_flan_cot_fewshot_template_yaml
50
+ task: mmlu_flan_cot_fewshot_high_school_physics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_psychology.yaml ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_psychology
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school psychology.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'Pascale is interested in the processing strategies children use to learn
8
+ new information. Pascale would best be classified as what type of psychologist?
9
+
10
+ (A) sociocultural (B) clinical (C) cognitive (D) behaviorist'
11
+ target: Let's think step by step. We refer to Wikipedia articles on psychology
12
+ for help. Sociocultural psychologist focuses on the effect of societal factors
13
+ on people. Clinical psychologist focuses on people with mental issues. Cognitive
14
+ psychologist focuses on how people think and learn, including the processing
15
+ strategies. Behaviorist focuses more on the environment and experience effect
16
+ on people. The answer is (C).
17
+ - question: 'According to Caplan''s model of consultee-centered case consultation,
18
+ the consultant is primarily interested in
19
+
20
+ (A) identifying the causes and solutions of the client''s presenting problems
21
+ (B) identifying and eliminating the causes of the consultee''s difficulties
22
+ in handling a problem (C) establishing a hierarchy of authority to enable effective
23
+ decision making (D) presenting a single, well-defined and unambiguous course
24
+ of action for the consultant to overcome skills deficits'
25
+ target: Let's think step by step. We refer to Wikipedia articles on psychology
26
+ for help. Caplan defines two type of consultation. Client-centered case consultation
27
+ aims to handle client's problems, while consultee-centered case consultation
28
+ aims to identify the reason of client's difficulty to solve problems. The answer
29
+ is (B).
30
+ - question: 'According to the Individuals with Disabilities Education Improvement Act,
31
+ which of the following must an educational agency do before it changes the educational
32
+ placement of a student with a disability?
33
+
34
+ (A) Give the child a trial period in the new environment (B) Notify the parents
35
+ in writing (C) Obtain school board approval (D) Obtain parental consent'
36
+ target: Let's think step by step. We refer to Wikipedia articles on psychology
37
+ for help. When the decision to change the educational placement of a student
38
+ with a disability is made, the educational agency must notify the parents in
39
+ writing on that date. The answer is (B).
40
+ - question: 'While swimming in the ocean, Ivan is frightened by a dark shadow in the
41
+ water even before he has the chance to identify what the shadow is. The synaptic
42
+ connections taking place during this incident of fright are best described by
43
+ which of the following?
44
+
45
+ (A) Messages are sent from the thalamus directly to the amygdala. (B) Messages
46
+ are sent from the thalamus to the "what" and "where" pathways. (C) Messages
47
+ are sent from the parasympathetic nervous system to the cerebral cortex. (D)
48
+ Messages are sent from the frontal lobes to the pituitary gland.'
49
+ target: Let's think step by step. We refer to Wikipedia articles on psychology
50
+ for help. Our neural system has a mechanism that can respond immediate emotional
51
+ signal before going to the thought center. In the Ivan's case, messages travel
52
+ directly from thalamus to amygdala. The answer is (A).
53
+ - question: 'Ani believes that her attitudes and behavior play a central role in what
54
+ happens to her. Such a belief is likely to be associated with
55
+
56
+ (A) a strong superego. (B) low self-esteem. (C) low self-efficacy. (D) an internal
57
+ locus of control.'
58
+ target: 'Let''s think step by step. We refer to Wikipedia articles on psychology
59
+ for help. People with an external locus of control believes fate and luck play
60
+ an important role in their lives, while people with an internal locus of control
61
+ believes they control their lives. The answer is (D).'
62
+ tag: mmlu_flan_cot_fewshot_social_sciences
63
+ include: _mmlu_flan_cot_fewshot_template_yaml
64
+ task: mmlu_flan_cot_fewshot_high_school_psychology
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_statistics.yaml ADDED
@@ -0,0 +1,81 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_statistics
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school statistics.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: 'A new smartwatch is manufactured in one part of a factory, then secured
8
+ for shipping in another, independent part of the factory. The weight of the
9
+ smartwatch has a mean of 62 grams and a standard deviation of 1.0 grams. The
10
+ weight of the packaging (box, user''s guide, bubble wrap, etc.) has a mean of
11
+ 456 grams and a standard deviation of 6 grams. Together, the distribution of
12
+ the weight of the smartwatch and its packaging would have the following mean
13
+ and standard deviation:
14
+
15
+ (A) Mean 518 grams; standard deviation 7.0 grams (B) Mean 518 grams; standard
16
+ deviation 3.5 grams (C) Mean 518 grams; standard deviation 6.1 grams (D) Mean
17
+ 394 grams; standard deviation 6.1 grams'
18
+ target: Let's think step by step. Since the weight of the watch and the weight
19
+ of the packaging are independent random variables, the mean and variance of
20
+ their sum is equal to the sum of their individual means and variances. So the
21
+ mean is 62 + 456 = 518 grams, and the variances is 1.0^2 + 6.0^2 = 37, leading
22
+ to a standard deviation of 6.1 grams. The answer is (C).
23
+ - question: 'After a frost warning was issued, the owner of a large orange grove asked
24
+ his workers to spray all his trees with water. The water was supposed to freeze
25
+ and form a protective covering of ice around the orange blossom. Nevertheless,
26
+ the owner suspected that some trees suffered considerable damage due to the
27
+ frost. To estimate the proportion of trees that suffered more than 50 percent
28
+ damage due to the frost, he took a random sample of 100 trees from his grove.
29
+ What is the response variable in this experiment?
30
+
31
+ (A) The proportion of trees that suffered more than 50 percent damage due to
32
+ frost. (B) The number of trees affected by the frost. (C) The number of trees
33
+ sampled from the grove. (D) For each sampled tree, whether it suffered more
34
+ than 50 percent damage or at most 50 percent damage.'
35
+ target: Let's think step by step. In this experiment, the response variable is
36
+ what is measured. For each tree, what is measured is whether or not it suffered
37
+ more than 50 percent damage due to the frost. The answer is (D).
38
+ - question: 'Suppose X and Y are random variables with E(X) = 37, var(X) = 5, E(Y)
39
+ = 62, and var(Y) = 12. What are the expected value and variance of the random
40
+ variable X + Y?
41
+
42
+ (A) E(X + Y) = 99, var(X + Y) = 8.5 (B) E(X + Y) = 99, var(X + Y) = 13 (C) E(X
43
+ + Y) = 99, var(X + Y) = 17 (D) There is insufficient information to answer this
44
+ question.'
45
+ target: Let's think step by step. While means of sums of random variables add
46
+ (regardless of whether the variables are independent) in order to determine
47
+ the variance of a sum of random variables, we need to know not just their individual
48
+ variances but the covariance of the two variables, which is not given in this
49
+ problem. The answer is (D).
50
+ - question: 'Which of the following sets has the smallest standard deviation? Which
51
+ has the largest?
52
+
53
+ I: {1,2,3}
54
+
55
+ II: {-10,10}
56
+
57
+ III: {100}
58
+
59
+ (A) I, II (B) II, III (C) III, I (D) III, II'
60
+ target: Let's think step by step. The variance of distribution I is the expected
61
+ squared deviation from its mean (which is 2), so the variance is 2/3 . The variance
62
+ of distribution II is 10^2 (because both elements are 10 away from the mean
63
+ of zero). The variance of distribution III is 0, since it has a single entry.
64
+ So distribution III has the smallest standard deviation and distribution II
65
+ has the largest. The answer is (D).
66
+ - question: 'Which of the following is a correct statement about correlation?
67
+
68
+ (A) If the slope of the regression line is exactly 1, then the correlation is
69
+ exactly 1. (B) If the correlation is 0, then the slope of the regression line
70
+ is undefined. (C) Switching which variable is called x and which is called y
71
+ changes the sign of the correlation. (D) The correlation r is equal to the slope
72
+ of the regression line when z-scores for the y-variable are plotted against
73
+ z-scores for the x-variable.'
74
+ target: 'Let''s think step by step. Statement A is false because the slope of
75
+ the regression line being exactly 1 can occur even when the two variables are
76
+ not perfectly correlated. Statement B is false because uncorrelated variables
77
+ regression lines can have slope zero. Statement C is false because correlation
78
+ is symmetric in the two random variables. The answer is (D).'
79
+ tag: mmlu_flan_cot_fewshot_stem
80
+ include: _mmlu_flan_cot_fewshot_template_yaml
81
+ task: mmlu_flan_cot_fewshot_high_school_statistics
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_us_history.yaml ADDED
@@ -0,0 +1,156 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_us_history
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school us history.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: "This question refers to the following information.\nI come not to urge\
8
+ \ personal claims, nor to seek individual benefits; I appear as the advocate\
9
+ \ of those who cannot plead their own cause; I come as the friend of those who\
10
+ \ are deserted, oppressed, and desolate. In the Providence of God, I am the\
11
+ \ voice of the maniac whose piercing cries from the dreary dungeons of your\
12
+ \ jails penetrate not your Halls of Legislation. I am the Hope of the poor crazed\
13
+ \ beings who pine in the cells, and stalls, and cages, and waste rooms of your\
14
+ \ poor-houses. I am the Revelation of hundreds of wailing, suffering creatures,\
15
+ \ hidden in your private dwellings, and in pens and cabins\u2014shut out, cut\
16
+ \ off from all healing influences, from all mind-restoring cares.\u2026 Could\
17
+ \ their melancholy histories be spread before you as revealed to my grieved\
18
+ \ spirit during the last three months, how promptly, how earnestly would you\
19
+ \ search out the most approved means of relief; how trifling, how insignificant,\
20
+ \ by comparison, would appear the sacrifices you are asked to make; how would\
21
+ \ a few dimes and dollars, gathered from each citizen, diminish in value as\
22
+ \ a possession, compared with the certain benefits and vast good to be secured\
23
+ \ for the suffering insane...by the consecration and application of a sufficient\
24
+ \ fund to the construction of a suitable hospital.\u2026\n\u2014Dorothea Dix,\
25
+ \ Memorial Soliciting a State Hospital for the Protection and Cure of the Insane,\n\
26
+ Submitted to the General Assembly of North Carolina, November 1848\nDorothea\
27
+ \ Dix can best be compared to whom?\n(A) Abigail Adams (B) Clara Barton (C)\
28
+ \ Shirley Temple (D) Hillary Clinton"
29
+ target: Let's think step by step. We refer to Wikipedia articles on us history
30
+ for help. Both Dorothea Dix and Clara barton are American nurses. The answer
31
+ is (B).
32
+ - question: "This question refers to the following information.\n\"As our late Conduct\
33
+ \ at the Conestoga Manor and Lancaster have occasioned much Speculation & a\
34
+ \ great diversity of Sentiments in this and neighboring Governments; some vindicating\
35
+ \ & others condemning it; some charitably alleviating the Crime, & others maliciously\
36
+ \ painting it in the most odious & detestable Colours, we think it our duty\
37
+ \ to lay before the Publick, the whole Matter as it appeared, & still appears,\
38
+ \ to us. . . .\n\"If these things are not sufficient to prove an unjustifiable\
39
+ \ Attachment in the Quakers to the Indians Savages, a fixed Resolution to befriend\
40
+ \ them & an utter insensibility to human Distresses, let us consider a few more\
41
+ \ recent Facts. When we found the last Summer that we were likely to get no\
42
+ \ Assistance from the Government, some Volunteers went out at our own Expense,\
43
+ \ determined to drive our Enemies from our Borders; & when we came near to the\
44
+ \ great Island, we understood that a Number of their Warriors had gone out against\
45
+ \ our Frontiers. Upon this we returned and came up with them and fought with\
46
+ \ them at the Munfey Hill where we lost some of our Men & killed some of their\
47
+ \ Warriors & thereby saved our Frontiers from this Story in another Expedition.\
48
+ \ But no sooner had we destroyed their Provisions on the great Island, & ruined\
49
+ \ their trade with the good People at Bethlehem, but these very Indians, who\
50
+ \ were justly suspected of having murdered our Friends in Northampton County,\
51
+ \ were by the Influence of some Quakers taken under the Protection of the Government\
52
+ \ to screen them from the Resentments of the Friends and Relations of the Murdered,\
53
+ \ & to support them thro the Winter.\"\n\u2014\"Apology of the Paxton Boys\"\
54
+ \ (pamphlet), 1764 (Note: \"apology\" in this context should be read as an explanation,\
55
+ \ not an admission of guilt or regret.\nThe sentiments expressed in the explanation\
56
+ \ above reflect which of the ongoing tensions during the colonial period of\
57
+ \ American history?\n(A) Tensions between British policies and the aspirations\
58
+ \ of North American colonists. (B) Tensions between American Indians allied\
59
+ \ with the French and those allied with the British. (C) Tensions between freed\
60
+ \ African Americans and white planters. (D) Tensions between backcountry settlers\
61
+ \ and elites within colonial America."
62
+ target: Let's think step by step. We refer to Wikipedia articles on us history
63
+ for help. After the French and Indian War, the Scotch-Irish settlers attacked
64
+ American Indians. After the attacks on the Conestoga, about 250 Paxton Boys
65
+ present their grievances to the Pennsylvania legislature. As mentioned in the
66
+ information, the Paxton Boys cited resentiment at local elites. The answer is
67
+ (D).
68
+ - question: "This question refers to the following information.\nOur leaders talk about\
69
+ \ stopping aggression from the north, but this was a struggle among groups of\
70
+ \ Vietnamese until we intervened. We seem bent upon saving the Vietnamese from\
71
+ \ Ho Chi Minh even if we have to kill them and demolish their country to do\
72
+ \ it. As the native people survey bombed-out villages, women and children burned\
73
+ \ by napalm, rice crops destroyed and cities overrun with our military personnel,\
74
+ \ they are doubtless saying secretly of the Vietcong guerillas and of the American\
75
+ \ forces, \"A plague on both your houses.\" \u2026 Stop the bombing, north and\
76
+ \ south, end search and destroy offensive sweeps, and confine our military action\
77
+ \ to holding operations on the ground. Bombing the north has failed to halt\
78
+ \ or seriously check the flow of troops to the south and may, in fact, have\
79
+ \ prompted a much greater war effort by Hanoi.\n\u2014Senator George McGovern,\
80
+ \ \"The Lessons of Vietnam,\" April 25, 1967\nWhich of the following opinions\
81
+ \ from the 1960s most directly reflects the perspective of George McGovern's\
82
+ \ speech?\n(A) Americans must maximize their technological edge in Vietnam.\
83
+ \ (B) American bombing in Vietnam is step by step leading to progress in the\
84
+ \ war. (C) American bombing in Vietnam is a failure. (D) America must not give\
85
+ \ in to defeatism about the war in Vietnam."
86
+ target: Let's think step by step. We refer to Wikipedia articles on us history
87
+ for help. "Stop the bombing" and "Bombing the north has failed to halt or seriously
88
+ check the flow of troops to the south" indicate that the perspective of George
89
+ McGovern's speech is that Amerian bombing in Vietnam is a failure. The answer
90
+ is (C).
91
+ - question: "This question refers to the following information.\n\"In the new Code\
92
+ \ of Laws which I suppose it will be necessary for you to make I desire you\
93
+ \ would Remember the Ladies, and be more generous and favorable to them than\
94
+ \ your ancestors. Do not put such unlimited power into the hands of the Husbands.\
95
+ \ Remember all Men would be tyrants if they could. If particular care and attention\
96
+ \ is not paid to the Ladies we are determined to foment a Rebellion, and will\
97
+ \ not hold ourselves bound by any Laws in which we have no voice, or Representation.\"\
98
+ \nAbigail Adams, in a letter to John Adams, 1776\n\"Special legislation for\
99
+ \ woman has placed us in a most anomalous position. Women invested with the\
100
+ \ rights of citizens in one section\u2014voters, jurors, office-holders\u2014\
101
+ crossing an imaginary line, are subjects in the next. In some States, a married\
102
+ \ woman may hold property and transact business in her own name; in others,\
103
+ \ her earnings belong to her husband. In some States, a woman may testify against\
104
+ \ her husband, sue and be sued in the courts; in others, she has no redress\
105
+ \ in case of damage to person, property, or character. In case of divorce on\
106
+ \ account of adultery in the husband, the innocent wife is held to possess no\
107
+ \ right to children or property, unless by special decree of the court. But\
108
+ \ in no State of the Union has the wife the right to her own person, or to any\
109
+ \ part of the joint earnings of the co-partnership during the life of her husband.\
110
+ \ In some States women may enter the law schools and practice in the courts;\
111
+ \ in others they are forbidden. In some universities girls enjoy equal educational\
112
+ \ advantages with boys, while many of the proudest institutions in the land\
113
+ \ deny them admittance, though the sons of China, Japan and Africa are welcomed\
114
+ \ there. But the privileges already granted in the several States are by no\
115
+ \ means secure.\"\nSusan B. Anthony, \"Declaration of Rights for Women,\" July\
116
+ \ 4, 1876\nThe sentiments expressed in the second excerpt by Susan B. Anthony\
117
+ \ are most likely in support of\n(A) the Equal Rights Amendment (B) universal\
118
+ \ suffrage (C) states' rights (D) prohibition"
119
+ target: Let's think step by step. We refer to Wikipedia articles on us history
120
+ for help. The above information mentioned that women are in an anomalous position
121
+ in terms of legislation. Women's earnings do not belong to themselves, or they
122
+ cannot testify against her husbands. Susan believes women should have equal
123
+ legal rights as men. The answer is (B).
124
+ - question: 'This question refers to the following information.
125
+
126
+ "Society in every state is a blessing, but government even in its best state
127
+ is but a necessary evil; in its worst state an intolerable one; for when we
128
+ suffer, or are exposed to the same miseries by a government, which we might
129
+ expect in a country without government, our calamity is heightened by reflecting
130
+ that we furnish the means by which we suffer. Government, like dress, is the
131
+ badge of lost innocence; the palaces of kings are built on the ruins of the
132
+ bowers of paradise. For were the impulses of conscience clear, uniform, and
133
+ irresistibly obeyed, man would need no other lawgiver; but that not being the
134
+ case, he finds it necessary to surrender up a part of his property to furnish
135
+ means for the protection of the rest; and this he is induced to do by the same
136
+ prudence which in every other case advises him out of two evils to choose the
137
+ least. Wherefore, security being the true design and end of government, it unanswerably
138
+ follows that whatever form thereof appears most likely to ensure it to us, with
139
+ the least expense and greatest benefit, is preferable to all others."
140
+
141
+ Thomas Paine, Common Sense, 1776
142
+
143
+ Which of the following "miseries" alluded to above were most condemned by Anti-Federalists
144
+ of the post-Revolutionary era?
145
+
146
+ (A) Organized response to Bacon''s Rebellion (B) Federal response to Shays''s
147
+ Rebellion (C) Federal response to the Whiskey Rebellion (D) Federal response
148
+ to Pontiac''s Rebellion'
149
+ target: 'Let''s think step by step. We refer to Wikipedia articles on us history
150
+ for help. Anti-Federalists do not believe centralized government power, and
151
+ suspect Washington''s military response to Whiskey Rebellion. Bacon''s Rebellion
152
+ and Pontiac''s Rebellion happen before the Revolution and they can be ruled
153
+ out. The answer is (C).'
154
+ tag: mmlu_flan_cot_fewshot_humanities
155
+ include: _mmlu_flan_cot_fewshot_template_yaml
156
+ task: mmlu_flan_cot_fewshot_high_school_us_history
lm-evaluation-harness/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_world_history.yaml ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_name: high_school_world_history
2
+ description: The following are multiple choice questions (with answers) about high
3
+ school world history.
4
+ fewshot_config:
5
+ sampler: first_n
6
+ samples:
7
+ - question: "This question refers to the following information.\n\"At least one of\
8
+ \ the [world's] societies would have to somehow enormously increase its productivity\
9
+ \ [in order to achieve global hegemony]. That quantum jump would have to be\
10
+ \ made before the various scientific, technological, agricultural, and industrial\
11
+ \ revolutions on which our post-quantum-leap world rests. It could only be accomplished\
12
+ \ by exploiting the ecosystems, mineral resources, and human assets of whole\
13
+ \ continents outside the lands of the society making the jump. Western Europe\
14
+ \ did just that by means of its brutality and guns and, more important, by geographical\
15
+ \ and ecological luck.\"\nCopyright \xA9 2015 Cambridge University Press.\n\
16
+ Alfred Crosby, historian, Ecological Imperialism, 2004\nThe \"quantum jump\"\
17
+ \ mentioned in the passage most directly contributed to which of the following\
18
+ \ developments in the period 1450\u20131750 C.E.?\n(A) A breakdown in trade\
19
+ \ routes through the collapse of the established state structure (B) An increase\
20
+ \ in the population of the world through more plentiful supplies of food (C)\
21
+ \ The spread of Chinese and Indian belief systems across the world (D) An increase\
22
+ \ in social unrest"
23
+ target: Let's think step by step. We refer to Wikipedia articles on world history
24
+ for help. The "quantum jump" mentioned in the passage refers to the conquest
25
+ of the New World and the Columbian Exchange. Choice (A) and (C) did not happen
26
+ in history. Choice (C) refers to the human assets. The answer is (B).
27
+ - question: "This question refers to the following information.\n\"The struggle against\
28
+ \ neo-colonialism is not aimed at excluding the capital of the developed world\
29
+ \ from operating in less developed countries. It is aimed at preventing the\
30
+ \ financial power of the developed countries being used in such a way as to\
31
+ \ impoverish the less developed.\nNon-alignment, as practiced by Ghana and many\
32
+ \ other countries, is based on co-operation with all States whether they be\
33
+ \ capitalist, socialist or have a mixed economy. Such a policy, therefore, involves\
34
+ \ foreign investment from capitalist countries, but it must be invested in accordance\
35
+ \ with a national plan drawn up by the government of the non-aligned State with\
36
+ \ its own interests in mind. The issue is not what return the foreign investor\
37
+ \ receives on his investments\u2026The question is one of power. A State in\
38
+ \ the grip of neo-colonialism is not master of its own destiny.\"\nKwame Nkrumah,\
39
+ \ Neo-Colonialism, 1965\nWhich of the following provides the best context for\
40
+ \ Nkrumah's writings?\n(A) The Industrial Revolution (B) Decolonization (C)\
41
+ \ Regional Free Trade Associations (D) Autarky"
42
+ target: Let's think step by step. We refer to Wikipedia articles on world history
43
+ for help. The passage expresses a point that the successful fight against neo-colonialism
44
+ were in danger and the newly independent nations like Ghana may be re-colonized
45
+ via financial power of the developed countries. The answer is (B).
46
+ - question: "This question refers to the following information.\n\"Indeed, as both\
47
+ \ the fatwas of distinguished [scholars] who base their opinion on reason and\
48
+ \ tradition alike and the consensus of the Sunni community agree that the ancient\
49
+ \ obligation of extirpation, extermination, and expulsion of evil innovation\
50
+ \ must be the aim of our exalted aspiration, for \"Religious zeal is a victory\
51
+ \ for the Faith of God the Beneficent\"; then, in accordance with the words\
52
+ \ of the Prophet (Peace upon him!) \"Whosoever introduces evil innovation into\
53
+ \ our order must be expelled\" and \"Whosoever does aught against our order\
54
+ \ must be expelled,\" action has become necessary and exigent\u2026\"\nLetter\
55
+ \ from Ottoman Sultan Selim I to Safavid Shah Ismail I, 1514\nThe letter from\
56
+ \ Selim I is most clearly an example of which of the following?\n(A) The maintenance\
57
+ \ of military supremacy at all costs (B) Expanding tensions between religious\
58
+ \ sects (C) Factors that brought about the collapse of the Ottoman Empire (D)\
59
+ \ Peacemaking efforts among the Islamic empires"
60
+ target: Let's think step by step. We refer to Wikipedia articles on world history
61
+ for help. The passage is an example of expanding tensions between Selim and
62
+ Ismail. In the passage the Selim references the fatwa and the consensus of the
63
+ Sunni community to against whosoever introduces evil. The answer is (B).
64
+ - question: 'This question refers to the following information.
65
+
66
+ "The real grievance of the worker is the insecurity of his existence; he is
67
+ not sure that he will always have work, he is not sure that he will always be
68
+ healthy, and he foresees that he will one day be old and unfit to work. If he
69
+ falls into poverty, even if only through a prolonged illness, he is then completely
70
+ helpless, exam_ins to his own devices, and society does not currently recognize
71
+ any real obligation towards him beyond the usual help for the poor, even if
72
+ he has been working all the time ever so faithfully and diligently. The usual
73
+ help for the poor, however, leaves a lot to be desired, especially in large
74
+ cities, where it is very much worse than in the country."
75
+
76
+ Otto von Bismarck, 1884
77
+
78
+ Otto von Bismarck likely made this speech in reaction to which of the following
79
+ issues?
80
+
81
+ (A) Social acceptance of child labor (B) Declining life expectancy in Germany
82
+ (C) Criticisms of German trade tariffs (D) Negative effects attributed to industrial
83
+ capitalism'
84
+ target: Let's think step by step. We refer to Wikipedia articles on world history
85
+ for help. The passage talks about the grievance of the work under the industrial
86
+ capitalism. The answer is (D).
87
+ - question: "This question refers to the following information.\nHe contains all works\
88
+ \ and desires and all perfumes and all tastes. He enfolds the whole universe\
89
+ \ and in silence is loving to all. This is the Spirit that is in my heart, this\
90
+ \ is Brahman. To him I shall come when I go beyond this life, and to him will\
91
+ \ come he who has faith and doubts not.\n\u2014The Upanishads, India, c. 1000\
92
+ \ BCE\nTo which religion does the speaker most likely belong?\n(A) Hinduism\
93
+ \ (B) Buddhism (C) Shintoism (D) Zoroastrianism"
94
+ target: 'Let''s think step by step. We refer to Wikipedia articles on world history
95
+ for help. Brahman refers to the ultimate reality of all things in the Hindu
96
+ religion. In contrast, Buddhism does not have a concept of supreme God. The
97
+ answer is (A).'
98
+ tag: mmlu_flan_cot_fewshot_humanities
99
+ include: _mmlu_flan_cot_fewshot_template_yaml
100
+ task: mmlu_flan_cot_fewshot_high_school_world_history