applied-ai-018 commited on
Commit
bf90df5
·
verified ·
1 Parent(s): 881c8b3

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/build/lib/lm_eval/tasks/code_x_glue/code-text/javascript.yaml +21 -0
  2. lm-evaluation/build/lib/lm_eval/tasks/code_x_glue/code-text/php.yaml +21 -0
  3. lm-evaluation/build/lib/lm_eval/tasks/code_x_glue/code-text/python.yaml +21 -0
  4. lm-evaluation/build/lib/lm_eval/tasks/code_x_glue/code-text/ruby.yaml +21 -0
  5. lm-evaluation/build/lib/lm_eval/tasks/mmlu/_generate_configs.py +158 -0
  6. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/_cot_prompts.json +0 -0
  7. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/_mmlu.yaml +6 -0
  8. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/_mmlu_flan_cot_fewshot_template_yaml +26 -0
  9. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_abstract_algebra.yaml +41 -0
  10. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_anatomy.yaml +57 -0
  11. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_astronomy.yaml +55 -0
  12. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_business_ethics.yaml +56 -0
  13. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_clinical_knowledge.yaml +35 -0
  14. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_biology.yaml +61 -0
  15. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_computer_science.yaml +79 -0
  16. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_mathematics.yaml +50 -0
  17. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_medicine.yaml +52 -0
  18. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_physics.yaml +44 -0
  19. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_conceptual_physics.yaml +33 -0
  20. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_econometrics.yaml +63 -0
  21. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_electrical_engineering.yaml +34 -0
  22. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_elementary_mathematics.yaml +41 -0
  23. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_formal_logic.yaml +53 -0
  24. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_global_facts.yaml +34 -0
  25. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_biology.yaml +54 -0
  26. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_chemistry.yaml +50 -0
  27. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_computer_science.yaml +71 -0
  28. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_european_history.yaml +169 -0
  29. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_geography.yaml +37 -0
  30. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_government_and_politics.yaml +43 -0
  31. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_macroeconomics.yaml +37 -0
  32. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_mathematics.yaml +37 -0
  33. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_microeconomics.yaml +40 -0
  34. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_physics.yaml +39 -0
  35. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_psychology.yaml +48 -0
  36. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_statistics.yaml +58 -0
  37. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_us_history.yaml +134 -0
  38. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_world_history.yaml +82 -0
  39. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_human_aging.yaml +28 -0
  40. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_human_sexuality.yaml +34 -0
  41. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_international_law.yaml +54 -0
  42. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_jurisprudence.yaml +45 -0
  43. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_logical_fallacies.yaml +45 -0
  44. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_machine_learning.yaml +60 -0
  45. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_management.yaml +33 -0
  46. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_marketing.yaml +40 -0
  47. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_medical_genetics.yaml +37 -0
  48. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_miscellaneous.yaml +27 -0
  49. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_moral_disputes.yaml +49 -0
  50. lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_moral_scenarios.yaml +44 -0
lm-evaluation/build/lib/lm_eval/tasks/code_x_glue/code-text/javascript.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ group:
2
+ - codexglue_code2text
3
+ task: code2text_javascript
4
+ dataset_path: CM/codexglue_code2text_javascript
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
8
+ output_type: generate_until
9
+ generation_kwargs:
10
+ num_beams: 10
11
+ max_gen_toks: 128
12
+ until:
13
+ - "</s>"
14
+ doc_to_text: !function utils.doc_to_text
15
+ doc_to_target: !function utils.doc_to_target
16
+ metric_list:
17
+ - metric: !function bleu.smoothed_bleu_4
18
+ aggregation: mean
19
+ higher_is_better: True
20
+ metadata:
21
+ version: 1.0
lm-evaluation/build/lib/lm_eval/tasks/code_x_glue/code-text/php.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ group:
2
+ - codexglue_code2text
3
+ task: code2text_php
4
+ dataset_path: CM/codexglue_code2text_php
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
8
+ output_type: generate_until
9
+ generation_kwargs:
10
+ num_beams: 10
11
+ max_gen_toks: 128
12
+ until:
13
+ - "</s>"
14
+ doc_to_text: !function utils.doc_to_text
15
+ doc_to_target: !function utils.doc_to_target
16
+ metric_list:
17
+ - metric: !function bleu.smoothed_bleu_4
18
+ aggregation: mean
19
+ higher_is_better: True
20
+ metadata:
21
+ version: 1.0
lm-evaluation/build/lib/lm_eval/tasks/code_x_glue/code-text/python.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ group:
2
+ - codexglue_code2text
3
+ task: code2text_python
4
+ dataset_path: CM/codexglue_code2text_python
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
8
+ output_type: generate_until
9
+ generation_kwargs:
10
+ num_beams: 10
11
+ max_gen_toks: 128
12
+ until:
13
+ - "</s>"
14
+ doc_to_text: !function utils.doc_to_text
15
+ doc_to_target: !function utils.doc_to_target
16
+ metric_list:
17
+ - metric: !function bleu.smoothed_bleu_4
18
+ aggregation: mean
19
+ higher_is_better: True
20
+ metadata:
21
+ version: 1.0
lm-evaluation/build/lib/lm_eval/tasks/code_x_glue/code-text/ruby.yaml ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ group:
2
+ - codexglue_code2text
3
+ task: code2text_ruby
4
+ dataset_path: CM/codexglue_code2text_ruby
5
+ training_split: train
6
+ validation_split: validation
7
+ test_split: test
8
+ output_type: generate_until
9
+ generation_kwargs:
10
+ num_beams: 10
11
+ max_gen_toks: 128
12
+ until:
13
+ - "</s>"
14
+ doc_to_text: !function utils.doc_to_text
15
+ doc_to_target: !function utils.doc_to_target
16
+ metric_list:
17
+ - metric: !function bleu.smoothed_bleu_4
18
+ aggregation: mean
19
+ higher_is_better: True
20
+ metadata:
21
+ version: 3.0
lm-evaluation/build/lib/lm_eval/tasks/mmlu/_generate_configs.py ADDED
@@ -0,0 +1,158 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """
2
+ Take in a YAML, and output all "other" splits with this YAML
3
+ """
4
+ import argparse
5
+ import logging
6
+ import os
7
+
8
+ import yaml
9
+ from tqdm import tqdm
10
+
11
+
12
+ eval_logger = logging.getLogger("lm-eval")
13
+
14
+
15
+ SUBJECTS = {
16
+ "abstract_algebra": "stem",
17
+ "anatomy": "stem",
18
+ "astronomy": "stem",
19
+ "business_ethics": "other",
20
+ "clinical_knowledge": "other",
21
+ "college_biology": "stem",
22
+ "college_chemistry": "stem",
23
+ "college_computer_science": "stem",
24
+ "college_mathematics": "stem",
25
+ "college_medicine": "other",
26
+ "college_physics": "stem",
27
+ "computer_security": "stem",
28
+ "conceptual_physics": "stem",
29
+ "econometrics": "social_sciences",
30
+ "electrical_engineering": "stem",
31
+ "elementary_mathematics": "stem",
32
+ "formal_logic": "humanities",
33
+ "global_facts": "other",
34
+ "high_school_biology": "stem",
35
+ "high_school_chemistry": "stem",
36
+ "high_school_computer_science": "stem",
37
+ "high_school_european_history": "humanities",
38
+ "high_school_geography": "social_sciences",
39
+ "high_school_government_and_politics": "social_sciences",
40
+ "high_school_macroeconomics": "social_sciences",
41
+ "high_school_mathematics": "stem",
42
+ "high_school_microeconomics": "social_sciences",
43
+ "high_school_physics": "stem",
44
+ "high_school_psychology": "social_sciences",
45
+ "high_school_statistics": "stem",
46
+ "high_school_us_history": "humanities",
47
+ "high_school_world_history": "humanities",
48
+ "human_aging": "other",
49
+ "human_sexuality": "social_sciences",
50
+ "international_law": "humanities",
51
+ "jurisprudence": "humanities",
52
+ "logical_fallacies": "humanities",
53
+ "machine_learning": "stem",
54
+ "management": "other",
55
+ "marketing": "other",
56
+ "medical_genetics": "other",
57
+ "miscellaneous": "other",
58
+ "moral_disputes": "humanities",
59
+ "moral_scenarios": "humanities",
60
+ "nutrition": "other",
61
+ "philosophy": "humanities",
62
+ "prehistory": "humanities",
63
+ "professional_accounting": "other",
64
+ "professional_law": "humanities",
65
+ "professional_medicine": "other",
66
+ "professional_psychology": "social_sciences",
67
+ "public_relations": "social_sciences",
68
+ "security_studies": "social_sciences",
69
+ "sociology": "social_sciences",
70
+ "us_foreign_policy": "social_sciences",
71
+ "virology": "other",
72
+ "world_religions": "humanities",
73
+ }
74
+
75
+
76
+ def parse_args():
77
+ parser = argparse.ArgumentParser()
78
+ parser.add_argument("--base_yaml_path", required=True)
79
+ parser.add_argument("--save_prefix_path", default="mmlu")
80
+ parser.add_argument("--cot_prompt_path", default=None)
81
+ parser.add_argument("--task_prefix", default="")
82
+ parser.add_argument("--group_prefix", default="")
83
+ return parser.parse_args()
84
+
85
+
86
+ if __name__ == "__main__":
87
+ args = parse_args()
88
+
89
+ # get filename of base_yaml so we can `"include": ` it in our "other" YAMLs.
90
+ base_yaml_name = os.path.split(args.base_yaml_path)[-1]
91
+ with open(args.base_yaml_path, encoding="utf-8") as f:
92
+ base_yaml = yaml.full_load(f)
93
+
94
+ if args.cot_prompt_path is not None:
95
+ import json
96
+
97
+ with open(args.cot_prompt_path, encoding="utf-8") as f:
98
+ cot_file = json.load(f)
99
+
100
+ ALL_CATEGORIES = []
101
+ for subject, category in tqdm(SUBJECTS.items()):
102
+ if category not in ALL_CATEGORIES:
103
+ ALL_CATEGORIES.append(category)
104
+
105
+ if args.cot_prompt_path is not None:
106
+ description = cot_file[subject]
107
+ else:
108
+ description = f"The following are multiple choice questions (with answers) about {' '.join(subject.split('_'))}.\n\n"
109
+
110
+ yaml_dict = {
111
+ "include": base_yaml_name,
112
+ "group": f"mmlu_{args.task_prefix}_{category}"
113
+ if args.task_prefix != ""
114
+ else f"mmlu_{category}",
115
+ "group_alias": category.replace("_", " "),
116
+ "task": f"mmlu_{args.task_prefix}_{subject}"
117
+ if args.task_prefix != ""
118
+ else f"mmlu_{subject}",
119
+ "task_alias": subject.replace("_", " "),
120
+ "dataset_name": subject,
121
+ "description": description,
122
+ }
123
+
124
+ file_save_path = args.save_prefix_path + f"_{subject}.yaml"
125
+ eval_logger.info(f"Saving yaml for subset {subject} to {file_save_path}")
126
+ with open(file_save_path, "w", encoding="utf-8") as yaml_file:
127
+ yaml.dump(
128
+ yaml_dict,
129
+ yaml_file,
130
+ allow_unicode=True,
131
+ default_style='"',
132
+ )
133
+
134
+ if args.task_prefix != "":
135
+ mmlu_subcategories = [
136
+ f"mmlu_{args.task_prefix}_{category}" for category in ALL_CATEGORIES
137
+ ]
138
+ else:
139
+ mmlu_subcategories = [f"mmlu_{category}" for category in ALL_CATEGORIES]
140
+
141
+ if args.group_prefix != "":
142
+ file_save_path = args.group_prefix + ".yaml"
143
+ else:
144
+ file_save_path = args.save_prefix_path + ".yaml"
145
+
146
+ eval_logger.info(f"Saving benchmark config to {file_save_path}")
147
+ with open(file_save_path, "w", encoding="utf-8") as yaml_file:
148
+ yaml.dump(
149
+ {
150
+ "group": f"mmlu_{args.task_prefix}"
151
+ if args.task_prefix != ""
152
+ else "mmlu",
153
+ "task": mmlu_subcategories,
154
+ },
155
+ yaml_file,
156
+ indent=4,
157
+ default_flow_style=False,
158
+ )
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/_cot_prompts.json ADDED
The diff for this file is too large to render. See raw diff
 
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/_mmlu.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ group: mmlu_flan_cot_fewshot
2
+ task:
3
+ - mmlu_flan_cot_fewshot_stem
4
+ - mmlu_flan_cot_fewshot_other
5
+ - mmlu_flan_cot_fewshot_social_sciences
6
+ - mmlu_flan_cot_fewshot_humanities
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/_mmlu_flan_cot_fewshot_template_yaml ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ dataset_path: hails/mmlu_no_train # a copy of `cais/mmlu` with no auxiliary_train split
2
+ validation_split: validation
3
+ fewshot_split: dev
4
+ output_type: generate_until
5
+ doc_to_text: "Q: {{question.strip()}}\n(A) {{choices[0]}} (B) {{choices[1]}} (C) {{choices[2]}} (D) {{choices[3]}}\nA: Let's think step by step."
6
+ doc_to_target: "{{['(A)', '(B)', '(C)', '(D)'][answer]}}"
7
+ filter_list:
8
+ - name: "get-answer"
9
+ filter:
10
+ - function: "regex"
11
+ regex_pattern: "(?<=The answer is )(.*)(?=.)"
12
+ - function: "take_first"
13
+ generation_kwargs:
14
+ until:
15
+ - "</s>"
16
+ do_sample: false
17
+ temperature: 0.0
18
+ num_fewshot: 0
19
+ metric_list:
20
+ - metric: exact_match
21
+ aggregation: mean
22
+ higher_is_better: true
23
+ ignore_case: true
24
+ ignore_punctuation: true
25
+ metadata:
26
+ version: 0.0
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_abstract_algebra.yaml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "abstract_algebra"
2
+ "description": "The following are multiple choice questions (with answers) about abstract\
3
+ \ algebra.\n\nQ: Statement 1 | Every element of a group generates a cyclic subgroup\
4
+ \ of the group. Statement 2 | The symmetric group S_10 has 10 elements.\n(A) True,\
5
+ \ True (B) False, False (C) True, False (D) False, True\nA: Let's think step by\
6
+ \ step. A cyclic group is a group that is generated by a single element. Hence a\
7
+ \ subgroup generated by a single element of a group is cyclic and Statement 1 is\
8
+ \ True. The answer is (C).\n\nQ: The symmetric group $S_n$ has $\nactorial{n}$ elements,\
9
+ \ hence it is not true that $S_{10}$ has 10 elements.\nFind the characteristic of\
10
+ \ the ring 2Z.\n(A) 0 (B) 3 (C) 12 (D) 30\nA: Let's think step by step. A characteristic\
11
+ \ of a ring is R is $n$ if the statement $ka = 0$ for all $a\\in 2Z$ implies that\
12
+ \ $k$ is a multiple of $n$. Assume that $ka = 0$ for all $a\\in 2Z$ for some $k$.\
13
+ \ In particular $2k = 0$. Hence $k=0$ and $n=0$. The answer is (A).\n\nQ: Statement\
14
+ \ 1| Every function from a finite set onto itself must be one to one. Statement\
15
+ \ 2 | Every subgroup of an abelian group is abelian.\n(A) True, True (B) False,\
16
+ \ False (C) True, False (D) False, True\nA: Let's think step by step. Statement\
17
+ \ 1 is true. Let $S$ be a finite set. If $f:S \nightarrow S$ is a onto function,\
18
+ \ then $|S| = |f(S)|$. If $f$ was not one to one, then for finite domain $S$ the\
19
+ \ image would have less than $S$ elements, a contradiction.\nStatement 2 is true.\
20
+ \ Let $G$ be an abelian group and $H$ be a subgroup of $G$. We need to show that\
21
+ \ $H$ is abelian. Let $a,b \\in H$. Then $a,b \\in G$ and $ab=ba$. Since $G$ is\
22
+ \ abelian, $ab=ba$. Since $H$ is a subgroup of $G$, $ab \\in H$. Therefore, $ab=ba$\
23
+ \ and $H$ is abelian. The answer is (A).\n\nQ: Statement 1 | If aH is an element\
24
+ \ of a factor group, then |aH| divides |a|. Statement 2 | If H and K are subgroups\
25
+ \ of G then HK is a subgroup of G.\n(A) True, True (B) False, False (C) True, False\
26
+ \ (D) False, True\nA: Let's think step by step. Statement 2 is false. Let $H$ be\
27
+ \ a subgroup of $S_3$ generated by the cycle $(1,2)$ and $K$ be a subgroup of $S_3$\
28
+ \ generated by the cycle $(1,3)$. Both $H$ and $K$ have two elements, the generators\
29
+ \ and the identity. However $HK$ contains cycles (1,2), (1,3) and (2,3,1), but the\
30
+ \ inverse of (2,3,1) is (2,1,3) and it does not belong to HK, hence HK is not a\
31
+ \ subgroup. The answer is (B).\n\nQ: Find all c in Z_3 such that Z_3[x]/(x^2 + c)\
32
+ \ is a field.\n(A) 0 (B) 1 (C) 2 (D) 3\nA: Let's think step by step. Z_3[x]/(x^2\
33
+ \ + c) is a field if and only if x^2 + c does not have roots in Z_3. That is x^2\
34
+ \ + c != 0 for every x in Z_3. If c = 0, then x^2 + c = x^2 has root 0. If c = 1\
35
+ \ then x^2 + c = x^2 + 1 = 0 + 1 for x = 0, 1 + 1 = 2 for x = 1 and 1 + 1 = 2 for\
36
+ \ x = 2, hence x^2 + 1 does not have any roots. For c = 2 the polynomial x^2 + 2\
37
+ \ has two roots at x = 1 and x = 2. Hence Z_3[x]/(x^2 + c) is a field if and only\
38
+ \ if c = 1. The answer is (B).\n\n"
39
+ "group": "mmlu_flan_cot_fewshot_stem"
40
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
41
+ "task": "mmlu_flan_cot_fewshot_abstract_algebra"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_anatomy.yaml ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "anatomy"
2
+ "description": "The following are multiple choice questions (with answers) about anatomy.\n\
3
+ \nQ: Which of the following is the body cavity that contains the pituitary gland?\n\
4
+ (A) Abdominal (B) Cranial (C) Pleural (D) Spinal\nA: Let's think step by step. We\
5
+ \ refer to Wikipedia articles on anatomy for help. Let’s solve this problem step\
6
+ \ by step. The pituitary gland is the major endocrine gland attached to the base\
7
+ \ of the brain, and it is contained in the Cranial cavity. The answer is (B).\n\n\
8
+ Q: Which of these branches of the trigeminal nerve contain somatic motor processes?\n\
9
+ (A) The supraorbital nerve (B) The infraorbital nerve (C) The mental nerve (D) None\
10
+ \ of the above\nA: Let's think step by step. We refer to Wikipedia articles on anatomy\
11
+ \ for help. Let’s solve this problem step by step. \nWe know the following: (A)\
12
+ \ The supraorbital nerve (also known as the frontal nerve) is the largest branch\
13
+ \ of the ophthalmic nerve and branch of ophthalmic division of the trigeminal nerve.\
14
+ \ (B) The infraorbital nerve is a branch of the maxillary division of the trigeminal\
15
+ \ nerve. (C) The mental nerve is a branch of the mandibular division of the trigeminal\
16
+ \ nerve. Because all these nerves are purely sensory nerves and do not contain any\
17
+ \ somatic motor processes. Therefore, the answer should be none of the above, which\
18
+ \ is (D). The answer is (D).\n\nQ: In Angle's Class II Div 2 occlusion there is\n\
19
+ (A) excess overbite of the upper lateral incisors. (B) negative overjet of the upper\
20
+ \ central incisors. (C) excess overjet of the upper lateral incisors. (D) excess\
21
+ \ overjet of the upper central incisors.\nA: Let's think step by step. We refer\
22
+ \ to Wikipedia articles on anatomy for help. Let’s solve this problem step by step.\
23
+ \ This is a question related to anatomy and orthodontics. Excess overjet is associated\
24
+ \ with Class II occlusions; therefore, we can safely eliminate (B) from the list,\
25
+ \ as negative overjet is often associated with Class III occlusions. Now, we need\
26
+ \ to determine the location of the excess overjet, and that would be the upper (maxillary)\
27
+ \ lateral incisors. Only (C) has the correct information. The answer is (C).\n\n\
28
+ Q: The pleura\n(A) have no sensory innervation. (B) are separated by a 2 mm space.\
29
+ \ (C) extend into the neck. (D) are composed of respiratory epithelium.\nA: Let's\
30
+ \ think step by step. We refer to Wikipedia articles on anatomy for help. Let’s\
31
+ \ solve this problem step by step. First, recall that the pleura refers to the thin\
32
+ \ layer of tissue that covers the lungs and lines the interior wall of the chest\
33
+ \ cavity. Now, let’s look at each option:\nOption (A): “The pleura have no sensory\
34
+ \ innervation.” This information is not correct. The pleura do have a sensory innervation.\n\
35
+ Option (B): “The pleura are separated by a 2 mm space.” This information is not\
36
+ \ correct. There is a very thin “potential” space between the layers of the pleura;\
37
+ \ however, it is typically filled with serous pleural fluid. \nOption (C): “The\
38
+ \ pleura extend into the neck.” This information is actuakky true. The cervical\
39
+ \ pleura, also known as the dome of the pleuradome of the pleura, lines the extendsiton\
40
+ \ of the pleural cavity into the neck.\nOption (D): “The pleura are composed of\
41
+ \ respiratory epithelium.” This information is not correct. The pleaura are composed\
42
+ \ of connective tissue (CT).\nBecause (A), (B), and (D) are all incorrect, (D) is\
43
+ \ the only correct answer. The answer is (C).\n\nQ: What is the embryological origin\
44
+ \ of the hyoid bone?\n(A) The first pharyngeal arch (B) The first and second pharyngeal\
45
+ \ arches (C) The second pharyngeal arch (D) The second and third pharyngeal arches\n\
46
+ A: Let's think step by step. We refer to Wikipedia articles on anatomy for help.\
47
+ \ Let’s solve this problem step by step. The hyoid bone, which is also known as\
48
+ \ the hyooid, is a a small U-shaped bone located in the anterior neck. In its resting\
49
+ \ position, it lies between the ase of the mandible and the third cervical vertebrae.\
50
+ \ We know that the second and the third pharyngeal arches give rise to the horns\
51
+ \ of the hyoid bone; therefore, the embryological origin of the hyoid bone are the\
52
+ \ second and the third pharyngeal arches—this information is covered in the last\
53
+ \ option (D). Therefore, we conclude that (D) must be the correct answer. The answer\
54
+ \ is (D).\n\n"
55
+ "group": "mmlu_flan_cot_fewshot_stem"
56
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
57
+ "task": "mmlu_flan_cot_fewshot_anatomy"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_astronomy.yaml ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "astronomy"
2
+ "description": "The following are multiple choice questions (with answers) about astronomy.\n\
3
+ \nQ: Where do most short-period comets come from and how do we know?\n(A) The Kuiper\
4
+ \ belt; short period comets tend to be in the plane of the solar system just like\
5
+ \ the Kuiper belt. (B) The Kuiper belt; short period comets tend to come from random\
6
+ \ directions indicating a spherical distribution of comets called the Kuiper belt.\
7
+ \ (C) The asteroid belt; short period comets have orbital periods similar to asteroids\
8
+ \ like Vesta and are found in the plane of the solar system just like the asteroid\
9
+ \ belt. (D) The Oort cloud; short period comets tend to be in the plane of the solar\
10
+ \ system just like the Oort cloud.\nA: Let's think step by step. Most short-period\
11
+ \ comets come from the Kuiper belt, and we know because short period coments tend\
12
+ \ to be in the plane of the solar system, just like the Kuiper belt is. The answer\
13
+ \ is (A).\n\nQ: You are pushing a truck along a road. Would it be easier to accelerate\
14
+ \ this truck on Mars? Why? (Assume there is no friction)\n(A) It would be harder\
15
+ \ since the truck is heavier on Mars. (B) It would be easier since the truck is\
16
+ \ lighter on Mars. (C) It would be harder since the truck is lighter on Mars. (D)\
17
+ \ It would be the same no matter where you are.\nA: Let's think step by step. If\
18
+ \ we assume that there is no friction, the force needed to accelerate the truck\
19
+ \ is by Newton’s second law only dependent on the mass of the truck. Hence (A),\
20
+ \ (B) and (C) are incorrect since it doesn’t matter that it’s on Mars, and (D) is\
21
+ \ the correct answer. The answer is (D).\n\nQ: Say the pupil of your eye has a diameter\
22
+ \ of 5 mm and you have a telescope with an aperture of 50 cm. How much more light\
23
+ \ can the telescope gather than your eye?\n(A) 10000 times more (B) 100 times more\
24
+ \ (C) 1000 times more (D) 10 times more\nA: Let's think step by step. The amount\
25
+ \ of light is proportional to the aperture area $A = \\pi D^2/4$ for a lens with\
26
+ \ diameter $D$, so the relative amounts of light between the eye with diameter 5mm\
27
+ \ and the telescope with diameter 50mm is $(50 cm)^2/(5mm)^2 = 10000$. The answer\
28
+ \ is (A).\n\nQ: Why isn't there a planet where the asteroid belt is located?\n(A)\
29
+ \ A planet once formed here but it was broken apart by a catastrophic collision.\
30
+ \ (B) There was not enough material in this part of the solar nebula to form a planet.\
31
+ \ (C) There was too much rocky material to form a terrestrial planet but not enough\
32
+ \ gaseous material to form a jovian planet. (D) Resonance with Jupiter prevented\
33
+ \ material from collecting together to form a planet.\nA: Let's think step by step.\
34
+ \ The asteroid belt is a stellar disc consisting of a large number of asteroids\
35
+ \ between Mars and Jupiter's orbits. The asteroids in this belt are affected by\
36
+ \ the gravitational pull from both other asteroids and nearby planets. Due to the\
37
+ \ strong gravitational force of Jupiter there are resonances that give rise to low\
38
+ \ density regions of asteroids known as the Kirkwood gap. So (B) and (C) are not\
39
+ \ correct since it’s not a lack of material that prevents a planet from being formed,\
40
+ \ and (A) is incorrect because the Kirkwood gap would have prevented a planet from\
41
+ \ forming in the first place, and (D) is the correct option. The answer is (D).\n\
42
+ \nQ: Why is Mars red?\n(A) Because the surface is covered with heavily oxidized\
43
+ \ (\"rusted\") minerals. (B) Because the atmosphere scatters more light at bluer\
44
+ \ wavelengths transmitting mostly red light. (C) Because Mars is covered with ancient\
45
+ \ lava flows which are red in color. (D) Because flowing water on Mars's surface\
46
+ \ altered the surface minerals several billion years ago.\nA: Let's think step by\
47
+ \ step. Option (B) is not correct because if the red color was caused by the scattering\
48
+ \ off the atmosphere, then the earth with a much thicker atmosphere would also look\
49
+ \ red. Options (C) and (D) are not specific enough about why the color of the surface\
50
+ \ would be red, while (A) is correct because it explains that the surface is red\
51
+ \ due to the rusted materials on the surface and the red color comes from the rust.\
52
+ \ So the correct option is (A). The answer is (A).\n\n"
53
+ "group": "mmlu_flan_cot_fewshot_stem"
54
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
55
+ "task": "mmlu_flan_cot_fewshot_astronomy"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_business_ethics.yaml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "business_ethics"
2
+ "description": "The following are multiple choice questions (with answers) about business\
3
+ \ ethics.\n\nQ: In contrast to _______, _______ aim to reward favourable behaviour\
4
+ \ by companies. The success of such campaigns have been heightened through the use\
5
+ \ of ___________, which allow campaigns to facilitate the company in achieving _________\
6
+ \ .\n(A) Buycotts, Boycotts, Blockchain technology, Charitable donations (B) Buycotts,\
7
+ \ Boycotts, Digital technology, Increased Sales (C) Boycotts, Buyalls, Blockchain\
8
+ \ technology, Charitable donations (D) Boycotts, Buycotts, Digital technology, Increased\
9
+ \ Sales\nA: Let's think step by step. We refer to Wikipedia articles on business\
10
+ \ ethics for help. The sentence that best uses the possible options above is “In\
11
+ \ contrast to *boycotts*, *buycotts* aim to reward favourable behavior by companies.\
12
+ \ The success of such campaigns have been heightened through the use of *digital\
13
+ \ technology*, which allow campaigns to facilitate the company in achieving *increased\
14
+ \ sales*.” The answer is (D).\n\nQ: _______ is the direct attempt to formally or\
15
+ \ informally manage ethical issues or problems, through specific policies, practices\
16
+ \ and programmes.\n(A) Corporate social responsibility (B) Business ethics management\
17
+ \ (C) Sustainability (D) Environmental management\nA: Let's think step by step.\
18
+ \ We refer to Wikipedia articles on business ethics for help. The direct attempt\
19
+ \ manage ethical issues through specific policies, practices, and programs is business\
20
+ \ ethics management. The answer is (B).\n\nQ: Three contrasting tactics that CSO's\
21
+ \ can engage in to meet their aims are ________ which typically involves research\
22
+ \ and communication, ________, which may involve physically attacking a company's\
23
+ \ operations or ________, often involving some form of _______.\n(A) Non-violent\
24
+ \ direct action, Violent direct action, Indirect action, Boycott (B) Indirect action,\
25
+ \ Instrumental action, Non-violent direct action, Information campaign (C) Indirect\
26
+ \ action, Violent direct action, Non-violent direct-action Boycott (D) Non-violent\
27
+ \ direct action, Instrumental action, Indirect action, Information campaign\nA:\
28
+ \ Let's think step by step. We refer to Wikipedia articles on business ethics for\
29
+ \ help. The sentence that best uses the possible options above is “Three contrasting\
30
+ \ tactics that CSO's can engage in to meet their aims are *indirect action*, which\
31
+ \ typically involves research and communication, *violent direct action*, which\
32
+ \ may involve physically attacking a company's operations or *non-violent direct\
33
+ \ action*, often involving some form of *boycott*.” The answer is (C).\n\nQ: To\
34
+ \ ensure the independence of the non-executive board members, there are a number\
35
+ \ of steps which can be taken, which include non-executives being drawn from _______\
36
+ \ the company, being appointed for a _________ time period as well as being appointed\
37
+ \ _________.\n(A) Outside, Limited, Independently (B) Inside, Limited, Intermittently\
38
+ \ (C) Outside, Unlimited, Intermittently (D) Inside, Unlimited, Independently\n\
39
+ A: Let's think step by step. We refer to Wikipedia articles on business ethics for\
40
+ \ help. The sentence that best uses the possible options above is “To ensure the\
41
+ \ independence of the non-executive board members, there are a number of steps which\
42
+ \ can be taken, which include non-executives being draw from *outside* the company,\
43
+ \ being appointed for a *limited* time period as well as being imported *independently*.\
44
+ \ The answer is (A).\n\nQ: Beyond the business case for engaging in CSR there are\
45
+ \ a number of moral arguments relating to: negative _______, the _______that corporations\
46
+ \ possess and the ________ of business and society.\n(A) Externalities, Power, Independence\
47
+ \ (B) Publicity, Insubstantial resources, Mutual dependence (C) Publicity, Power,\
48
+ \ Independence (D) Externalities, Power, Mutual dependence\nA: Let's think step\
49
+ \ by step. We refer to Wikipedia articles on business ethics for help. The sentence\
50
+ \ that best uses the possible options above is “Beyond the business case for engaging\
51
+ \ the CSR there are a number of moral arguments relating to: negative *externalities*,\
52
+ \ the *power* that corporations possess and the *mutual independence* of business\
53
+ \ and society. The answer is (D).\n\n"
54
+ "group": "mmlu_flan_cot_fewshot_other"
55
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
56
+ "task": "mmlu_flan_cot_fewshot_business_ethics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_clinical_knowledge.yaml ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "clinical_knowledge"
2
+ "description": "The following are multiple choice questions (with answers) about clinical\
3
+ \ knowledge.\n\nQ: Glycolysis is the name given to the pathway involving the conversion\
4
+ \ of:\n(A) glycogen to glucose-1-phosphate. (B) glycogen or glucose to fructose.\
5
+ \ (C) glycogen or glucose to pyruvate or lactate. (D) glycogen or glucose to pyruvate\
6
+ \ or acetyl CoA.\nA: Let's think step by step. We refer to Wikipedia articles on\
7
+ \ clinical knowledge for help. Glycolysis is the name given to the pathway involving\
8
+ \ conversion of glycogen or glucose to pyruvate or lactate. The answer is (C).\n\
9
+ \nQ: What is the difference between a male and a female catheter?\n(A) Male and\
10
+ \ female catheters are different colours. (B) Male catheters are longer than female\
11
+ \ catheters. (C) Male catheters are bigger than female catheters. (D) Female catheters\
12
+ \ are longer than male catheters.\nA: Let's think step by step. We refer to Wikipedia\
13
+ \ articles on clinical knowledge for help. The difference between a male and female\
14
+ \ catheter is that male catheters tend to be longer than female catheters. The answer\
15
+ \ is (B).\n\nQ: How many attempts should you make to cannulate a patient before\
16
+ \ passing the job on to a senior colleague, according to the medical knowledge of\
17
+ \ 2020?\n(A) 4 (B) 3 (C) 2 (D) 1\nA: Let's think step by step. We refer to Wikipedia\
18
+ \ articles on clinical knowledge for help. According to the medical protocol as\
19
+ \ of 2020, you should make two attempts to cannulate a patient before passing the\
20
+ \ job on to a more-senior practitioner. The answer is (C).\n\nQ: In the assessment\
21
+ \ of the hand function which of the following is true?\n(A) Abduction of the thumb\
22
+ \ is supplied by spinal root T2 (B) Opposition of the thumb by opponens policis\
23
+ \ is supplied by spinal root T1 (C) Finger adduction is supplied by the median nerve\
24
+ \ (D) Finger abduction is mediated by the palmar interossei\nA: Let's think step\
25
+ \ by step. We refer to Wikipedia articles on clinical knowledge for help. Of all\
26
+ \ the options, it is only true that the opposition of the thumb by opponens pollicis\
27
+ \ is supplied by spinal root T1. The answer is (B).\n\nQ: The energy for all forms\
28
+ \ of muscle contraction is provided by:\n(A) ATP. (B) ADP. (C) phosphocreatine.\
29
+ \ (D) oxidative phosphorylation.\nA: Let's think step by step. We refer to Wikipedia\
30
+ \ articles on clinical knowledge for help. The energy for muscular contraction is\
31
+ \ provided by ATP (adenosine triphosphate), which is the powerhouse of the cell.\
32
+ \ The answer is (A).\n\n"
33
+ "group": "mmlu_flan_cot_fewshot_other"
34
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
35
+ "task": "mmlu_flan_cot_fewshot_clinical_knowledge"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_biology.yaml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "college_biology"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ biology.\n\nQ: Which of the following represents an accurate statement concerning\
4
+ \ arthropods?\n(A) They possess an exoskeleton composed primarily of peptidoglycan.\
5
+ \ (B) They possess an open circulatory system with a dorsal heart. (C) They are\
6
+ \ members of a biologically unsuccessful phylum incapable of exploiting diverse\
7
+ \ habitats and nutrition sources. (D) They lack paired, jointed appendages.\nA:\
8
+ \ Let's think step by step. Peptidoglycan is known to comprise the plasma membrane\
9
+ \ of most bacteria, rather than the exoskeleton of arthropods, which is made of\
10
+ \ chitin, which rules out (A). The answer (C) is false because arthropods are a\
11
+ \ highly successful phylum. Likewise, arthropods have paired, jointed appendages,\
12
+ \ which rules out (D). The only remaining option is (B), as arthropods have an open\
13
+ \ circulatory system with a dorsal tubular heart. The answer is (B).\n\nQ: In a\
14
+ \ given population, 1 out of every 400 people has a cancer caused by a completely\
15
+ \ recessive allele, b. Assuming the population is in Hardy-Weinberg equilibrium,\
16
+ \ which of the following is the expected proportion of individuals who carry the\
17
+ \ b allele but are not expected to develop the cancer?\n(A) 1/400 (B) 19/400 (C)\
18
+ \ 20/400 (D) 38/400\nA: Let's think step by step. According to the Hardy Weinberg\
19
+ \ Law, $p^2 + 2 p q + q^2 = 1$, and $p + q = 1$ where $p$ is the frequency of the\
20
+ \ dominant allele, $q$ is the frequency of the recessive allele, and $p^2$, $q^2$,\
21
+ \ and $2pq$ are the frequencies of dominant homozygous, recessive homozygous, and\
22
+ \ heterozygous individuals, respectively. ​The frequency of the recessive allele\
23
+ \ (q) is $\\sqrt{\frac{1}{400}} = 0.05$. We have $p = 1 - q = 0.95$. The frequency\
24
+ \ of heterozygous individuals is $2pq = 2 \\cdot 0.05 \\cdot 0.95 = 0.095$. The\
25
+ \ number of heterozygous individuals is equal to the frequency of heterozygous individuals\
26
+ \ times the size of the population, or $0.095 * 400 = 38$. So we end up with 38/400.\
27
+ \ The answer is (D).\n\nQ: According to the pressure-flow model of movement of phloem\
28
+ \ contents, photosynthate movement from source to sink is driven by\n(A) an ATP-dependent\
29
+ \ pressure-flow pump (B) a water-pressure potential gradient (C) transpiration (D)\
30
+ \ apoplastic diffusion\nA: Let's think step by step. It is a gradient in water pressure\
31
+ \ that induces the movement of phloem content, which refers to answer (B). The mechanism\
32
+ \ of movement does not rely on metabolism, which rules out (A). Transpiration refers\
33
+ \ to the exhalation of water vapor through plant stomata, and is also not related,\
34
+ \ which rules out (C). While the apoplastic pathway is one of two main pathways\
35
+ \ for water transport in plants, it is not central to the pressure flow model, which\
36
+ \ rules out (D). The answer is (B).\n\nQ: Which of the following contain DNA sequences\
37
+ \ required for the segregation of chromosomes in mitosis and meiosis?\n(A) Telomeres\
38
+ \ (B) Centromeres (C) Nucleosomes (D) Spliceosomes\nA: Let's think step by step.\
39
+ \ The genetic material in Telomeres is not used, which rules out (A). Nucleosomes\
40
+ \ are the repeating subunit that comprises chromatin packed in a cell nucleus, and\
41
+ \ do not specifically refer to DNA sequences necessary for segregating chromosomes\
42
+ \ in cell division, which rules out (C). A spliceosome is a large ribonucleoprotein\
43
+ \ that removes introns from transcribed pre-mRNA rather than governing chromosome\
44
+ \ segregation. Centromeres are directly responsible for segregating chromosomes\
45
+ \ in cell division. The answer is (B).\n\nQ: The presence of homologous structures\
46
+ \ in two different organisms, such as the humerus in the front limb of a human and\
47
+ \ a bird, indicates that\n(A) the human and bird are polyphyletic species (B) a\
48
+ \ human's and bird's evolution is convergent (C) the human and bird belong to a\
49
+ \ clade (D) the human and bird developed by analogy\nA: Let's think step by step.\
50
+ \ Polyphyletic species are organisms that are grouped due to having similar characteristics\
51
+ \ but which do not have a common ancestor. This is not the case for humans and birds,\
52
+ \ which rules out (A). Convergent evolution refers to the indepdendent development\
53
+ \ of similar features in different species at different periods, which is also not\
54
+ \ the case for humans and birds, which rules out (B). Analogy refers to the superficial\
55
+ \ resemblance of structures that have different origins, which is not the case for\
56
+ \ the human and bird forearms, which rules out (D). Humans and birds do belong to\
57
+ \ the same clade - a group of organisms composed of a common ancestor. The answer\
58
+ \ is (C).\n\n"
59
+ "group": "mmlu_flan_cot_fewshot_stem"
60
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
61
+ "task": "mmlu_flan_cot_fewshot_college_biology"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_computer_science.yaml ADDED
@@ -0,0 +1,79 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "college_computer_science"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ computer science.\n\nQ: Which of the following regular expressions is equivalent\
4
+ \ to (describes the same set of strings as) (a* + b)*(c + d)?\n(A) a*(c + d)+ b(c\
5
+ \ + d)\n(B) a*(c + d)* + b(c + d)*\n(C) a*(c + d)+ b*(c + d)\n(D) (a + b)*c +(a\
6
+ \ + b)*d\nA: Let's think step by step. We know that:\n1. (X* + Y)* = (X + Y)*\n\
7
+ 2. X(Y + Z)? = XY + XZ\nUsing equation 1 we can rewrite (a* + b)*(c + d)? as:\n\
8
+ 3. (a + b)*(c + d)?\nUsing equation 2 we can rewrite equation 3 as:\n(a + b)*c +\
9
+ \ (a + b)*d The answer is (D).\n\nQ: The Singleton design pattern is used to guarantee\
10
+ \ that only a single instance of a class may be instantiated. Which of the following\
11
+ \ is (are) true of this design pattern?\nI. The Singleton class has a static factory\
12
+ \ method to provide its instance.\nII. The Singleton class can be a subclass of\
13
+ \ another class.\nIII. The Singleton class has a private constructor.\n(A) I only\n\
14
+ (B) II only\n(C) III only\n(D) I, II, and III\nA: Let's think step by step. Statement\
15
+ \ I is a correct statement about a Singleton, because a Singleton restricts instantiation\
16
+ \ to a single, static method. Statement II is also correct, because there is no\
17
+ \ inherent restriction regarding the inheritance of a Singleton. Statement III is\
18
+ \ also correct, because a Singletons must be instantiated only once, so its constructor\
19
+ \ is made private to prevent any construction except via its static factory method.\n\
20
+ Given these facts, statements I, II, and III are all correct. The answer is (D).\n\
21
+ \nQ: A certain pipelined RISC machine has 8 general-purpose registers R0, R1, .\
22
+ \ . . , R7 and supports the following operations:\nADD Rs1, Rs2, Rd (Add Rs1 to\
23
+ \ Rs2 and put the sum in Rd)\nMUL Rs1, Rs2, Rd (Multiply Rs1 by Rs2 and put the\
24
+ \ product in Rd)\nAn operation normally takes one cycle; however, an operation takes\
25
+ \ two cycles if it produces a result required by the immediately following operation\
26
+ \ in an operation sequence.\nConsider the expression AB + ABC + BC, where variables\
27
+ \ A, B, C are located in registers R0, R1, R2. If the contents of these three registers\
28
+ \ must not be modified, what is the minimum number of clock cycles required for\
29
+ \ an operation sequence that computes the value of AB + ABC + BC?\n(A) 5 (B) 6 (C)\
30
+ \ 7 (D) 8\nA: Let's think step by step. First, we are given that A is in R0, B is\
31
+ \ in R1, and C is in R2.\nNext, we can see that we must compute three multiplies\
32
+ \ (AB, BC, and ABC) and two adds (AB + ABC, (AB + ABC) + BC) to compute our final\
33
+ \ answer, resulting in a minimum of five clock cycles.\nNext, we can see that there\
34
+ \ is no way to avoid at least one pipeline stall when computing our final answer,\
35
+ \ because to compute our final sum we must wait at least one cycle for the results\
36
+ \ from the previous stage to be ready. Thus, our minimum number of cycles must be\
37
+ \ 6.\nWe can verify that we can create a solution that requires only six cycles\
38
+ \ as follows:\ncompute AB: MUL R0, R1, R3\ncompute BC: MUL R1, R2, R4\ncompute ABC:\
39
+ \ MUL R3, R4, R5\ncompute AB + BC: ADD R3, R4, R6\nSTALL\ncompute AB + ABC + BC:\
40
+ \ ADD R5, R6, R7\nSo there are 6 cycles. The answer is (B).\n\nQ: A compiler generates\
41
+ \ code for the following assignment statement.\nG := (A + B) * C - (D + E) * F\n\
42
+ The target machine has a single accumulator and a single-address instruction set\
43
+ \ consisting of instructions load, store, add, subtract, and multiply. For the arithmetic\
44
+ \ operations, the left operand is taken from the accumulator and the result appears\
45
+ \ in the accumulator. The smallest possible number of instructions in the resulting\
46
+ \ code is\n(A) 5 (B) 6 (C) 7 (D) 9\nA: Let's think step by step. We can compute\
47
+ \ the final answer with the following sequence of operations:\n1. LOAD D (accumulator\
48
+ \ = D)\n2. ADD E (accumulator = D+E)\n3. MUL F (accumulator = (D+E)*F)\n4. STORE\
49
+ \ X (X = (D+E)*F)\n5. LOAD A (accumulator = A)\n6. ADD B (accumulator = A+B)\n\
50
+ 7. MUL C (accumulator = (A+B)*C)\n8. SUB X (accumulator = (A+B)*C - (D+E)*F)\n\
51
+ 9. STORE G (G = (A+B)*C - (D+E)*F)\nThis sequence takes 9 instructions. The answer\
52
+ \ is (D).\n\nQ: Consider a computer design in which multiple processors, each with\
53
+ \ a private cache memory, share global memory using a single bus. This bus is the\
54
+ \ critical system resource. Each processor can execute one instruction every 500\
55
+ \ nanoseconds as long as memory references are satisfied by its local cache. When\
56
+ \ a cache miss occurs, the processor is delayed for an additional 2,000 nanoseconds.\
57
+ \ During half of this additional delay, the bus is dedicated to serving the cache\
58
+ \ miss. During the other half, the processor cannot continue, but the bus is free\
59
+ \ to service requests from other processors. On average, each instruction requires\
60
+ \ 2 memory references. On average, cache misses occur on 1 percent of references.\
61
+ \ What proportion of the capacity of the bus would a single processor consume, ignoring\
62
+ \ delays due to competition from other processors?\n(A) 1/50 (B) 1/27 (C) 1/25 (D)\
63
+ \ 2/27\nA: Let's think step by step. We know that each instruction requires two\
64
+ \ memory references per instruction, and that there is an average cache miss rate\
65
+ \ of one percent.\nThus a given processor has:\n(1 cache miss / 100 references)\
66
+ \ * (2 references / instruction) =\n(2 cache misses / 100 instructions), so:\nmisses_per_instruction\
67
+ \ = 1 cache miss / 50 instructions.\nNext, we know that each instruction requires\
68
+ \ 500 nanoseconds when there is no cache miss, and 500 + 2000 = 2500 nanoseconds\
69
+ \ when there is a cache miss. Thus:\n50 instructions / (49 * 500) + (1 * 2500) nanoseconds,\
70
+ \ so:\ninstructions_per_ns = 50 instructions / 27000 nanoseconds.\nNow, we know\
71
+ \ that each cache miss locks the bus for half of the 2000 nanosecond cache miss\
72
+ \ delay, or 1000 nanoseconds, so:\nlock_ns_per_miss = 1000 nanoseconds / cache miss.\n\
73
+ Thus we can see that on average a single processor will lock the bus for:\nlock_ns_per_miss\
74
+ \ * misses_per_instruction * instructions_per_ns =\n(1000 nanoseconds / cache miss)\
75
+ \ * (1 cache miss / 50 instructions) * (50 instructions / 27000 nanoseconds) = 1000\
76
+ \ * (1/50) * (50/27000) = 1000/27000 = 1/27. The answer is (B).\n\n"
77
+ "group": "mmlu_flan_cot_fewshot_stem"
78
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
79
+ "task": "mmlu_flan_cot_fewshot_college_computer_science"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_mathematics.yaml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "college_mathematics"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ mathematics.\n\nQ: Let V be the set of all real polynomials p(x). Let transformations\
4
+ \ T, S be defined on V by T:p(x) -> xp(x) and S:p(x) -> p'(x) = d/dx p(x), and interpret\
5
+ \ (ST)(p(x)) as S(T(p(x))). Which of the following is true?\n(A) ST = 0 (B) ST =\
6
+ \ T (C) ST = TS (D) ST - TS is the identity map of V onto itself.\nA: Let's think\
7
+ \ step by step. For a given polynomial $p$ we have\n\\[ST(p) = (xp(x))’ = p(x) +\
8
+ \ xp’(x)\\]\nand\n\\[TS(p) = xp’(x).\\]\nHence \\[ST(p) - TS(p) = p(x) + xp’(x)\
9
+ \ - xp’(x).\\] The answer is (D).\n\nQ: Suppose that f(1 + x) = f(x) for all real\
10
+ \ x. If f is a polynomial and f(5) = 11, then f(15/2)\n(A) -11 (B) 0 (C) 11 (D)\
11
+ \ 33/2\nA: Let's think step by step. The only polynomial so that $f(1 + x) = f(x)$\
12
+ \ is a constant polynomial. Hence $f(5) = 11 = f(15/2)$. The answer is (C).\n\n\
13
+ Q: Let A be a real 2x2 matrix. Which of the following statements must be true?\n\
14
+ I. All of the entries of A^2 are nonnegative.\nII. The determinant of A^2 is nonnegative.\n\
15
+ III. If A has two distinct eigenvalues, then A^2 has two distinct eigenvalues.\n\
16
+ (A) I only (B) II only (C) III only (D) II and III only\nA: Let's think step by\
17
+ \ step. We have \\[ det(A^2) = (det(A))^2 \\geq 0,\\] hence II holds.\nIII is false:\
18
+ \ as a counterexample take a diagonal matrix with -1 and 1 on the diagonal. Then\
19
+ \ $A^2$ is the identity matrix. The answer is (B).\n\nQ: Let A be the set of all\
20
+ \ ordered pairs of integers (m, n) such that 7m + 12n = 22. What is the greatest\
21
+ \ negative number in the set B = {m + n : (m, n) \\in A}?\n(A) -5 (B) -4 (C) -3\
22
+ \ (D) -2\nA: Let's think step by step. We have 12n = 22 - 7m and one of the solutions\
23
+ \ is $m = -2$, $n = 3$. Then $m + n = 1$, hence we need to look for smaller $m$\
24
+ \ in order to make $m + n$ negative. The next solution is $m = -14$ and $n = 10$.\
25
+ \ For smaller $m$ we have $m + n$ smaller than $-4$. The answer is (B).\n\nQ: A\
26
+ \ tank initially contains a salt solution of 3 grams of salt dissolved in 100 liters\
27
+ \ of water. A salt solution containing 0.02 grams of salt per liter of water is\
28
+ \ sprayed into the tank at a rate of 4 liters per minute. The sprayed solution is\
29
+ \ continually mixed with the salt solution in the tank, and the mixture flows out\
30
+ \ of the tank at a rate of 4 liters per minute. If the mixing is instantaneous,\
31
+ \ how many grams of salt are in the tank after 100 minutes have elapsed?\n(A) 2\
32
+ \ (B) 2 - e^-2 (C) 2 + e^-2 (D) 2 + e^-4\nA: Let's think step by step. For all $t\
33
+ \ \\in \\mathbb{R}$, let $s(t)$ denote the number grams of salt in the tank at the\
34
+ \ $t$ minute mark. Then $s(0) = 3$.\nWe use $s$ and $s(t)$ interchangeably. We also\
35
+ \ use $s^{\\prime}$ and $s^{\\prime}(t)$ interchangeably. The solution sprayed into\
36
+ \ the tank adds $(0.02) 4=2 / 25$ grams of salt per minute. There are always 100\
37
+ \ liters of liquid in the tank, containing $s$ grams of salt. So the density of\
38
+ \ salt in the tank is $s / 100$ grams per liter. The flow of water out of the tank\
39
+ \ therefore subtracts $4(s / 100)=s / 25$ grams of salt per minute. Then, for all\
40
+ \ $t \\in \\mathbb{R}$, we have $s^{\\prime}(t)=(2 / 25)-(s / 25)=(2-s) / 25$, and\
41
+ \ so $[s(t)=2] \\Rightarrow\\left[s^{\\prime}(t)=0\right]$. For all $t \\in \\mathbb{R}$,\n\
42
+ $$\n\frac{d}{d t}[\\ln (s-2)]=\frac{s^{\\prime}}{s-2}=\frac{-1}{25}=\frac{d}{d t}\\\
43
+ left[-\frac{t}{25}\right] .\n$$\nChoose $C \\in \\mathbb{R}$ such that, for all\
44
+ \ $t \\in \\mathbb{R}, \\ln ((s(t)-2))=-[t / 25]+C$. Let $K:=e^{C}$. Then, for all\
45
+ \ $t \\in \\mathbb{R}$, we have $(s(t))-2=K e^{-t / 25}$, and so $s(t)=2+K e^{-t\
46
+ \ / 25}$. Then $3=s(0)=2+K e^{0}=2+K$, so $K=1$. Then $s(100)=2+K e^{-100 / 25}=2+1\
47
+ \ \\cdot e^{-4}=2+e^{-4}$. The answer is (D).\n\n"
48
+ "group": "mmlu_flan_cot_fewshot_stem"
49
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
50
+ "task": "mmlu_flan_cot_fewshot_college_mathematics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_medicine.yaml ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "college_medicine"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ medicine.\n\nQ: An expected side effect of creatine supplementation is:\n(A) muscle\
4
+ \ weakness. (B) gain in body mass. (C) muscle cramps. (D) loss of electrolytes.\n\
5
+ A: Let's think step by step. We refer to Wikipedia articles on medicine for help.\
6
+ \ Creatine supplementation is a dietary supplement that results in body mass gain.\
7
+ \ The answer is (B).\n\nQ: Which of the following is not a true statement?\n(A)\
8
+ \ Muscle glycogen is broken down enzymatically to glucose-1-phosphate (B) Elite\
9
+ \ endurance runners have a high proportion of Type I fibres in their leg muscles\
10
+ \ (C) Liver glycogen is important in the maintenance of the blood glucose concentration\
11
+ \ (D) Insulin promotes glucose uptake by all tissues in the body\nA: Let's think\
12
+ \ step by step. We refer to Wikipedia articles on medicine for help. Let’s solve\
13
+ \ this step by step and go over each choice: \n(A) “Muscle glycogen is broken down\
14
+ \ enzymatically to glucose-1-phosphate”: This is a correct statement.\n(B) “Elite\
15
+ \ endurance runners have a high proportion of Type I fibres in their leg muscles”:\
16
+ \ This is a correct statement.\n(C) “Liver glycogen is important in the maintenance\
17
+ \ of the blood glucose concentration”: This is a correct statement. \n(D) “Insulin\
18
+ \ promotes glucose uptake by all tissues in the body”: This is not a correct statement,\
19
+ \ because insulin promotes glucose uptake by the liver, adipose tissue, and muscle,\
20
+ \ but not all tissues. For instance, the tissues in the brain and red blood cells\
21
+ \ are not affected by insulin. The answer is (D).\n\nQ: A high school science teacher\
22
+ \ fills a 1 liter bottle with pure nitrogen and seals the lid. The pressure is 1.70\
23
+ \ atm, and the room temperature is 25°C. Which two variables will both increase\
24
+ \ the pressure of the system, if all other variables are held constant?\n(A) Increasing\
25
+ \ temperature, increasing moles of gas (B) Increasing temperature, increasing volume\
26
+ \ (C) Decreasing volume, decreasing temperature (D) Decreasing moles of gas, increasing\
27
+ \ volume\nA: Let's think step by step. We refer to Wikipedia articles on medicine\
28
+ \ for help. The relevant equation for this is the ideal gas law: PV=nRT. To increase\
29
+ \ the pressure of the system (P), then either n (number of moles of the gas) or\
30
+ \ T (temperature) have to increase. The answer is (A).\n\nQ: In a genetic test of\
31
+ \ a newborn, a rare genetic disorder is found that has X-linked recessive transmission.\
32
+ \ Which of the following statements is likely true regarding the pedigree of this\
33
+ \ disorder?\n(A) All descendants on the maternal side will have the disorder. (B)\
34
+ \ Females will be approximately twice as affected as males in this family. (C) All\
35
+ \ daughters of an affected male will be affected. (D) There will be equal distribution\
36
+ \ of males and females affected.\nA: Let's think step by step. We refer to Wikipedia\
37
+ \ articles on medicine for help. Let’s solve this step by step. Let's recall first\
38
+ \ that females have two X chromosomes, while males have one X and one Y chromosome.\
39
+ \ This is an important fact we need to know before answering this question. \nBecause\
40
+ \ a male can only pass his only one X chromosome to a daughter, if he is affected\
41
+ \ by this rare genetic disorder, then we know for sure that he will pass this rare\
42
+ \ genetic disorder to all his future-born daughters. Therefore, “(C): All daughters\
43
+ \ of an affected male will be affected” is a correct statement. The answer is (C).\n\
44
+ \nQ: Glucose is transported into the muscle cell:\n(A) via protein transporters\
45
+ \ called GLUT4. (B) only in the presence of insulin. (C) via hexokinase. (D) via\
46
+ \ monocarbylic acid transporters.\nA: Let's think step by step. We refer to Wikipedia\
47
+ \ articles on medicine for help. Glucose (also known as the blood sugar) is the\
48
+ \ main sugar found in the human body. It is transported into the muscle cell via\
49
+ \ diffusion through protein transporters called GLUT4. The answer is (A).\n\n"
50
+ "group": "mmlu_flan_cot_fewshot_other"
51
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
52
+ "task": "mmlu_flan_cot_fewshot_college_medicine"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_physics.yaml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "college_physics"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ physics.\n\nQ: A refracting telescope consists of two converging lenses separated\
4
+ \ by 100 cm. The eye-piece lens has a focal length of 20 cm. The angular magnification\
5
+ \ of the telescope is\n(A) 4 (B) 5 (C) 6 (D) 20\nA: Let's think step by step. In\
6
+ \ a refracting telescope, if both lenses are converging, the focus of both lenses\
7
+ \ must be between the two lenses, and thus the focal lengths of the two lenses must\
8
+ \ add up to their separation. Since the focal length of one lens is 20 cm, the focal\
9
+ \ length of the other must be 80 cm. The magnification is the ratio of these two\
10
+ \ focal lengths, or 4. The answer is (A).\n\nQ: The muon decays with a characteristic\
11
+ \ lifetime of about 10^-6 second into an electron, a muon neutrino, and an electron\
12
+ \ antineutrino. The muon is forbidden from decaying into an electron and just a\
13
+ \ single neutrino by the law of conservation of\n(A) charge (B) mass (C) energy\
14
+ \ and momentum (D) lepton number\nA: Let's think step by step. Lepton number must\
15
+ \ be conserved, meaning the total number of leptons minus the number of antileptons.\
16
+ \ If a muon decays into an electron and a single neutrino, the total lepton number\
17
+ \ would go from one to two, violating lepton number conservation. The answer is\
18
+ \ (D).\n\nQ: One end of a Nichrome wire of length 2L and cross-sectional area A\
19
+ \ is attached to an end of another Nichrome wire of length L and cross- sectional\
20
+ \ area 2A. If the free end of the longer wire is at an electric potential of 8.0\
21
+ \ volts, and the free end of the shorter wire is at an electric potential of 1.0\
22
+ \ volt, the potential at the junction of the two wires is most nearly equal to\n\
23
+ (A) 2.4 V (B) 3.3 V (C) 4.5 V (D) 5.7 V\nA: Let's think step by step. This is a\
24
+ \ simple voltage divider problem, where the longer wire has a resistance four times\
25
+ \ that of the shorter end. So the voltage divider ratio is 1 / 5, meaning that the\
26
+ \ potential in the middle is 1.0 V + (8.0 V - 1.0 V) * 1/5 = 2.4 V. The answer is\
27
+ \ (A).\n\nQ: A refracting telescope consists of two converging lenses separated\
28
+ \ by 100 cm. The eye-piece lens has a focal length of 20 cm. The angular magnification\
29
+ \ of the telescope is\n(A) 4 (B) 5 (C) 6 (D) 20\nA: Let's think step by step. In\
30
+ \ a refracting telescope, if both lenses are converging, the focus of both lenses\
31
+ \ must be between the two lenses, and thus the focal lengths of the two lenses must\
32
+ \ add up to their separation. Since the focal length of one lens is 20 cm, the focal\
33
+ \ length of the other must be 80 cm. The magnification is the ratio of these two\
34
+ \ focal lengths, or 4. The answer is (A).\n\nQ: For which of the following thermodynamic\
35
+ \ processes is the increase in the internal energy of an ideal gas equal to the\
36
+ \ heat added to the gas?\n(A) Constant temperature (B) Constant volume (C) Constant\
37
+ \ pressure (D) Adiabatic\nA: Let's think step by step. Heat added to the gas can\
38
+ \ go into the gases internal energy or work done against an external force. However,\
39
+ \ if the volume of the gas container is constant, no work will be done (since work\
40
+ \ is pressure times change in volume). So, at constant volume, all of the heat goes\
41
+ \ into the internal energy. The answer is (B).\n\n"
42
+ "group": "mmlu_flan_cot_fewshot_stem"
43
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
44
+ "task": "mmlu_flan_cot_fewshot_college_physics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_conceptual_physics.yaml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "conceptual_physics"
2
+ "description": "\nThe following are multiple choice questions (with answers) about\
3
+ \ conceptual physics.\n\nQ: Colors in a soap bubble result from light\n(A) converted\
4
+ \ to a different frequency (B) deflection (C) interference (D) polarization\nA:\
5
+ \ Let's think step by step. In a soap bubble film, the light bounces between the\
6
+ \ two soap-air interfaces many times, interfering with itself constructively or\
7
+ \ destructively depending on the width of the film. This results in different colors\
8
+ \ being visible. The answer is (C).\n\nQ: Compared with the mass of a uranium atom\
9
+ \ undergoing fission, the combined masses of the products after fission are\n(A)\
10
+ \ less (B) more (C) the same (D) zero\nA: Let's think step by step. Fission releases\
11
+ \ energy, which comes from the rest mass of its initial nucleus. Thus the mass of\
12
+ \ the products is less than the mass of the reactant uranium nucleus. The answer\
13
+ \ is (A).\n\nQ: Things that are equivalent according to the equivalence principle\
14
+ \ are\n(A) space and time. (B) a traveling twin and a stay-at-home twin. (C) gravity\
15
+ \ and acceleration. (D) mass and energy.\nA: Let's think step by step. Einstein’s\
16
+ \ famous equivalence principle states that gravity and acceleration are equivalent.\
17
+ \ The answer is (C).\n\nQ: Which of these three elements has the most mass per nucleon?\n\
18
+ (A) Hydrogen (B) Iron (C) Uranium (D) Same in each\nA: Let's think step by step.\
19
+ \ Due to nuclear binding energy, the mass of an atomic nucleus is less than the\
20
+ \ sum of individual masses of the free constituent protons and neutrons; this is\
21
+ \ known as the mass defect. Hydrogen has no mass defect because it has only a single\
22
+ \ nucleon, so it will have the most mass per nucleon. The answer is (A).\n\nQ: A\
23
+ \ model airplane flies slower when flying into the wind and faster with wind at\
24
+ \ its back. When launched at right angles to the wind a cross wind its groundspeed\
25
+ \ compared with flying in still air is\n(A) the same (B) greater (C) less (D) either\
26
+ \ greater or less depending on wind speed\nA: Let's think step by step. The plane’s\
27
+ \ speed in the direction of the wind is greater than it would be in the absence\
28
+ \ of wind, and its direction orthogonal to the wind is the same as it would be in\
29
+ \ the absence of the wind. The total speed, which is these two components added\
30
+ \ in quadrature, is thus greater than the speed in still air. The answer is (B).\n\n"
31
+ "group": "mmlu_flan_cot_fewshot_stem"
32
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
33
+ "task": "mmlu_flan_cot_fewshot_conceptual_physics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_econometrics.yaml ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "econometrics"
2
+ "description": "The following are multiple choice questions (with answers) about econometrics.\n\
3
+ \nQ: Suppose now that a researcher wishes to use information criteria to determine\
4
+ \ the optimal lag length for a VAR. 500 observations are available for the bi-variate\
5
+ \ VAR, and the values of the determinant of the variance-covariance matrix of residuals\
6
+ \ are 0.0336, 0.0169, 0.0084, and 0.0062 for 1, 2, 3, and 4 lags respectively. What\
7
+ \ is the optimal model order according to Akaike's information criterion?\n(A) 1\
8
+ \ lag (B) 2 lags (C) 3 lags (D) 4 lags\nA: Let's think step by step. We refer to\
9
+ \ Wikipedia articles on econometrics for help. Let’s solve this problem step by\
10
+ \ step. First of all, let’s recall that for a given set of data, Akaike's information\
11
+ \ criterion (AIC) allows us to measure how well a statistical model fits the data;\
12
+ \ it is an estimator of prediction error. Here in this problem we will need to use\
13
+ \ the formula ln(det(sigma_hat)) + (2 * k / T) to determine the values of Akaike’s\
14
+ \ criterion, where ln denotes the natural log function, det the determinant function,\
15
+ \ k the total number of parameters in total (across both equations), and T the number\
16
+ \ of observations (which, in this case, is equal to 500). For 1 lag, the number\
17
+ \ of parameters in total is equal to 6; for 2 lags, it is 10; for 3 lags, it is\
18
+ \ 14; and for 4 lags, it is 18. Now, let’s calculate the values of the criterion\
19
+ \ for each lag:\n(A) 1 lag: ln(0.0336) + (2 * 6 / 500) = ln(0.0336) + (12 / 500)\
20
+ \ = -3.369\n(B) 2 lags: ln(0.0169) + (2 * 10 / 500) = ln(0.0169) + (20 / 500) =\
21
+ \ -4.040\n(C) 3 lags: ln(0.0084) + (2 * 14 / 500) = ln(0.0084) + (28 / 500) =-4.724\n\
22
+ (D) 4 lags: ln(0.0062) + (2 * 18 / 500) = ln(0.0062) + (36 / 500) =-5.011\nBecause\
23
+ \ the optimal model order according to AIC minimizes the information criterion,\
24
+ \ the answer should be the one with the lowest value. In this case, (D) has the\
25
+ \ lowest value. The answer is (C).\n\nQ: Consider the following AR(1) model with\
26
+ \ the disturbances having zero mean and unit variance\nyt = 0.2 + 0.4 yt-1 + ut\n\
27
+ The (unconditional) mean of y will be given by\n(A) 0.2 (B) 0.4 (C) 0.5 (D) 0.33\n\
28
+ A: Let's think step by step. We refer to Wikipedia articles on econometrics for\
29
+ \ help. Let’s solve this problem step by step. If we have a an AR(1) model with\
30
+ \ the disturbances having zero mean and unit variance, then the unconditional mean\
31
+ \ of y is equal to the following:\nunconditional mean of y = (the intercept term)\
32
+ \ / (1 - autoregressive coefficient)\nWe know that the intercept term is 0.2 and\
33
+ \ the autoregressive coefficient is 0.4; thus, we have:\nunconditional mean of y\
34
+ \ = (0.2) / (1 - 0.4) = (0.2) / (0.6) = 2 / 6 = 1 / 3, which is approximately 0.33.\
35
+ \ That means that the answer should be (D) 0.33. The answer is (D).\n\nQ: What would\
36
+ \ be then consequences for the OLS estimator if heteroscedasticity is present in\
37
+ \ a regression model but ignored?\n(A) It will be biased (B) It will be inconsistent\
38
+ \ (C) It will be inefficient (D) All of (a), (b) and (c) will be true.\nA: Let's\
39
+ \ think step by step. We refer to Wikipedia articles on econometrics for help. Heteroscedasticity\
40
+ \ refers to the condition where the variance of the error terms is not constant\
41
+ \ across multiple observations. If heteroscedasticity is present in a regression\
42
+ \ model, then the coefficient estimates in the OLS estimator will be not only unbiased\
43
+ \ and consistent but also inefficient. Because (A) and (B) are incorrect choices\
44
+ \ and (C) is a correct choice, (D) cannot be the right answer. Ultimately, (C) is\
45
+ \ the only true choice. The answer is (C).\n\nQ: Suppose that a test statistic has\
46
+ \ associated with it a p-value of 0.08. Which one of the following statements is\
47
+ \ true?\n(i) If the size of the test were exactly 8%, we would be indifferent between\
48
+ \ rejecting and not rejecting the null hypothesis\n(ii) The null would be rejected\
49
+ \ if a 10% size of test were used\n(iii) The null would not be rejected if a 1%\
50
+ \ size of test were used\n(iv) The null would be rejected if a 5% size of test were\
51
+ \ used.\n(A) (ii) and (iv) only (B) (i) and (iii) only (C) (i), (ii), and (iii)\
52
+ \ only (D) (i), (ii), (iii), and (iv).\nA: Let's think step by step. We refer to\
53
+ \ Wikipedia articles on econometrics for help. Let’s reason about each of the options.\n\
54
+ (i) is a true statement.\n(ii) is a true statement.\n(iii) is a true statement.\n\
55
+ (iv) is not a true statement. Thus, (i), (ii), and (iii) are true. The answer is\
56
+ \ (C).\n\nQ: For a stationary autoregressive process, shocks will\n(A) Eventually\
57
+ \ die away (B) Persist indefinitely (C) Grow exponentially (D) Never occur\nA: Let's\
58
+ \ think step by step. We refer to Wikipedia articles on econometrics for help. This\
59
+ \ is a formal logic problem about stationally process. For a stationary autoregressive\
60
+ \ process, shocks will eventually die away. The answer is (A).\n\n"
61
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
62
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
63
+ "task": "mmlu_flan_cot_fewshot_econometrics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_electrical_engineering.yaml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "electrical_engineering"
2
+ "description": "\nThe following are multiple choice questions (with answers) about\
3
+ \ electrical engineering.\n\nQ: A point pole has a strength of 4π * 10^-4 weber.\
4
+ \ The force in newtons on a point pole of 4π * 1.5 * 10^-4 weber placed at a distance\
5
+ \ of 10 cm from it will be\n(A) 15 N. (B) 20 N. (C) 7.5 N. (D) 3.75 N.\nA: Let's\
6
+ \ think step by step. The force between two point poles is given by m_1m_2/(mu_0\
7
+ \ 4 \\pi r^2), in analogy to Coulomb’s law. Plugging in the values given in the\
8
+ \ question, we calculate that the force is approximately 15 N. The answer is (A).\n\
9
+ \nQ: The coil of a moving coil meter has 100 turns, is 40 mm long and 30 mm wide.\
10
+ \ The control torque is 240*10-6 N-m on full scale. If magnetic flux density is\
11
+ \ 1Wb/m2 range of meter is\n(A) 1 mA. (B) 2 mA. (C) 3 mA. (D) 4 mA.\nA: Let's think\
12
+ \ step by step. The torque on a coil in a uniform magnetic field is given by BANI,\
13
+ \ where B is the magnetic flux density, A is the area of the coil, N is the number\
14
+ \ of turns, and I is the current. So we have that I = (Torque)/(BAN), or 240e-6/(1200e-6\
15
+ \ * 100 * 1) = 2e-3. The answer is (B).\n\nQ: In an SR latch built from NOR gates,\
16
+ \ which condition is not allowed\n(A) S=0, R=0 (B) S=0, R=1 (C) S=1, R=0 (D) S=1,\
17
+ \ R=1\nA: Let's think step by step. An SR latch is a set-reset latch; in the case\
18
+ \ where S=1 and R=1, the circuit has no stable state; instead a race condition will\
19
+ \ be produced within the circuit, so the device will be in an undefined state. So\
20
+ \ S=1, R=1 is an illegal input. The answer is (D).\n\nQ: Two long parallel conductors\
21
+ \ carry 100 A. If the conductors are separated by 20 mm, the force per meter of\
22
+ \ length of each conductor will be\n(A) 100 N. (B) 0.1 N. (C) 1 N. (D) 0.01 N.\n\
23
+ A: Let's think step by step. The magnetic force-per-length between two current-carrying\
24
+ \ conductors is given by \\mu_0 I_1 I_2 / (2 \\pi r), where $r$ is the separation\
25
+ \ distance and I_1 and I_2 are the currents. Plugging in 100 A for I_1 and I_2,\
26
+ \ and 20 mm for r, gives 0.1 N. The answer is (B).\n\nQ: In a 2 pole lap winding\
27
+ \ dc machine , the resistance of one conductor is 2Ω and total number of conductors\
28
+ \ is 100. Find the total resistance\n(A) 200Ω (B) 100Ω (C) 50Ω (D) 10Ω\nA: Let's\
29
+ \ think step by step. In lap winding, effectively two resistors are connected in\
30
+ \ parallel, so the actual resistance of each pair is 1 Ohm. Since we have 50 pairs,\
31
+ \ we get a total resistance of 50 Ohms. The answer is (C).\n\n"
32
+ "group": "mmlu_flan_cot_fewshot_stem"
33
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
34
+ "task": "mmlu_flan_cot_fewshot_electrical_engineering"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_elementary_mathematics.yaml ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "elementary_mathematics"
2
+ "description": "The following are multiple choice questions (with answers) about elementary\
3
+ \ mathematics.\n\nQ: Olivia used the rule \"Add 11\" to create the number pattern\
4
+ \ shown below. 10, 21, 32, 43, 54. Which statement about the number pattern is true?\n\
5
+ (A) The 10th number in the pattern will be an even number.\n(B) The number pattern\
6
+ \ will never have two even numbers next to each other.\n(C) The next two numbers\
7
+ \ in the pattern will be an even number then an odd number.\n(D) If the number pattern\
8
+ \ started with an odd number then the pattern would have only odd numbers in it.\n\
9
+ A: Let's think step by step. Choice A is incorrect because every even-numbered term\
10
+ \ in the pattern is odd, and 10 is an even number. Choice B is correct, because\
11
+ \ adding an odd number (in this case 11) to an odd number produces an even number,\
12
+ \ and adding an odd number to an even number produces an odd number. Thus the terms\
13
+ \ in the pattern will alternate between odd and even, so there will never be two\
14
+ \ even numbers next to each other. Choice C is incorrect because the last term in\
15
+ \ the example is even (54), and we know that the terms will alternate between even\
16
+ \ and odd. Choice D is incorrect because the terms in the pattern will alternate\
17
+ \ between odd and even, regardless of the value of the first term. The answer is\
18
+ \ (B).\n\nQ: The population of the city where Michelle was born is 145,826. What\
19
+ \ is the value of the 5 in the number 145,826?\n(A) 5 thousands\n(B) 5 hundreds\n\
20
+ (C) 5 tens\n(D) 5 ones\nA: Let's think step by step. Choice A is correct, because\
21
+ \ there are three digits following the 5, so\nthe 5 is in the thousands place. Thus\
22
+ \ the other choices are incorrect. The answer is (A).\n\nQ: A store sells 107 different\
23
+ \ colors of paint. They have 25 cans of each color in storage. The number of cans\
24
+ \ of paint the store has in storage can be found using the expression below. 107\
25
+ \ × 25. How many cans of paint does the store have in storage?\n(A) 749\n(B) 2,675\n\
26
+ (C) 2,945\n(D) 4,250\nA: Let's think step by step. We can calculate 107 x 25 = (100\
27
+ \ x 25) + (7 x 25) = 2500 + 175 = 2675. The answer is (B).\n\nQ: A total of 30 players\
28
+ \ will play basketball at a park. There will be exactly 5 players on each team.\
29
+ \ Which statement correctly explains how to find the number of teams needed?\n(A)\
30
+ \ Add 5 to 30 to find 35 teams.\n(B) Divide 30 by 5 to find 6 teams.\n(C) Multiply\
31
+ \ 30 and 5 to find 150 teams.\n(D) Subtract 5 from 30 to find 25 teams.\nA: Let's\
32
+ \ think step by step. We want to find the number of teams. We know that there are\
33
+ \ 5 players/team, and 30 players. Thus to get the number of teams we divide players\
34
+ \ by players/team, so 30 players / 5 players/team = 6 teams. The answer is (B).\n\
35
+ \nQ: Which expression is equivalent to 5 x 9?\n(A) (5 x 4) x (6 x 5)\n(B) (5 x 5)\
36
+ \ + (5 x 4)\n(C) (5 x 5) + (5 x 9)\n(D) (5 x 9) x (6 x 9)\nA: Let's think step by\
37
+ \ step. We know that 9 = (5 + 4), so 5 x 9 = 5 x (5 + 4) = (5 x 5) + (5 x 4). The\
38
+ \ answer is (B).\n\n"
39
+ "group": "mmlu_flan_cot_fewshot_stem"
40
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
41
+ "task": "mmlu_flan_cot_fewshot_elementary_mathematics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_formal_logic.yaml ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "formal_logic"
2
+ "description": "The following are multiple choice questions (with answers) about formal\
3
+ \ logic.\n\nQ: Which of the given formulas of PL is the best symbolization of the\
4
+ \ following sentence?\nTurtles live long lives and are happy creatures, unless they\
5
+ \ are injured.\n(A) (L • H) ≡ I (B) (L • H) ∨ I (C) L • (H ∨ I) (D) L • (H ⊃ R).\n\
6
+ A: Let's think step by step. We refer to Wikipedia articles on formal logic for\
7
+ \ help. Let’s solve this step by step. Let “L” denote “living long”, H “being happy”,\
8
+ \ and “I” “being injured”. Now, consider each choice:\n(A) means (living long AND\
9
+ \ being happy) is equivalent to (being injured). \n(B) means (living long AND being\
10
+ \ happy) OR (being injured). \n(C) means (living long) AND (being happy OR being\
11
+ \ injured). \n(D) means (living long) AND (being happy implies being R), but what\
12
+ \ R denotes is not clear.\nObviously, (B) is the best symbolization of the original\
13
+ \ sentence. The answer is (B).\n\nQ: Select the best translation into predicate\
14
+ \ logic.George borrows Hector's lawnmower. (g: George; h: Hector; l: Hector's lawnmower;\
15
+ \ Bxyx: x borrows y from z).\n(A) Blgh (B) Bhlg (C) Bglh (D) Bghl\nA: Let's think\
16
+ \ step by step. We refer to Wikipedia articles on formal logic for help. Let’s solve\
17
+ \ this step by step. We are told that “Bxyx” means “x borrows y from z”. We can\
18
+ \ rewrite “George borrows Hector's lawnmower” as “George borrows a lawnmower from\
19
+ \ Hector”, which can then be translated into predicate logic as “Bglh”. The answer\
20
+ \ “Bglh” appears in (C); therefore, (C) must be the correct answer. The answer is\
21
+ \ (C).\n\nQ: \nSelect the best English interpretation of the given arguments in\
22
+ \ predicate logic.\nDm\n(∀x)(Wx ⊃ ~Dx). \n(∀x)Wx ∨ Ag\t/ (∃x)Ax\n(A) Marina is a\
23
+ \ dancer. Some weaklings are not dancers. Either everything is a weakling or Georgia\
24
+ \ plays volleyball. So something plays volleyball. (B) Marina is a dancer. No weakling\
25
+ \ is a dancer. Everything is either a weakling or plays volleyball. So something\
26
+ \ plays volleyball. (C) Marina is a dancer. Some weaklings are not dancers. Everything\
27
+ \ is either a weakling or plays volleyball. So something plays volleyball. (D) Marina\
28
+ \ is a dancer. No weakling is a dancer. Either everything is a weakling or Georgia\
29
+ \ plays volleyball. So something plays volleyball.\nA: Let's think step by step.\
30
+ \ We refer to Wikipedia articles on formal logic for help. Let’s solve this step\
31
+ \ by step. Let “D” denote “being a dancer”, “m” denote “Maria”, “g” denote “Georgia”,\
32
+ \ “W” denote “weakling”, “A” denote “playing volleyball”. Then, we have the following:\n\
33
+ 1. Dm → Maria is a dance.\n2. (∀x)(Wx ⊃ ~Dx). → For all x, if x is a weakling, then\
34
+ \ x is not a dancer. In other words, no weakling is a dancer.\n3. (∀x)Wx ∨ Ag\t\
35
+ / (∃x)Ax → For all x, x is a weakling or Georgia plays volleyball. So there exists\
36
+ \ an x that plays volleyball. \nOptions (A) and (C) do claim that some weaklings\
37
+ \ are not dancers, but the second argument strongly states that no weakling is a\
38
+ \ dancer. Thus, we can eliminate them. Option (B) omits the important detail about\
39
+ \ Georgia playing volleyball. Option (D) has all the details presented in the arguments\
40
+ \ and is the best English interpretation of the arguments. The answer is (D).\n\n\
41
+ Q: Select the best translation into predicate logic: No people drive on Mars.\n\
42
+ (A) ~Pd (B) (∀x)(Px ∨ ~Dx) (C) (∀x)(Px ⊃ ~Dx) (D) ~Dp\nA: Let's think step by step.\
43
+ \ We refer to Wikipedia articles on formal logic for help. Let’s solve this step\
44
+ \ by step. Let “P” denote “being on Mars” and “D” denote “driving on Mars”. Then\
45
+ \ let’s consider each option:\nOption (A): ~Pd → d is not on Mars.\nOption (B):\
46
+ \ (∀x)(Px ∨ ~Dx) → For all x, x is on Mars and x do not drive on Mars.\nOption (C):\
47
+ \ (∀x)(Px ⊃ ~Dx) → For all x, x is on Mars implies that x do not drive on Mars.\n\
48
+ Option (D): ~Dp: → p do not drive on Mars.\nOf all these options, Option (C) appears\
49
+ \ to be the best and most meaningful interpretation of the argument “No people drive\
50
+ \ on Mars.” The answer is (C).\n\n"
51
+ "group": "mmlu_flan_cot_fewshot_humanities"
52
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
53
+ "task": "mmlu_flan_cot_fewshot_formal_logic"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_global_facts.yaml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "global_facts"
2
+ "description": "The following are multiple choice questions (with answers) about global\
3
+ \ facts.\n\nQ: As of 2017, how many of the world’s 1-year-old children today have\
4
+ \ been vaccinated against some disease? *\n(A) 80% (B) 60% (C) 40% (D) 20%\nA: Let's\
5
+ \ think step by step. We refer to Wikipedia articles on global facts for help. According\
6
+ \ to data published by the World Health Organization, the nummber of 1-year-old\
7
+ \ children vaccinated in 2017 exceeds 80%. The answer is (A).\n\nQ: As of 2019,\
8
+ \ about what percentage of Americans agree that the state is run for the benefit\
9
+ \ of all the people?\n(A) 31% (B) 46% (C) 61% (D) 76%\nA: Let's think step by step.\
10
+ \ We refer to Wikipedia articles on global facts for help. In 2019, about 46% percentage\
11
+ \ of Americans agree that the state is run for the benefit of all the people. The\
12
+ \ answer is (B).\n\nQ: As of 2019, about what percentage of Russians say it is very\
13
+ \ important to have free media in our country without government/state censorship?\n\
14
+ (A) 38% (B) 53% (C) 68% (D) 83%\nA: Let's think step by step. We refer to Wikipedia\
15
+ \ articles on global facts for help. As of 2019, about 38% of Russians say it is\
16
+ \ very important to have free media in our country. The answer is (A).\n\nQ: As\
17
+ \ of 2015, since 1990 forests have ____ in Europe and have ____ in Africa and the\
18
+ \ Americas.\n(A) increased, increased (B) increased, decreased (C) decreased, increased\
19
+ \ (D) decreased, decreased\nA: Let's think step by step. We refer to Wikipedia articles\
20
+ \ on global facts for help. As of 2015, since 1990 forests have increased in Europe\
21
+ \ and have decreased in Africa and the Americas. The answer is (B).\n\nQ: Which\
22
+ \ of the following pairs of statements are both true (as of 2019)?\n(A) People tend\
23
+ \ to be optimistic about their own future and the future of their nation or the\
24
+ \ world. (B) People tend to be optimistic about their own future but pessimistic\
25
+ \ about the future of their nation or the world. (C) People tend to be pessimistic\
26
+ \ about their own future but optimistic about the future of their nation or the\
27
+ \ world. (D) People tend to be pessimistic about their own future and the future\
28
+ \ of their nation or the world.\nA: Let's think step by step. We refer to Wikipedia\
29
+ \ articles on global facts for help. As of 2019, most people tend to be optimistic\
30
+ \ about their own future but pessimistic about the future of their nation or the\
31
+ \ world. The answer is (B).\n\n"
32
+ "group": "mmlu_flan_cot_fewshot_other"
33
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
34
+ "task": "mmlu_flan_cot_fewshot_global_facts"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_biology.yaml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_biology"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school biology.\n\nQ: In animal cells, which of the following represents the most\
4
+ \ likely pathway that a secretory protein takes as it is synthesized in a cell?\n\
5
+ (A) Plasma membrane–Golgi apparatus–ribosome–secretory vesicle–rough ER (B) Ribosome–Golgi\
6
+ \ apparatus–rough ER–secretory vesicle–plasma membrane (C) Plasma membrane–Golgi\
7
+ \ apparatus–ribosome–secretory vesicle–rough ER (D) Ribosome–rough ER–Golgi apparatus–secretory\
8
+ \ vesicle–plasma membrane\nA: Let's think step by step. Protein synthesis starts\
9
+ \ at the ribosome, so we can eliminate (A) and (C). The ribosome is often in the\
10
+ \ endoplasmic reticulum and moves from there to the Golgi apparatus, where it is\
11
+ \ modified and packaged into a vesicle. The vesicle then floats to the plasma membrane\
12
+ \ and is secreted. The answer is (D).\n\nQ: A mutation in a bacterial enzyme changed\
13
+ \ a previously polar amino acid into a nonpolar amino acid. This amino acid was\
14
+ \ located at a site distant from the enzyme’s active site. How might this mutation\
15
+ \ alter the enzyme’s substrate specificity?\n(A) By changing the enzyme’s pH optimum\
16
+ \ (B) By changing the enzyme’s location in the cell (C) By changing the shape of\
17
+ \ the protein (D) An amino acid change away from the active site cannot alter the\
18
+ \ enzyme’s substrate specificity.\nA: Let's think step by step. A change in an amino\
19
+ \ acid leads to a change in the primary structure of the protein. A change in the\
20
+ \ primary structure may lead to a change in the secondary and the tertiary structure\
21
+ \ of the protein. A change in the tertiary structure means a change in the shape\
22
+ \ of the protein, so (C) has to be correct. Since the change does not affect the\
23
+ \ active site of the enzyme, we do not expect the activity of the enzyme to be affected.\
24
+ \ The answer is (C).\n\nQ: Which of the following is not a way to form recombinant\
25
+ \ DNA?\n(A) Translation (B) Conjugation (C) Specialized transduction (D) Transformation\n\
26
+ A: Let's think step by step. The introduction of foreign DNA or RNA into bacteria\
27
+ \ or eukaryotic cells is a common technique in molecular biology and scientific\
28
+ \ research. There are multiple ways foreign DNA can be introduced into cells including\
29
+ \ transformation, transduction, conjugation, and transfection. In contrast, (A)\
30
+ \ is not a way to form DNA: during translation the ribosomes synthesize proteins\
31
+ \ from RNA. The answer is (A).\n\nQ: Homologous structures are often cited as evidence\
32
+ \ for the process of natural selection. All of the following are examples of homologous\
33
+ \ structures EXCEPT\n(A) the wings of a bird and the wings of a bat (B) the flippers\
34
+ \ of a whale and the arms of a man (C) the pectoral fins of a porpoise and the flippers\
35
+ \ of a seal (D) the forelegs of an insect and the forelimbs of a dog\nA: Let's think\
36
+ \ step by step. ​​Homologous structures are similar physical features in organisms\
37
+ \ that share a common ancestor ​​but different functions. Comparisons (B) and (C)\
38
+ \ are clearly homologous because they share a common ancestor and the structures\
39
+ \ serve different purposes. Bat wings and birg wings are also homologous, while\
40
+ \ they are both wings, the forelimbs serve different purposes. Insects and dogs\
41
+ \ are very far ancestors since one is vertebrate while the other is invertebrate\
42
+ \ and the forelimbs serve the same purpose, so they are not homologous. The answer\
43
+ \ is (D).\n\nQ: Which of the following is not known to be involved in the control\
44
+ \ of cell division?\n(A) Cyclins (B) Protein kinases (C) Checkpoints (D) Fibroblast\
45
+ \ cells\nA: Let's think step by step. Normal cells move through the cell cycle in\
46
+ \ a regulated way. At the checkpoint stage, they use information about their own\
47
+ \ internal state and cues from the environment around them to decide whether to\
48
+ \ proceed with cell division. Cues like these act by changing the activity of core\
49
+ \ cell cycle regulators inside the cell. The most common regulators are cyclins\
50
+ \ and cyclin-dependent kinases. Fibroblast cells do not play any role in cell division.\
51
+ \ The answer is (D).\n\n"
52
+ "group": "mmlu_flan_cot_fewshot_stem"
53
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
54
+ "task": "mmlu_flan_cot_fewshot_high_school_biology"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_chemistry.yaml ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_chemistry"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school chemistry.\n\nQ: Which of the following is considered an acid anhydride?\n\
4
+ (A) HCl (B) H2SO3 (C) SO2 (D) Al(NO3)3\nA: Let's think step by step. An acid anhydride\
5
+ \ is a compound that is derived by removing water from an acid. The chemical formula\
6
+ \ for water is H2O, which means that we need to determine which of these options,\
7
+ \ when combined with H2O, forms an acid. SO2, or Sulfur dioxide, when combined with\
8
+ \ H2O, makes H2SO4, or sulfuric acid. The answer is (C).\n\nQ: Which of the following\
9
+ \ is expected to be a polar molecule?\n(A) PCl4F (B) BF3 (C) CO2 (D) Si(CH3)4\n\
10
+ A: Let's think step by step. A polar molecule is one that has a slightly positive\
11
+ \ charge on one end of the molecule and a slightly negative charge on the other\
12
+ \ end. Boron trifluoride (BF3) has Boron as the center atom and three fluorine atoms\
13
+ \ attached to it; it is trigonal planar and symmetric, so it is nonpolar. Carbon\
14
+ \ Dioxide (CO2) has Carbon as the central atom with double bonds to two Oxygen atoms\
15
+ \ - this is also symmetrical and therefore nonpolar. The same is the case for tetramethyl\
16
+ \ silane (SI(CH3)4), which is a Silicon atom surrounded by four methyl groups. The\
17
+ \ structure of PCL4F is that Phosphorus is the central atom, attached to four chlorines\
18
+ \ and one fluorine atom. This is asymmetrical, and therefore has a net dipole and\
19
+ \ is expected to be a polar molecule. The answer is (A).\n\nQ: From the solubility\
20
+ \ rules, which of the following is true?\n(A) All chlorides, bromides, and iodides\
21
+ \ are soluble (B) All sulfates are soluble (C) All hydroxides are soluble (D) All\
22
+ \ ammonium-containing compounds are soluble\nA: Let's think step by step. The chlorides,\
23
+ \ bromides, and iodides of lead, silver, and mercury are not soluble in water. This\
24
+ \ rules out (A). The sulfates of lead, barium, and calcium are not soluble in water,\
25
+ \ which rules out (B). The hydroxides of any metal besides sodium, potassium, ammonium,\
26
+ \ calcium, and barium are insoluble. This rules out (C). Typically ammonium ions\
27
+ \ indicate a soluble ionic substance. The answer is (D).\n\nQ: A new compound is\
28
+ \ synthesized and found to be a monoprotic acid with a molar mass of 248 g/mol.\
29
+ \ When 0.0050 mol of this acid are dissolved in 0.500 L of water, the pH is measured\
30
+ \ as 3.89. What is the pKa of this acid?\n(A) 3.89 (B) 7.78 (C) 5.78 (D) 2.33\n\
31
+ A: Let's think step by step. Recall that $[A] = [H^{+}]$. Here, this is equal to\
32
+ \ $$10^{-3.89}$. Then we have $K_{a} = $\nrac{[H^{+}][A^{-}]}{[HA]} = \nrac{10^{-3.89}\
33
+ \ \\cdot 10^{-3.89}}{10^{-2}}. The resulting exponent is $-3.89 + (-3.89) - (-2)\
34
+ \ = 5.78$, therefore $K_a = 10^{-5.78}$. The $pK_a$ is the negative log of $K_a$,\
35
+ \ which is equal to $5.78$. The answer is (C).\n\nQ: A solution contains 2.00 mole\
36
+ \ of acetic acid, CH3COOH, and 1.00 mole of calcium acetate, Ca(CH3COO)2. The solution\
37
+ \ is able to resist the addition of a small amount of strong acid or strong base\
38
+ \ with only minor changes in the pH of the solution. Larger quantities of strong\
39
+ \ acid or strong base can cause a significant change in pH. How many moles of nitric\
40
+ \ acid, HNO3, may be added before the pH begins to change significantly?\n(A) 0.500\
41
+ \ mole (B) 1.00 mole (C) 2.00 mole (D) 3.00 mole\nA: Let's think step by step. We\
42
+ \ would like to compute the buffer capacity of this solution. First we write the\
43
+ \ equation for the ionization of the weak acid, in this case of acetic acid. $CH_{3}COOH\
44
+ \ (aq) + H_{2}O \nightarrow H_{3}O^{+} + CH3COO^{-}$. The conjugate base is therefore\
45
+ \ the acetate ion. The added strong acid, Nitric acid, will react with the conjugate\
46
+ \ base. Therefore the maximum amount of acid that can be added will be equal to\
47
+ \ the amount of acetate ion, or 2 moles. The answer is (C).\n\n"
48
+ "group": "mmlu_flan_cot_fewshot_stem"
49
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
50
+ "task": "mmlu_flan_cot_fewshot_high_school_chemistry"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_computer_science.yaml ADDED
@@ -0,0 +1,71 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_computer_science"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school computer science.\n\nQ: Which of the following is an example of the use\
4
+ \ of a device on the Internet of Things (IoT) ?\n(A) A car alerts a driver that\
5
+ \ it is about to hit an object. (B) A hiker uses a G P S watch to keep track of\
6
+ \ her position. (C) A refrigerator orders milk from an online delivery service when\
7
+ \ the milk in the refrigerator is almost gone. (D) A runner uses a watch with optical\
8
+ \ sensors to monitor his heart rate.\nA: Let's think step by step. The term Internet\
9
+ \ of Things (IoT) refers to common devices which are connected to the internet,\
10
+ \ enabling new functionality. Choice A is incorrect because it does not describe\
11
+ \ an internet connected device. In choice B, the watch is only described as having\
12
+ \ GPS functionality but no internet connectivity. Choice C describes a common device\
13
+ \ (a refrigerator) which has internet connectivity enabling new functionality (online\
14
+ \ ordering). Choice D does not mention internet connectivity for the watch, only\
15
+ \ optical sensors. The answer is (C).\n\nQ: Many Web browsers allow users to open\
16
+ \ anonymous windows. During a browsing session in an anonymous window, the browser\
17
+ \ does not record a browsing history or a list of downloaded files. When the anonymous\
18
+ \ window is exited, cookies created during the session are deleted. Which of the\
19
+ \ following statements about browsing sessions in an anonymous window is true?\n\
20
+ (A) The activities of a user browsing in an anonymous window will not be visible\
21
+ \ to people who monitor the user's network, such as the system administrator. (B)\
22
+ \ Items placed in a Web store's shopping cart for future purchase during the anonymous\
23
+ \ browsing session will not be saved on the user's computer. (C) A user will not\
24
+ \ be able to log in to e-mail or social media accounts during the anonymous browsing\
25
+ \ session. (D) A user browsing in an anonymous window will be protected from viruses\
26
+ \ launched from any web sites visited or files downloaded.\nA: Let's think step\
27
+ \ by step. Choice A is incorrect as it only describes network traffic, which an\
28
+ \ anonymous browser does not change. Choice B is correct as it correctly describes\
29
+ \ how an anonymous browser will prevent saving data on the user’s computer after\
30
+ \ the session is ended. Choice C is incorrect because an anonymous browser will\
31
+ \ not prevent logging in to email or social media accounts. Choice D is incorrect\
32
+ \ because an anonymous browser in itself performs no virus protection. The answer\
33
+ \ is (B).\n\nQ: In the program below, the initial value of X is 5 and the initial\
34
+ \ value of Y is 10.\nIF (X < 0){\n DISPLAY (\"Foxtrot\")\n} ELSE {\n IF (X > Y){\n\
35
+ \ DISPLAY (\"Hotel\")\n } ELSE {\n IF (Y > 0){\n DISPLAY (\"November\")\n }\
36
+ \ ELSE {\n DISPLAY (\"Yankee\")\n }\n }\n}\nWhat is displayed as a result of\
37
+ \ running the program?\n(A) Foxtrot (B) Hotel (C) November (D) Yankee\nA: Let's\
38
+ \ think step by step. Because X has the value 5, the first conditional IF (X < 0)\
39
+ \ is false, so we move to the first ELSE clause. Because X is 5 and Y is 10, the\
40
+ \ second conditional IF (X > Y) is false, so we move to the following ELSE clause.\
41
+ \ Since Y is 10, the conditional IF (Y > 0) is true, so the command DISPLAY (\"\
42
+ November\") is executed. The answer is (C).\n\nQ: What is the output of \"abc\"\
43
+ [::-1] in Python 3?\n(A) Error (B) abc (C) cba (D) c\nA: Let's think step by step.\
44
+ \ We know that the slicing operator [::-1] takes all of the elements in the string\
45
+ \ in reverse order, so we reverse the order of the string \"abc\", resulting in\
46
+ \ \"cba\". The answer is (C).\n\nQ: A list of numbers has n elements, indexed from\
47
+ \ 1 to n. The following algorithm is intended to display the number of elements\
48
+ \ in the list that have a value greater than 100. The algorithm uses the variables\
49
+ \ count and position. Steps 3 and 4 are missing.\n Step 1: Set count to 0 and position\
50
+ \ to 1.\n Step 2: If the value of the element at index position is greater than\
51
+ \ 100, increase the value of count by 1.\n Step 3: (missing step)\n Step 4: (missing\
52
+ \ step)\n Step 5: Display the value of count.\nWhich of the following could be used\
53
+ \ to replace steps 3 and 4 so that the algorithm works as intended?\n(A) Step 3:\
54
+ \ Increase the value of position by 1.\n Step 4: Repeat steps 2 and 3 until the\
55
+ \ value of count is greater than 100.\n(B) Step 3: Increase the value of position\
56
+ \ by 1.\n Step 4: Repeat steps 2 and 3 until the value of position is greater than\
57
+ \ n.\n(C) Step 3: Repeat step 2 until the value of count is greater than 100.\n\
58
+ \ Step 4: Increase the value of position by 1.\n(D) Step 3: Repeat step 2 until\
59
+ \ the value of position is greater than n.\n Step 4: Increase the value of count\
60
+ \ by 1.\nA: Let's think step by step. Choice A is incorrect, because its Step 4\
61
+ \ has an incorrect termination condition, stopping when count is greater than 100.\
62
+ \ We need to stop after inspecting all elements in the list. Choice B is correct\
63
+ \ because it correctly increments both count and position, and correctly repeats\
64
+ \ these steps and terminates when all elements in the list have been inspected.\
65
+ \ Choice C is incorrect because it incorrectly increments the variable count until\
66
+ \ its value is greater than 100, regardless of the elements in the list. Choice\
67
+ \ D is incorrect because its step 3 does not increment the value of position, so\
68
+ \ it will repeat forever. The answer is (B).\n\n"
69
+ "group": "mmlu_flan_cot_fewshot_stem"
70
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
71
+ "task": "mmlu_flan_cot_fewshot_high_school_computer_science"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_european_history.yaml ADDED
@@ -0,0 +1,169 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_european_history"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school european history.\n\nQ: This question refers to the following information.\n\
4
+ Albeit the king's Majesty justly and rightfully is and ought to be the supreme head\
5
+ \ of the Church of England, and so is recognized by the clergy of this realm in\
6
+ \ their convocations, yet nevertheless, for corroboration and confirmation thereof,\
7
+ \ and for increase of virtue in Christ's religion within this realm of England,\
8
+ \ and to repress and extirpate all errors, heresies, and other enormities and abuses\
9
+ \ heretofore used in the same, be it enacted, by authority of this present Parliament,\
10
+ \ that the king, our sovereign lord, his heirs and successors, kings of this realm,\
11
+ \ shall be taken, accepted, and reputed the only supreme head in earth of the Church\
12
+ \ of England, called Anglicans Ecclesia; and shall have and enjoy, annexed and united\
13
+ \ to the imperial crown of this realm, as well the title and style thereof, as all\
14
+ \ honors, dignities, preeminences, jurisdictions, privileges, authorities, immunities,\
15
+ \ profits, and commodities to the said dignity of the supreme head of the same Church\
16
+ \ belonging and appertaining; and that our said sovereign lord, his heirs and successors,\
17
+ \ kings of this realm, shall have full power and authority from time to time to\
18
+ \ visit, repress, redress, record, order, correct, restrain, and amend all such\
19
+ \ errors, heresies, abuses, offenses, contempts, and enormities, whatsoever they\
20
+ \ be, which by any manner of spiritual authority or jurisdiction ought or may lawfully\
21
+ \ be reformed, repressed, ordered, redressed, corrected, restrained, or amended,\
22
+ \ most to the pleasure of Almighty God, the increase of virtue in Christ's religion,\
23
+ \ and for the conservation of the peace, unity, and tranquility of this realm; any\
24
+ \ usage, foreign land, foreign authority, prescription, or any other thing or things\
25
+ \ to the contrary hereof notwithstanding.\nEnglish Parliament, Act of Supremacy,\
26
+ \ 1534\nFrom the passage, one may infer that the English Parliament wished to argue\
27
+ \ that the Act of Supremacy would\n(A) give the English king a new position of authority\
28
+ \ (B) give the position of head of the Church of England to Henry VIII alone and\
29
+ \ exclude his heirs (C) establish Calvinism as the one true theology in England\
30
+ \ (D) end various forms of corruption plaguing the Church in England\nA: Let's think\
31
+ \ step by step. We refer to Wikipedia articles on european history for help. The\
32
+ \ Act of Supremacy states that it grants authority to the king \"to repress and\
33
+ \ extirpate all errors, heresies, and other enormities and abuses\", referring to\
34
+ \ the corruption in the Church of England. The answer is (D).\n\nQ: This question\
35
+ \ refers to the following information.\nRead the following excerpt.\nThe revolutionary\
36
+ \ seed had penetrated into every country and spread more or less. It was greatly\
37
+ \ developed under the régime of the military despotism of Bonaparte. His conquests\
38
+ \ displaced a number of laws, institutions, and customs; broke through bonds sacred\
39
+ \ among all nations, strong enough to resist time itself; which is more than can\
40
+ \ be said of certain benefits conferred by these innovators.\nThe monarchs will\
41
+ \ fulfil the duties imposed upon them by Him who, by entrusting them with power,\
42
+ \ has charged them to watch over the maintenance of justice, and the rights of all,\
43
+ \ to avoid the paths of error, and tread firmly in the way of truth. Placed beyond\
44
+ \ the passions which agitate society, it is in days of trial chiefly that they are\
45
+ \ called upon to despoil realities of their false appearances, and to show themselves\
46
+ \ as they are, fathers invested with the authority belonging by right to the heads\
47
+ \ of families, to prove that, in days of mourning, they know how to be just, wise,\
48
+ \ and therefore strong, and that they will not abandon the people whom they ought\
49
+ \ to govern to be the sport of factions, to error and its consequences, which must\
50
+ \ involve the loss of society.\nUnion between the monarchs is the basis of the policy\
51
+ \ which must now be followed to save society from total ruin. . . .\nLet them not\
52
+ \ confound concessions made to parties with the good they ought to do for their\
53
+ \ people, in modifying, according to their recognized needs, such branches of the\
54
+ \ administration as require it.\nLet them be just, but strong; beneficent, but strict.\n\
55
+ Let them maintain religious principles in all their purity, and not allow the faith\
56
+ \ to be attacked and morality interpreted according to the social contract or the\
57
+ \ visions of foolish sectarians.\nLet them suppress Secret Societies; that gangrene\
58
+ \ of society.\n—Klemens von Metternich, Political Confession of Faith, 1820\nWhich\
59
+ \ of the following was the greatest cause of the fears expressed by Metternich in\
60
+ \ the document above?\n(A) The ideas of personal liberty and nationalism conceived\
61
+ \ during the Enlightenment resulted in radical revolutions that could spread throughout\
62
+ \ Europe. (B) The conquest of Europe by Napoleon led to the creation of new factions\
63
+ \ and shifted the European balance of power. (C) The power of monarchs had grown\
64
+ \ to the point where it needed to be checked by other powers within each nation\
65
+ \ or domination of civilians would occur. (D) The rising and falling economic cycle\
66
+ \ of the newly emerging capitalist economy could lead to civilian unrest that must\
67
+ \ be suppressed.\nA: Let's think step by step. We refer to Wikipedia articles on\
68
+ \ european history for help. The fears of revolution in early 19th century Europe\
69
+ \ expressed by Klemens von Metternich, a conservative Austrian statesman, were a\
70
+ \ direct result of the age of Enlightenment, a period of European history where\
71
+ \ the absolute power of the monarchy was challenged with ideas of individual liberty\
72
+ \ and nationalism, leading to the French revolution and its effects all over Europe.\
73
+ \ The answer is (A).\n\nQ: This question refers to the following information.\n\
74
+ The excerpts below are from the Navigation Acts of 1651.\n[A]fter the first day\
75
+ \ of December, one thousand six hundred fifty and one, and from thence forwards,\
76
+ \ no goods or commodities whatsoever of the growth, production or manufacture of\
77
+ \ Asia, Africa or America, or of any part thereof; or of any islands belonging to\
78
+ \ them, or which are described or laid down in the usual maps or cards of those\
79
+ \ places, as well of the English plantations as others, shall be imported or brought\
80
+ \ into this Commonwealth of England, or into Ireland, or any other lands, islands,\
81
+ \ plantations, or territories to this Commonwealth belonging, or in their possession,\
82
+ \ in any other ship or ships, vessel or vessels whatsoever, but only in such as\
83
+ \ do truly and without fraud belong only to the people of this Commonwealth, or\
84
+ \ the plantations thereof, as the proprietors or right owners thereof; and whereof\
85
+ \ the master and mariners are also of the people of this Commonwealth, under the\
86
+ \ penalty of the forfeiture and loss of all the goods that shall be imported contrary\
87
+ \ to this act, , , ,\n[N]o goods or commodities of the growth, production, or manufacture\
88
+ \ of Europe, or of any part thereof, shall after the first day of December, one\
89
+ \ thousand six hundred fifty and one, be imported or brought into this Commonwealth\
90
+ \ of England, or any other lands or territories to this Commonwealth belonging,\
91
+ \ or in their possession, in any ship or ships, vessel or vessels whatsoever, but\
92
+ \ in such as do truly and without fraud belong only to the people of this Commonwealth,\
93
+ \ and in no other, except only such foreign ships and vessels as do truly and properly\
94
+ \ belong to the people of that country or place, of which the said goods are the\
95
+ \ growth, production or manufacture.\nWhich of the following best describes the\
96
+ \ outcome of the Navigation Acts of 1651?\n(A) They served as a catalyst for the\
97
+ \ growth of English shipping and overseas trade, but did little to limit the prospects\
98
+ \ of the Dutch in the seventeenth century. (B) They brought about almost immediate\
99
+ \ hardships for the Dutch economy as their dominance of overseas trade quickly ended.\
100
+ \ (C) They were rescinded during the restoration of the Stuarts as they sought normal\
101
+ \ diplomatic relations with the Dutch so not as to need Parliament's financial support\
102
+ \ for war. (D) They led to nearly a century of recurrent war between England and\
103
+ \ the Netherlands, which would not end until after American independence.\nA: Let's\
104
+ \ think step by step. We refer to Wikipedia articles on european history for help.\
105
+ \ The Navigation Acts of 1651 helped English shipping by restricting the ability\
106
+ \ of ships from other European countries, especially the Dutch, to transport goods\
107
+ \ from colonies in Asia and Africa into England. The answer is (A).\n\nQ: This question\
108
+ \ refers to the following information.\nIn Russia there was nothing going on well,\
109
+ \ and [Souvarine] was in despair over the news he had received. His old companions\
110
+ \ were all turning to the politicians; the famous Nihilists who made Europe tremble-sons\
111
+ \ of village priests, of the lower middle class, of tradesmen-could not rise above\
112
+ \ the idea of national liberation, and seemed to believe that the world would be\
113
+ \ delivered-when they had killed their despot&…\n\"Foolery! They'll never get out\
114
+ \ of it with their foolery.\"\nThen, lowering his voice still more, in a few bitter\
115
+ \ words he described his old dream of fraternity. He had renounced his rank and\
116
+ \ his fortune; he had gone among workmen, only in the hope of seeing at last the\
117
+ \ foundation of a new society of labour in common. All the sous in his pockets had\
118
+ \ long gone to the urchins of the settlement; he had been as tender as a brother\
119
+ \ with the colliers, smiling at their suspicion, winning them over by his quiet\
120
+ \ workmanlike ways and his dislike of chattering. But decidedly the fusion had not\
121
+ \ taken place.\nHis voice changed, his eyes grew bright, he fixed them on étienne,\
122
+ \ directly addressing him:\n\"Now, do you understand that? These hatworkers at Marseilles\
123
+ \ who have won the great lottery prize of a hundred thousand francs have gone off\
124
+ \ at once and invested it, declaring that they are going to live without doing anything!\
125
+ \ Yes, that is your idea, all of you French workmen; you want to unearth a treasure\
126
+ \ in order to devour it alone afterwards in some lazy, selfish corner. You may cry\
127
+ \ out as much as you like against the rich, you haven't got courage enough to give\
128
+ \ back to the poor the money that luck brings you. You will never be worthy of happiness\
129
+ \ as long as you own anything, and your hatred of the bourgeois proceeds solely\
130
+ \ from an angry desire to be bourgeois yourselves in their place.\"\némile Zola,\
131
+ \ French writer, Germinal, 1885\nThe passage displays the direct concern for the\
132
+ \ welfare of the working classes that was typically a part of which movement?\n\
133
+ (A) Capitalist (B) Scientific (C) Communist (D) Existentialist\nA: Let's think step\
134
+ \ by step. We refer to Wikipedia articles on european history for help. The modern\
135
+ \ Communist movement aims to establish a classless society based on communal ownership\
136
+ \ and distribution of property and means of production, thereby especially benefiting\
137
+ \ the working classes. The answer is (C).\n\nQ: This question refers to the following\
138
+ \ information.\nThe following excerpt is from a pamphlet.\nYou will do me the justice\
139
+ \ to remember, that I have always strenuously supported the Right of every man to\
140
+ \ his own opinion, however different that opinion might be to mine. He who denies\
141
+ \ to another this right, makes a slave of himself to his present opinion, because\
142
+ \ he precludes himself the right of changing it.\nThe most formidable weapon against\
143
+ \ errors of every kind is Reason. I have never used any other, and I trust I never\
144
+ \ shall.\nThe circumstance that has now taken place in France of the total abolition\
145
+ \ of the whole national order of priesthood, and of everything appertaining to compulsive\
146
+ \ systems of religion, and compulsive articles of faith, has not only precipitated\
147
+ \ my intention, but rendered a work of this kind exceedingly necessary, lest in\
148
+ \ the general wreck of superstition, of false systems of government, and false theology,\
149
+ \ we lose sight of morality, of humanity, and of the theology that is true.\nI believe\
150
+ \ in one God, and no more; and I hope for happiness beyond this life.\nI believe\
151
+ \ in the equality of man; and I believe that religious duties consist in doing justice,\
152
+ \ loving mercy, and endeavoring to make our fellow-creatures happy.\nI do not believe\
153
+ \ in the creed professed by the Jewish church, by the Roman church, by the Greek\
154
+ \ church, by the Turkish church, by the Protestant church, nor by any church that\
155
+ \ I know of. My own mind is my own church.\nAll national institutions of churches,\
156
+ \ whether Jewish, Christian or Turkish, appear to me no other than human inventions,\
157
+ \ set up to terrify and enslave mankind, and monopolize power and profit.\nI do\
158
+ \ not mean by this declaration to condemn those who believe otherwise; they have\
159
+ \ the same right to their belief as I have to mine.\n—Thomas Paine, The Age of Reason,\
160
+ \ 1794–1795\nWhich of the following Enlightenment philosophes designed a system\
161
+ \ of checks and balances for government to avoid abuses of power?\n(A) Jean Jacques\
162
+ \ Rousseau (B) Baron Montesquieu (C) Mary Wollstonecraft (D) Adam Smith\nA: Let's\
163
+ \ think step by step. We refer to Wikipedia articles on european history for help.\
164
+ \ Baron Montesquieu was a 18th centrury French philsopher who wrote extensively\
165
+ \ against the monoplization of power and advocated for a system of checks and balances\
166
+ \ in government to prevent the rise of despotism. The answer is (B).\n\n"
167
+ "group": "mmlu_flan_cot_fewshot_humanities"
168
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
169
+ "task": "mmlu_flan_cot_fewshot_high_school_european_history"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_geography.yaml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_geography"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school geography.\n\nQ: Which one of the following items is an example of nonmaterial\
4
+ \ culture?\n(A) Dove soap (B) Dove candy bar (C) Dove symbol (D) A dove (bird).\n\
5
+ A: Let's think step by step. We refer to Wikipedia articles on geography for help.\
6
+ \ Nonmaterial culture consists of cultural ideas, beliefs or symbols that are not\
7
+ \ physical objects. The answer is (C).\n\nQ: During the third stage of the demographic\
8
+ \ transition model, which of the following is true?\n(A) Birth rates increase and\
9
+ \ population growth rate is less rapid. (B) Birth rates decline and population growth\
10
+ \ rate is less rapid. (C) Birth rates increase and population growth rate increases.\
11
+ \ (D) Birth rates decrease and population growth rate increases.\nA: Let's think\
12
+ \ step by step. We refer to Wikipedia articles on geography for help. The demographic\
13
+ \ transition model models the five different stages of population growth as a country\
14
+ \ goes through economic development, where the third stage refers to a period of\
15
+ \ declining birth rates and lower population growth. The answer is (B).\n\nQ: The\
16
+ \ practice of hiring a foreign third-party service provider to run an operation\
17
+ \ is called\n(A) outsourcing. (B) offshoring. (C) maquiladoras. (D) locational interdependence.\n\
18
+ A: Let's think step by step. We refer to Wikipedia articles on geography for help.\
19
+ \ \"Offshoring\" literally means to move or base some of the activities or processes\
20
+ \ of a company to a foreign country. The answer is (B).\n\nQ: Which of the following\
21
+ \ statements is NOT accurate regarding the services provided by local governments\
22
+ \ in the United States?\n(A) Duplication of efforts occurs often. (B) Social problems\
23
+ \ of the central city spill over into the surrounding residential suburbs. (C) Inefficiency\
24
+ \ in providing services occurs often. (D) One neighborhood's efforts to reduce pollution\
25
+ \ are always supported by neighboring communities.\nA: Let's think step by step.\
26
+ \ We refer to Wikipedia articles on geography for help. There may be economic, social\
27
+ \ or political reasons for two neighboring communities and their local governments\
28
+ \ not agreeing to pollution reduction efforts initiated by one of them. The answer\
29
+ \ is (D).\n\nQ: The rate of natural increase of a population is found by subtracting\
30
+ \ the\n(A) crude death rate from the crude birth date. (B) crude birth rate from\
31
+ \ the crude death rate. (C) doubling time from the crude birth rate. (D) fertility\
32
+ \ rate from the crude death rate.\nA: Let's think step by step. We refer to Wikipedia\
33
+ \ articles on geography for help. The difference between number of births and deaths\
34
+ \ gives the population increase at any given time. The answer is (A).\n\n"
35
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
36
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
37
+ "task": "mmlu_flan_cot_fewshot_high_school_geography"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_government_and_politics.yaml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_government_and_politics"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school government and politics.\n\nQ: Which of the following best states an argument\
4
+ \ made by James Madison in The Federalist number 10?\n(A) Honest politicians can\
5
+ \ prevent factions from developing. (B) Factions are more likely to occur in large\
6
+ \ republics than in small ones. (C) The negative effects of factionalism can be\
7
+ \ reduced by a republican government. (D) Free elections are the people's best defense\
8
+ \ against factionalism.\nA: Let's think step by step. We refer to Wikipedia articles\
9
+ \ on government and politics for help. In the Federalist number 10, James Madison\
10
+ \ advocated for a representative republican form of government to guard against\
11
+ \ factionalism. The answer is (C).\n\nQ: The term \"budget deficit\" refers to the\n\
12
+ (A) annual increase in federal spending on the military (B) amount of interest on\
13
+ \ the national debt (C) difference between the initial budget proposals made by\
14
+ \ the president and Congress (D) amount the government spends in excess of its revenues\n\
15
+ A: Let's think step by step. We refer to Wikipedia articles on government and politics\
16
+ \ for help. When the goverment spends more than it earns, their difference is the\
17
+ \ budget deficit. The answer is (D).\n\nQ: Which of the following statements about\
18
+ \ cabinet departments is FALSE?\n(A) They are established by the legislative branch.\
19
+ \ (B) Their members often don't have much influence over presidential decisions.\
20
+ \ (C) They cannot all be run by leaders who belong to the same political party the\
21
+ \ president does. (D) Not every federal agency is a cabinet department.\nA: Let's\
22
+ \ think step by step. We refer to Wikipedia articles on government and politics\
23
+ \ for help. There is no law stipulating that some cabinet department leaders have\
24
+ \ to belong to a political party different from that of the president. The answer\
25
+ \ is (C).\n\nQ: Which of the following cases established the precedent that a defendant\
26
+ \ must be informed of the right to remain silent, the right to a lawyer, and protection\
27
+ \ from self-incrimination?\n(A) Weeks v. United States (B) Betts v. Brady (C) Mapp\
28
+ \ v. Ohio (D) Miranda v. Arizona\nA: Let's think step by step. We refer to Wikipedia\
29
+ \ articles on government and politics for help. In the landmark Miranda v. Arizona\
30
+ \ in 1966, the US Supreme Court, based on the Fifth and Sixth Amendment of the US\
31
+ \ Constitution, guaranteed a defendant's right to an attorney and protection from\
32
+ \ self-incrimination. The answer is (D).\n\nQ: Uncertainty over the limits to presidential\
33
+ \ power is caused primarily by the fact that\n(A) the constitutional definition\
34
+ \ of those powers is broad and unspecific (B) most people agree that the Constitution\
35
+ \ places too many limits on presidential power (C) the Supreme Court consistently\
36
+ \ refuses to rule on cases concerning presidential powers (D) constitutional amendments\
37
+ \ have greatly increased presidential powers\nA: Let's think step by step. We refer\
38
+ \ to Wikipedia articles on government and politics for help. The US Constitution\
39
+ \ is not very specific about the powers of the president, leading to uncertainty\
40
+ \ over its limits. The answer is (A).\n\n"
41
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
42
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
43
+ "task": "mmlu_flan_cot_fewshot_high_school_government_and_politics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_macroeconomics.yaml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_macroeconomics"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school macroeconomics.\n\nQ: Which of the following policies best describes supply-side\
4
+ \ fiscal policy?\n(A) An increase in the money supply (B) Increased government spending\
5
+ \ (C) Lower taxes on research and development of new technology (D) Higher taxes\
6
+ \ on household income\nA: Let's think step by step. We refer to Wikipedia articles\
7
+ \ on macroeconomics for help. Supply-side fiscal policy stimulates the economy by\
8
+ \ encouraging more production of goods and services through reduction in taxes and\
9
+ \ deregulation. The answer is (C).\n\nQ: The short-run Phillips curve indicates\
10
+ \ a\n(A) direct relation between unemployment and inflation (B) direct relation\
11
+ \ between price and quantity demanded (C) inverse relation between price and quantity\
12
+ \ demanded (D) inverse relation between unemployment and inflation\nA: Let's think\
13
+ \ step by step. We refer to Wikipedia articles on macroeconomics for help. The short-run\
14
+ \ Phillips curve shows that whenever unemployment decreases below a natural level,\
15
+ \ the inflation starts increasing, and vice-versa. The answer is (D).\n\nQ: Holding\
16
+ \ all else equal which of the following monetary policies would be used to boost\
17
+ \ U.S. exports?\n(A) Increasing the discount rate (B) Increasing the reserve ratio\
18
+ \ (C) Buying government securities (D) Lowering tariffs\nA: Let's think step by\
19
+ \ step. We refer to Wikipedia articles on macroeconomics for help. Buying government\
20
+ \ securities leads to reduction in demand for US dollars from foreign buyers, thereby\
21
+ \ making it cheaper and hence making US exports more attractive. The answer is (C).\n\
22
+ \nQ: A federal deficit occurs when\n(A) exports exceed imports. (B) imports exceed\
23
+ \ exports. (C) federal tax collections exceed spending. (D) federal spending exceeds\
24
+ \ federal tax revenues.\nA: Let's think step by step. We refer to Wikipedia articles\
25
+ \ on macroeconomics for help. A federal deficit occurs when federal spending exceeds\
26
+ \ federal income which is primarily from tax revenues. The answer is (D).\n\nQ:\
27
+ \ Which of the following is not included in the U.S. GDP?\n(A) The U.S. military\
28
+ \ opens a new base in a foreign country with 1000 U.S. personnel. (B) Japanese consumers\
29
+ \ buy thousands of CDs produced in the United States. (C) An American pop singer\
30
+ \ performs a sold-out concert in Paris. (D) A French theatrical production tours\
31
+ \ dozens of American cities.\nA: Let's think step by step. We refer to Wikipedia\
32
+ \ articles on macroeconomics for help. The economic transactions related to the\
33
+ \ performance of the American pop-singer in Paris happens entirely outside the U.S.\
34
+ \ and hence is not included in the GDP numbers. The answer is (C).\n\n"
35
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
36
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
37
+ "task": "mmlu_flan_cot_fewshot_high_school_macroeconomics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_mathematics.yaml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_mathematics"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school mathematics.\n\nQ: Simplify and write the result with a rational denominator:\
4
+ \ $$\\sqrt{\\sqrt[3]{\\sqrt{\\frac{1}{729}}}}$$\n(A) \\frac{3\\sqrt{3}}{3} (B) \\\
5
+ frac{1}{3} (C) \\sqrt{3} (D) \\frac{\\sqrt{3}}{3}\nA: Let's think step by step.\
6
+ \ Factoring $729=3^6$ and combining the roots $\\frac{1}{2}\\frac{1}{3}\\frac{1}{2}=\\\
7
+ frac{1}{12}$, we get that $\\sqrt{\\sqrt[3]{\\sqrt{\\frac{1}{729}}}}=\\left(\\frac{1}{3^6}\\\
8
+ right)^{\\frac{1}{12}}=\\frac{1}{3^{\\frac{1}{2}}}=\\frac{3}{\\sqrt{3}}$ The answer\
9
+ \ is (D).\n\nQ: Five thousand dollars compounded annually at an $x\\%$ interest\
10
+ \ rate takes six years to double. At the same interest rate, how many years will\
11
+ \ it take $\\$300$ to grow to $\\$9600$?\n(A) 12 (B) 1 (C) 30 (D) 5\nA: Let's think\
12
+ \ step by step. To go from $\\$300$ to $\\$9600$, the value must go up by a factor\
13
+ \ of $9600/300=32=2^5$. Since at this interest rate it takes six years for it to\
14
+ \ double, it will take $5*6=30$ years to grow to $\\$9600$. The answer is (C).\n\
15
+ \nQ: Ten students take a biology test and receive the following scores: 45, 55,\
16
+ \ 50, 70, 65, 80, 40, 90, 70, 85. What is the mean of the students’ test scores?\n\
17
+ (A) 55 (B) 60 (C) 62 (D) 65\nA: Let's think step by step. There are 10 students\
18
+ \ and the sum of their scores is $45 + 55 + 50 + 70 + 65 + 80 + 40 + 90 + 70 + 85\
19
+ \ = 650$, the mean is $650/10=65$. The answer is (D).\n\nQ: The variable $x$ varies\
20
+ \ directly as the square of $y$, and $y$ varies directly as the cube of $z$. If\
21
+ \ $x$ equals $-16$ when $z$ equals 2, what is the value of $x$ when $z$ equals $\\\
22
+ frac{1}{2}$?\n(A) -1 (B) 16 (C) -\\frac{1}{256} (D) \\frac{1}{16}\nA: Let's think\
23
+ \ step by step. We know that $x \\propto y^2$ and $y \\propto z^3$, so $x = k z^6$\
24
+ \ for some constant $k$. Plugging in for $x=-16$ and $z=2$, the constant value is\
25
+ \ $k=\\frac{x}{z^6}=\\frac{-16}{64}=-\\frac{1}{4}$. So, when $z=\\frac{1}{2}$, the\
26
+ \ value of $x$ is $x=kz^6=-\\frac{1}{4}\\frac{1}{2^6}=-\\frac{1}{256}$. The answer\
27
+ \ is (C).\n\nQ: Joe was in charge of lights for a dance. The red light blinks every\
28
+ \ two seconds, the yellow light every three seconds, and the blue light every five\
29
+ \ seconds. If we include the very beginning and very end of the dance, how many\
30
+ \ times during a seven minute dance will all the lights come on at the same time?\
31
+ \ (Assume that all three lights blink simultaneously at the very beginning of the\
32
+ \ dance.)\n(A) 3 (B) 15 (C) 6 (D) 5\nA: Let's think step by step. The least common\
33
+ \ multiple of 2, 3 and 5 is 30, so during a 7 minute dance, all the three lights\
34
+ \ will come on at the same time $2*7+1=15$ times. The answer is (B).\n\n"
35
+ "group": "mmlu_flan_cot_fewshot_stem"
36
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
37
+ "task": "mmlu_flan_cot_fewshot_high_school_mathematics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_microeconomics.yaml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_microeconomics"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school microeconomics.\n\nQ: Which of the following is necessarily a characteristic\
4
+ \ of oligopoly?\n(A) Free entry into and exit from the market (B) A few large producers\
5
+ \ (C) One producer of a good with no close substitutes (D) A homogenous product\n\
6
+ A: Let's think step by step. We refer to Wikipedia articles on microeconomics for\
7
+ \ help. An oligopoly is when a market is dominated by just one or a few number of\
8
+ \ sellers or producers. To get oligopoly, the market should have high barriers to\
9
+ \ new entry, and the product has differentiation. The answer is (B).\n\nQ: If the\
10
+ \ government subsidizes producers in a perfectly competitive market, then\n(A) the\
11
+ \ demand for the product will increase (B) the demand for the product will decrease\
12
+ \ (C) the consumer surplus will increase (D) the consumer surplus will decrease\n\
13
+ A: Let's think step by step. We refer to Wikipedia articles on microeconomics for\
14
+ \ help. (A) and (B) are wrong because the demand curve does not change at all. If\
15
+ \ the government subsidizes producers, the supply will increase, and thus the consumer\
16
+ \ surplus also increases. The answer is (C).\n\nQ: Which of the following is true\
17
+ \ of a price floor?\n(A) The price floor shifts the demand curve to the left. (B)\
18
+ \ An effective floor creates a shortage of the good. (C) The price floor shifts\
19
+ \ the supply curve of the good to the right. (D) To be an effective floor, it must\
20
+ \ be set above the equilibrium price.\nA: Let's think step by step. We refer to\
21
+ \ Wikipedia articles on microeconomics for help. Price floor does not shift the\
22
+ \ demand or shift curve. An effective price floor should be set above the equilibrium\
23
+ \ price, otherwise the market bears and the floor does not have effective effect.\
24
+ \ The answer is (D).\n\nQ: The concentration ratio for a monopoly is\n(A) 0 (B)\
25
+ \ 5 (C) 10 (D) 100\nA: Let's think step by step. We refer to Wikipedia articles\
26
+ \ on microeconomics for help. The concentration ratio is calculated as the sum of\
27
+ \ market share of a specific number of largest companies. Monopoly means one company\
28
+ \ or entity controls the entire market, therefore, the concentration ratio is 100\
29
+ \ percent. The answer is (D).\n\nQ: In a competitive labor market for housepainters,\
30
+ \ which of the following would increase the demand for housepainters?\n(A) An effective\
31
+ \ minimum wage imposed on this labor market. (B) An increase in the price of gallons\
32
+ \ of paint. (C) An increase in the construction of new houses. (D) An increase in\
33
+ \ the price of mechanical painters so long as the output effect exceeds the substitution\
34
+ \ effect.\nA: Let's think step by step. We refer to Wikipedia articles on microeconomics\
35
+ \ for help. An increase in the construction of new houses means an increase demand\
36
+ \ of in-house painting, thus increases the demand for housepainters. The answer\
37
+ \ is (C).\n\n"
38
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
39
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
40
+ "task": "mmlu_flan_cot_fewshot_high_school_microeconomics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_physics.yaml ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_physics"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school physics.\n\nQ: A microwave oven is connected to an outlet, 120 V, and draws\
4
+ \ a current of 2 amps. At what rate is energy being used by the microwave oven?\n\
5
+ (A) 10 W (B) 30 W (C) 60 W (D) 240 W\nA: Let's think step by step. Rate of energy\
6
+ \ usage is known as power; in an dissipative electrical circuit, power is given\
7
+ \ by voltage times current. So in our case, the power is 120 V times 2 amps, or\
8
+ \ 240 W. The answer is (D).\n\nQ: A point charge, Q = +1 mC, is fixed at the origin.\
9
+ \ How much work is required to move a charge, Q = +8 µC, from the point (0, 4 meters)\
10
+ \ to the point (3 meters, 0)?\n(A) 3.5 J (B) 6.0 J (C) 22.5 J (D) 40 J\nA: Let's\
11
+ \ think step by step. To calculate the work required to move a charge from one location\
12
+ \ to another in a fixed electric field, it is enough to calculate the potential\
13
+ \ difference between the two locations. Here, the potential only depends on the\
14
+ \ distance between the charges; it’s $k q_1 q_2 / r$, where $k$ is Coulomb’s constant.\
15
+ \ Plugging in values $q_1 = $ 1 mC, $q_2 = 8 \\mu$ C, gives the answer as 5.992\
16
+ \ J, which rounds to 6 J. The answer is (B).\n\nQ: Which of the following conditions\
17
+ \ will ensure that angular momentum is conserved? I. Conservation of linear momentum\
18
+ \ II. Zero net external force III. Zero net external torque\n(A) I and II only (B)\
19
+ \ I and III only (C) II and III only (D) III only\nA: Let's think step by step.\
20
+ \ Torque is defined as the change in angular momentum; if there is zero external\
21
+ \ torque, angular momentum is conserved. The answer is (D).\n\nQ: A photocell of\
22
+ \ work function ϕ = 2eV is connected to a resistor in series. Light of frequency\
23
+ \ f = 1 × 10^15 Hz hits a metal plate of the photocell. If the power of the light\
24
+ \ is P = 100 W, what is the current through the resistor?\n(A) 2:00 AM (B) 6:00\
25
+ \ AM (C) 12:00 AM (D) 24 A\nA: Let's think step by step. The only answer above which\
26
+ \ has units of current is D, 24 A. The answer is (D).\n\nQ: A pipe full of air is\
27
+ \ closed at one end. A standing wave is produced in the pipe, causing the pipe to\
28
+ \ sound a note. Which of the following is a correct statement about the wave’s properties\
29
+ \ at the closed end of the pipe?\n(A) The pressure is at a node, but the particle\
30
+ \ displacement is at an antinode. (B) The pressure is at an antinode, but the particle\
31
+ \ displacement is at a node. (C) The pressure and the particle displacement are\
32
+ \ both at nodes. (D) The pressure and the particle displacement are both at antinodes.\n\
33
+ A: Let's think step by step. At the closed end of the pipe, the particles cannot\
34
+ \ have any net displacement because the pipe closure stops them. So the particle\
35
+ \ displacement is at a node. This closure also causes the pressure to be maximal,\
36
+ \ i.e. an antinode. The answer is (B).\n\n"
37
+ "group": "mmlu_flan_cot_fewshot_stem"
38
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
39
+ "task": "mmlu_flan_cot_fewshot_high_school_physics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_psychology.yaml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_psychology"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school psychology.\n\nQ: Pascale is interested in the processing strategies children\
4
+ \ use to learn new information. Pascale would best be classified as what type of\
5
+ \ psychologist?\n(A) sociocultural (B) clinical (C) cognitive (D) behaviorist\n\
6
+ A: Let's think step by step. We refer to Wikipedia articles on psychology for help.\
7
+ \ Sociocultural psychologist focuses on the effect of societal factors on people.\
8
+ \ Clinical psychologist focuses on people with mental issues. Cognitive psychologist\
9
+ \ focuses on how people think and learn, including the processing strategies. Behaviorist\
10
+ \ focuses more on the environment and experience effect on people. The answer is\
11
+ \ (C).\n\nQ: According to Caplan's model of consultee-centered case consultation,\
12
+ \ the consultant is primarily interested in\n(A) identifying the causes and solutions\
13
+ \ of the client's presenting problems (B) identifying and eliminating the causes\
14
+ \ of the consultee's difficulties in handling a problem (C) establishing a hierarchy\
15
+ \ of authority to enable effective decision making (D) presenting a single, well-defined\
16
+ \ and unambiguous course of action for the consultant to overcome skills deficits\n\
17
+ A: Let's think step by step. We refer to Wikipedia articles on psychology for help.\
18
+ \ Caplan defines two type of consultation. Client-centered case consultation aims\
19
+ \ to handle client's problems, while consultee-centered case consultation aims to\
20
+ \ identify the reason of client's difficulty to solve problems. The answer is (B).\n\
21
+ \nQ: According to the Individuals with Disabilities Education Improvement Act, which\
22
+ \ of the following must an educational agency do before it changes the educational\
23
+ \ placement of a student with a disability?\n(A) Give the child a trial period in\
24
+ \ the new environment (B) Notify the parents in writing (C) Obtain school board\
25
+ \ approval (D) Obtain parental consent\nA: Let's think step by step. We refer to\
26
+ \ Wikipedia articles on psychology for help. When the decision to change the educational\
27
+ \ placement of a student with a disability is made, the educational agency must\
28
+ \ notify the parents in writing on that date. The answer is (B).\n\nQ: While swimming\
29
+ \ in the ocean, Ivan is frightened by a dark shadow in the water even before he\
30
+ \ has the chance to identify what the shadow is. The synaptic connections taking\
31
+ \ place during this incident of fright are best described by which of the following?\n\
32
+ (A) Messages are sent from the thalamus directly to the amygdala. (B) Messages are\
33
+ \ sent from the thalamus to the \"what\" and \"where\" pathways. (C) Messages are\
34
+ \ sent from the parasympathetic nervous system to the cerebral cortex. (D) Messages\
35
+ \ are sent from the frontal lobes to the pituitary gland.\nA: Let's think step by\
36
+ \ step. We refer to Wikipedia articles on psychology for help. Our neural system\
37
+ \ has a mechanism that can respond immediate emotional signal before going to the\
38
+ \ thought center. In the Ivan's case, messages travel directly from thalamus to\
39
+ \ amygdala. The answer is (A).\n\nQ: Ani believes that her attitudes and behavior\
40
+ \ play a central role in what happens to her. Such a belief is likely to be associated\
41
+ \ with\n(A) a strong superego. (B) low self-esteem. (C) low self-efficacy. (D) an\
42
+ \ internal locus of control.\nA: Let's think step by step. We refer to Wikipedia\
43
+ \ articles on psychology for help. People with an external locus of control believes\
44
+ \ fate and luck play an important role in their lives, while people with an internal\
45
+ \ locus of control believes they control their lives. The answer is (D).\n\n"
46
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
47
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
48
+ "task": "mmlu_flan_cot_fewshot_high_school_psychology"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_statistics.yaml ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_statistics"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school statistics.\n\nQ: A new smartwatch is manufactured in one part of a factory,\
4
+ \ then secured for shipping in another, independent part of the factory. The weight\
5
+ \ of the smartwatch has a mean of 62 grams and a standard deviation of 1.0 grams.\
6
+ \ The weight of the packaging (box, user's guide, bubble wrap, etc.) has a mean\
7
+ \ of 456 grams and a standard deviation of 6 grams. Together, the distribution of\
8
+ \ the weight of the smartwatch and its packaging would have the following mean and\
9
+ \ standard deviation:\n(A) Mean 518 grams; standard deviation 7.0 grams (B) Mean\
10
+ \ 518 grams; standard deviation 3.5 grams (C) Mean 518 grams; standard deviation\
11
+ \ 6.1 grams (D) Mean 394 grams; standard deviation 6.1 grams\nA: Let's think step\
12
+ \ by step. Since the weight of the watch and the weight of the packaging are independent\
13
+ \ random variables, the mean and variance of their sum is equal to the sum of their\
14
+ \ individual means and variances. So the mean is 62 + 456 = 518 grams, and the variances\
15
+ \ is 1.0^2 + 6.0^2 = 37, leading to a standard deviation of 6.1 grams. The answer\
16
+ \ is (C).\n\nQ: After a frost warning was issued, the owner of a large orange grove\
17
+ \ asked his workers to spray all his trees with water. The water was supposed to\
18
+ \ freeze and form a protective covering of ice around the orange blossom. Nevertheless,\
19
+ \ the owner suspected that some trees suffered considerable damage due to the frost.\
20
+ \ To estimate the proportion of trees that suffered more than 50 percent damage\
21
+ \ due to the frost, he took a random sample of 100 trees from his grove. What is\
22
+ \ the response variable in this experiment?\n(A) The proportion of trees that suffered\
23
+ \ more than 50 percent damage due to frost. (B) The number of trees affected by\
24
+ \ the frost. (C) The number of trees sampled from the grove. (D) For each sampled\
25
+ \ tree, whether it suffered more than 50 percent damage or at most 50 percent damage.\n\
26
+ A: Let's think step by step. In this experiment, the response variable is what is\
27
+ \ measured. For each tree, what is measured is whether or not it suffered more than\
28
+ \ 50 percent damage due to the frost. The answer is (D).\n\nQ: Suppose X and Y are\
29
+ \ random variables with E(X) = 37, var(X) = 5, E(Y) = 62, and var(Y) = 12. What\
30
+ \ are the expected value and variance of the random variable X + Y?\n(A) E(X + Y)\
31
+ \ = 99, var(X + Y) = 8.5 (B) E(X + Y) = 99, var(X + Y) = 13 (C) E(X + Y) = 99, var(X\
32
+ \ + Y) = 17 (D) There is insufficient information to answer this question.\nA: Let's\
33
+ \ think step by step. While means of sums of random variables add (regardless of\
34
+ \ whether the variables are independent) in order to determine the variance of a\
35
+ \ sum of random variables, we need to know not just their individual variances but\
36
+ \ the covariance of the two variables, which is not given in this problem. The answer\
37
+ \ is (D).\n\nQ: Which of the following sets has the smallest standard deviation?\
38
+ \ Which has the largest?\nI: {1,2,3}\nII: {-10,10}\nIII: {100}\n(A) I, II (B) II,\
39
+ \ III (C) III, I (D) III, II\nA: Let's think step by step. The variance of distribution\
40
+ \ I is the expected squared deviation from its mean (which is 2), so the variance\
41
+ \ is 2/3 . The variance of distribution II is 10^2 (because both elements are 10\
42
+ \ away from the mean of zero). The variance of distribution III is 0, since it has\
43
+ \ a single entry. So distribution III has the smallest standard deviation and distribution\
44
+ \ II has the largest. The answer is (D).\n\nQ: Which of the following is a correct\
45
+ \ statement about correlation?\n(A) If the slope of the regression line is exactly\
46
+ \ 1, then the correlation is exactly 1. (B) If the correlation is 0, then the slope\
47
+ \ of the regression line is undefined. (C) Switching which variable is called x\
48
+ \ and which is called y changes the sign of the correlation. (D) The correlation\
49
+ \ r is equal to the slope of the regression line when z-scores for the y-variable\
50
+ \ are plotted against z-scores for the x-variable.\nA: Let's think step by step.\
51
+ \ Statement A is false because the slope of the regression line being exactly 1\
52
+ \ can occur even when the two variables are not perfectly correlated. Statement\
53
+ \ B is false because uncorrelated variables regression lines can have slope zero.\
54
+ \ Statement C is false because correlation is symmetric in the two random variables.\
55
+ \ The answer is (D).\n\n"
56
+ "group": "mmlu_flan_cot_fewshot_stem"
57
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
58
+ "task": "mmlu_flan_cot_fewshot_high_school_statistics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_us_history.yaml ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_us_history"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school us history.\n\nQ: This question refers to the following information.\n\
4
+ I come not to urge personal claims, nor to seek individual benefits; I appear as\
5
+ \ the advocate of those who cannot plead their own cause; I come as the friend of\
6
+ \ those who are deserted, oppressed, and desolate. In the Providence of God, I am\
7
+ \ the voice of the maniac whose piercing cries from the dreary dungeons of your\
8
+ \ jails penetrate not your Halls of Legislation. I am the Hope of the poor crazed\
9
+ \ beings who pine in the cells, and stalls, and cages, and waste rooms of your poor-houses.\
10
+ \ I am the Revelation of hundreds of wailing, suffering creatures, hidden in your\
11
+ \ private dwellings, and in pens and cabins—shut out, cut off from all healing influences,\
12
+ \ from all mind-restoring cares.… Could their melancholy histories be spread before\
13
+ \ you as revealed to my grieved spirit during the last three months, how promptly,\
14
+ \ how earnestly would you search out the most approved means of relief; how trifling,\
15
+ \ how insignificant, by comparison, would appear the sacrifices you are asked to\
16
+ \ make; how would a few dimes and dollars, gathered from each citizen, diminish\
17
+ \ in value as a possession, compared with the certain benefits and vast good to\
18
+ \ be secured for the suffering insane...by the consecration and application of a\
19
+ \ sufficient fund to the construction of a suitable hospital.…\n—Dorothea Dix, Memorial\
20
+ \ Soliciting a State Hospital for the Protection and Cure of the Insane,\nSubmitted\
21
+ \ to the General Assembly of North Carolina, November 1848\nDorothea Dix can best\
22
+ \ be compared to whom?\n(A) Abigail Adams (B) Clara Barton (C) Shirley Temple (D)\
23
+ \ Hillary Clinton\nA: Let's think step by step. We refer to Wikipedia articles on\
24
+ \ us history for help. Both Dorothea Dix and Clara barton are American nurses. The\
25
+ \ answer is (B).\n\nQ: This question refers to the following information.\n\"As\
26
+ \ our late Conduct at the Conestoga Manor and Lancaster have occasioned much Speculation\
27
+ \ & a great diversity of Sentiments in this and neighboring Governments; some vindicating\
28
+ \ & others condemning it; some charitably alleviating the Crime, & others maliciously\
29
+ \ painting it in the most odious & detestable Colours, we think it our duty to lay\
30
+ \ before the Publick, the whole Matter as it appeared, & still appears, to us. .\
31
+ \ . .\n\"If these things are not sufficient to prove an unjustifiable Attachment\
32
+ \ in the Quakers to the Indians Savages, a fixed Resolution to befriend them & an\
33
+ \ utter insensibility to human Distresses, let us consider a few more recent Facts.\
34
+ \ When we found the last Summer that we were likely to get no Assistance from the\
35
+ \ Government, some Volunteers went out at our own Expense, determined to drive our\
36
+ \ Enemies from our Borders; & when we came near to the great Island, we understood\
37
+ \ that a Number of their Warriors had gone out against our Frontiers. Upon this\
38
+ \ we returned and came up with them and fought with them at the Munfey Hill where\
39
+ \ we lost some of our Men & killed some of their Warriors & thereby saved our Frontiers\
40
+ \ from this Story in another Expedition. But no sooner had we destroyed their Provisions\
41
+ \ on the great Island, & ruined their trade with the good People at Bethlehem, but\
42
+ \ these very Indians, who were justly suspected of having murdered our Friends in\
43
+ \ Northampton County, were by the Influence of some Quakers taken under the Protection\
44
+ \ of the Government to screen them from the Resentments of the Friends and Relations\
45
+ \ of the Murdered, & to support them thro the Winter.\"\n—\"Apology of the Paxton\
46
+ \ Boys\" (pamphlet), 1764 (Note: \"apology\" in this context should be read as an\
47
+ \ explanation, not an admission of guilt or regret.\nThe sentiments expressed in\
48
+ \ the explanation above reflect which of the ongoing tensions during the colonial\
49
+ \ period of American history?\n(A) Tensions between British policies and the aspirations\
50
+ \ of North American colonists. (B) Tensions between American Indians allied with\
51
+ \ the French and those allied with the British. (C) Tensions between freed African\
52
+ \ Americans and white planters. (D) Tensions between backcountry settlers and elites\
53
+ \ within colonial America.\nA: Let's think step by step. We refer to Wikipedia articles\
54
+ \ on us history for help. After the French and Indian War, the Scotch-Irish settlers\
55
+ \ attacked American Indians. After the attacks on the Conestoga, about 250 Paxton\
56
+ \ Boys present their grievances to the Pennsylvania legislature. As mentioned in\
57
+ \ the information, the Paxton Boys cited resentiment at local elites. The answer\
58
+ \ is (D).\n\nQ: This question refers to the following information.\nOur leaders\
59
+ \ talk about stopping aggression from the north, but this was a struggle among groups\
60
+ \ of Vietnamese until we intervened. We seem bent upon saving the Vietnamese from\
61
+ \ Ho Chi Minh even if we have to kill them and demolish their country to do it.\
62
+ \ As the native people survey bombed-out villages, women and children burned by\
63
+ \ napalm, rice crops destroyed and cities overrun with our military personnel, they\
64
+ \ are doubtless saying secretly of the Vietcong guerillas and of the American forces,\
65
+ \ \"A plague on both your houses.\" … Stop the bombing, north and south, end search\
66
+ \ and destroy offensive sweeps, and confine our military action to holding operations\
67
+ \ on the ground. Bombing the north has failed to halt or seriously check the flow\
68
+ \ of troops to the south and may, in fact, have prompted a much greater war effort\
69
+ \ by Hanoi.\n—Senator George McGovern, \"The Lessons of Vietnam,\" April 25, 1967\n\
70
+ Which of the following opinions from the 1960s most directly reflects the perspective\
71
+ \ of George McGovern's speech?\n(A) Americans must maximize their technological\
72
+ \ edge in Vietnam. (B) American bombing in Vietnam is step by step leading to progress\
73
+ \ in the war. (C) American bombing in Vietnam is a failure. (D) America must not\
74
+ \ give in to defeatism about the war in Vietnam.\nA: Let's think step by step. We\
75
+ \ refer to Wikipedia articles on us history for help. \"Stop the bombing\" and \"\
76
+ Bombing the north has failed to halt or seriously check the flow of troops to the\
77
+ \ south\" indicate that the perspective of George McGovern's speech is that Amerian\
78
+ \ bombing in Vietnam is a failure. The answer is (C).\n\nQ: This question refers\
79
+ \ to the following information.\n\"In the new Code of Laws which I suppose it will\
80
+ \ be necessary for you to make I desire you would Remember the Ladies, and be more\
81
+ \ generous and favorable to them than your ancestors. Do not put such unlimited\
82
+ \ power into the hands of the Husbands. Remember all Men would be tyrants if they\
83
+ \ could. If particular care and attention is not paid to the Ladies we are determined\
84
+ \ to foment a Rebellion, and will not hold ourselves bound by any Laws in which\
85
+ \ we have no voice, or Representation.\"\nAbigail Adams, in a letter to John Adams,\
86
+ \ 1776\n\"Special legislation for woman has placed us in a most anomalous position.\
87
+ \ Women invested with the rights of citizens in one section—voters, jurors, office-holders—crossing\
88
+ \ an imaginary line, are subjects in the next. In some States, a married woman may\
89
+ \ hold property and transact business in her own name; in others, her earnings belong\
90
+ \ to her husband. In some States, a woman may testify against her husband, sue and\
91
+ \ be sued in the courts; in others, she has no redress in case of damage to person,\
92
+ \ property, or character. In case of divorce on account of adultery in the husband,\
93
+ \ the innocent wife is held to possess no right to children or property, unless\
94
+ \ by special decree of the court. But in no State of the Union has the wife the\
95
+ \ right to her own person, or to any part of the joint earnings of the co-partnership\
96
+ \ during the life of her husband. In some States women may enter the law schools\
97
+ \ and practice in the courts; in others they are forbidden. In some universities\
98
+ \ girls enjoy equal educational advantages with boys, while many of the proudest\
99
+ \ institutions in the land deny them admittance, though the sons of China, Japan\
100
+ \ and Africa are welcomed there. But the privileges already granted in the several\
101
+ \ States are by no means secure.\"\nSusan B. Anthony, \"Declaration of Rights for\
102
+ \ Women,\" July 4, 1876\nThe sentiments expressed in the second excerpt by Susan\
103
+ \ B. Anthony are most likely in support of\n(A) the Equal Rights Amendment (B) universal\
104
+ \ suffrage (C) states' rights (D) prohibition\nA: Let's think step by step. We refer\
105
+ \ to Wikipedia articles on us history for help. The above information mentioned\
106
+ \ that women are in an anomalous position in terms of legislation. Women's earnings\
107
+ \ do not belong to themselves, or they cannot testify against her husbands. Susan\
108
+ \ believes women should have equal legal rights as men. The answer is (B).\n\nQ:\
109
+ \ This question refers to the following information.\n\"Society in every state is\
110
+ \ a blessing, but government even in its best state is but a necessary evil; in\
111
+ \ its worst state an intolerable one; for when we suffer, or are exposed to the\
112
+ \ same miseries by a government, which we might expect in a country without government,\
113
+ \ our calamity is heightened by reflecting that we furnish the means by which we\
114
+ \ suffer. Government, like dress, is the badge of lost innocence; the palaces of\
115
+ \ kings are built on the ruins of the bowers of paradise. For were the impulses\
116
+ \ of conscience clear, uniform, and irresistibly obeyed, man would need no other\
117
+ \ lawgiver; but that not being the case, he finds it necessary to surrender up a\
118
+ \ part of his property to furnish means for the protection of the rest; and this\
119
+ \ he is induced to do by the same prudence which in every other case advises him\
120
+ \ out of two evils to choose the least. Wherefore, security being the true design\
121
+ \ and end of government, it unanswerably follows that whatever form thereof appears\
122
+ \ most likely to ensure it to us, with the least expense and greatest benefit, is\
123
+ \ preferable to all others.\"\nThomas Paine, Common Sense, 1776\nWhich of the following\
124
+ \ \"miseries\" alluded to above were most condemned by Anti-Federalists of the post-Revolutionary\
125
+ \ era?\n(A) Organized response to Bacon's Rebellion (B) Federal response to Shays's\
126
+ \ Rebellion (C) Federal response to the Whiskey Rebellion (D) Federal response to\
127
+ \ Pontiac's Rebellion\nA: Let's think step by step. We refer to Wikipedia articles\
128
+ \ on us history for help. Anti-Federalists do not believe centralized government\
129
+ \ power, and suspect Washington's military response to Whiskey Rebellion. Bacon's\
130
+ \ Rebellion and Pontiac's Rebellion happen before the Revolution and they can be\
131
+ \ ruled out. The answer is (C).\n\n"
132
+ "group": "mmlu_flan_cot_fewshot_humanities"
133
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
134
+ "task": "mmlu_flan_cot_fewshot_high_school_us_history"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_world_history.yaml ADDED
@@ -0,0 +1,82 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "high_school_world_history"
2
+ "description": "The following are multiple choice questions (with answers) about high\
3
+ \ school world history.\n\nQ: This question refers to the following information.\n\
4
+ \"At least one of the [world's] societies would have to somehow enormously increase\
5
+ \ its productivity [in order to achieve global hegemony]. That quantum jump would\
6
+ \ have to be made before the various scientific, technological, agricultural, and\
7
+ \ industrial revolutions on which our post-quantum-leap world rests. It could only\
8
+ \ be accomplished by exploiting the ecosystems, mineral resources, and human assets\
9
+ \ of whole continents outside the lands of the society making the jump. Western\
10
+ \ Europe did just that by means of its brutality and guns and, more important, by\
11
+ \ geographical and ecological luck.\"\nCopyright © 2015 Cambridge University Press.\n\
12
+ Alfred Crosby, historian, Ecological Imperialism, 2004\nThe \"quantum jump\" mentioned\
13
+ \ in the passage most directly contributed to which of the following developments\
14
+ \ in the period 1450–1750 C.E.?\n(A) A breakdown in trade routes through the collapse\
15
+ \ of the established state structure (B) An increase in the population of the world\
16
+ \ through more plentiful supplies of food (C) The spread of Chinese and Indian belief\
17
+ \ systems across the world (D) An increase in social unrest\nA: Let's think step\
18
+ \ by step. We refer to Wikipedia articles on world history for help. The \"quantum\
19
+ \ jump\" mentioned in the passage refers to the conquest of the New World and the\
20
+ \ Columbian Exchange. Choice (A) and (C) did not happen in history. Choice (C) refers\
21
+ \ to the human assets. The answer is (B).\n\nQ: This question refers to the following\
22
+ \ information.\n\"The struggle against neo-colonialism is not aimed at excluding\
23
+ \ the capital of the developed world from operating in less developed countries.\
24
+ \ It is aimed at preventing the financial power of the developed countries being\
25
+ \ used in such a way as to impoverish the less developed.\nNon-alignment, as practiced\
26
+ \ by Ghana and many other countries, is based on co-operation with all States whether\
27
+ \ they be capitalist, socialist or have a mixed economy. Such a policy, therefore,\
28
+ \ involves foreign investment from capitalist countries, but it must be invested\
29
+ \ in accordance with a national plan drawn up by the government of the non-aligned\
30
+ \ State with its own interests in mind. The issue is not what return the foreign\
31
+ \ investor receives on his investments…The question is one of power. A State in\
32
+ \ the grip of neo-colonialism is not master of its own destiny.\"\nKwame Nkrumah,\
33
+ \ Neo-Colonialism, 1965\nWhich of the following provides the best context for Nkrumah's\
34
+ \ writings?\n(A) The Industrial Revolution (B) Decolonization (C) Regional Free\
35
+ \ Trade Associations (D) Autarky\nA: Let's think step by step. We refer to Wikipedia\
36
+ \ articles on world history for help. The passage expresses a point that the successful\
37
+ \ fight against neo-colonialism were in danger and the newly independent nations\
38
+ \ like Ghana may be re-colonized via financial power of the developed countries.\
39
+ \ The answer is (B).\n\nQ: This question refers to the following information.\n\"\
40
+ Indeed, as both the fatwas of distinguished [scholars] who base their opinion on\
41
+ \ reason and tradition alike and the consensus of the Sunni community agree that\
42
+ \ the ancient obligation of extirpation, extermination, and expulsion of evil innovation\
43
+ \ must be the aim of our exalted aspiration, for \"Religious zeal is a victory for\
44
+ \ the Faith of God the Beneficent\"; then, in accordance with the words of the Prophet\
45
+ \ (Peace upon him!) \"Whosoever introduces evil innovation into our order must be\
46
+ \ expelled\" and \"Whosoever does aught against our order must be expelled,\" action\
47
+ \ has become necessary and exigent…\"\nLetter from Ottoman Sultan Selim I to Safavid\
48
+ \ Shah Ismail I, 1514\nThe letter from Selim I is most clearly an example of which\
49
+ \ of the following?\n(A) The maintenance of military supremacy at all costs (B)\
50
+ \ Expanding tensions between religious sects (C) Factors that brought about the\
51
+ \ collapse of the Ottoman Empire (D) Peacemaking efforts among the Islamic empires\n\
52
+ A: Let's think step by step. We refer to Wikipedia articles on world history for\
53
+ \ help. The passage is an example of expanding tensions between Selim and Ismail.\
54
+ \ In the passage the Selim references the fatwa and the consensus of the Sunni community\
55
+ \ to against whosoever introduces evil. The answer is (B).\n\nQ: This question refers\
56
+ \ to the following information.\n\"The real grievance of the worker is the insecurity\
57
+ \ of his existence; he is not sure that he will always have work, he is not sure\
58
+ \ that he will always be healthy, and he foresees that he will one day be old and\
59
+ \ unfit to work. If he falls into poverty, even if only through a prolonged illness,\
60
+ \ he is then completely helpless, exam_ins to his own devices, and society does\
61
+ \ not currently recognize any real obligation towards him beyond the usual help\
62
+ \ for the poor, even if he has been working all the time ever so faithfully and\
63
+ \ diligently. The usual help for the poor, however, leaves a lot to be desired,\
64
+ \ especially in large cities, where it is very much worse than in the country.\"\
65
+ \nOtto von Bismarck, 1884\nOtto von Bismarck likely made this speech in reaction\
66
+ \ to which of the following issues?\n(A) Social acceptance of child labor (B) Declining\
67
+ \ life expectancy in Germany (C) Criticisms of German trade tariffs (D) Negative\
68
+ \ effects attributed to industrial capitalism\nA: Let's think step by step. We refer\
69
+ \ to Wikipedia articles on world history for help. The passage talks about the grievance\
70
+ \ of the work under the industrial capitalism. The answer is (D).\n\nQ: This question\
71
+ \ refers to the following information.\nHe contains all works and desires and all\
72
+ \ perfumes and all tastes. He enfolds the whole universe and in silence is loving\
73
+ \ to all. This is the Spirit that is in my heart, this is Brahman. To him I shall\
74
+ \ come when I go beyond this life, and to him will come he who has faith and doubts\
75
+ \ not.\n—The Upanishads, India, c. 1000 BCE\nTo which religion does the speaker\
76
+ \ most likely belong?\n(A) Hinduism (B) Buddhism (C) Shintoism (D) Zoroastrianism\n\
77
+ A: Let's think step by step. We refer to Wikipedia articles on world history for\
78
+ \ help. Brahman refers to the ultimate reality of all things in the Hindu religion.\
79
+ \ In contrast, Buddhism does not have a concept of supreme God. The answer is (A).\n\n"
80
+ "group": "mmlu_flan_cot_fewshot_humanities"
81
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
82
+ "task": "mmlu_flan_cot_fewshot_high_school_world_history"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_human_aging.yaml ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "human_aging"
2
+ "description": "The following are multiple choice questions (with answers) about human\
3
+ \ aging.\n\nQ: All other things being equal, which of the following persons is more\
4
+ \ likely to show osteoporosis?\n(A) An older Hispanic American woman (B) An older\
5
+ \ African American woman (C) An older Asian American woman (D) An older Native American\
6
+ \ woman\nA: Let's think step by step. We refer to Wikipedia articles on human aging\
7
+ \ for help. Although osteoporosis can occur at any age, the risk is higher for older\
8
+ \ people. It is most common in Asian and non-Hispanic white women. The answer is\
9
+ \ (C).\n\nQ: The finding that adults tend to remember events from their adolescence\
10
+ \ better than from other periods in their lives is referred to as the\n(A) Adolescence\
11
+ \ advantage (B) Reminiscence bump (C) Memorial memorial (D) Quadratic retrieval\
12
+ \ spike\nA: Let's think step by step. We refer to Wikipedia articles on human aging\
13
+ \ for help. Reminiscence bump is a phenomenon that older adults tend to recollect\
14
+ \ events during their young ages. People usually have a period of childhood amnesia\
15
+ \ from birth to around age 5, and a reminiscence bump between 10 and 30. The answer\
16
+ \ is (B).\n\nQ: Which element in tobacco smoke is responsible for cancers?\n(A)\
17
+ \ Nicotine (B) Tar (C) Carbon monoxide (D) Smoke particles\nA: Let's think step\
18
+ \ by step. We refer to Wikipedia articles on human aging for help. The benzene,\
19
+ \ acrylamide and acrylonitrile in tar interact with the lungs and cause DNA mutations\
20
+ \ in cells of the lungs, and lead to cancer. The answer is (B).\n\nQ: When older\
21
+ \ adults move to a new state after retirement, which of the following is the more\
22
+ \ likely destination?\n(A) Texas (B) California (C) Hawaii (D) Vermont\nA: Let's\
23
+ \ think step by step. We refer to Wikipedia articles on human aging for help. Texas\
24
+ \ does not have state tax, and has low cost of living compared with the other three\
25
+ \ options. The answer is (A).\n\n"
26
+ "group": "mmlu_flan_cot_fewshot_other"
27
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
28
+ "task": "mmlu_flan_cot_fewshot_human_aging"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_human_sexuality.yaml ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "human_sexuality"
2
+ "description": "The following are multiple choice questions (with answers) about human\
3
+ \ sexuality.\n\nQ: The most common disorder among men who seek sexual therapy is:\n\
4
+ (A) premature ejaculation (B) inhibited ejaculation (C) erectile disorder (D) ejaculatory\
5
+ \ disorder\nA: Let's think step by step. We refer to Wikipedia articles on human\
6
+ \ sexuality for help. The most common type of arousal disorder for men is erectile\
7
+ \ dysfunction, meaning that a person is not able to get any physical satisfaction\
8
+ \ from sexual activity although he may be interested in it. The answer is (C).\n\
9
+ \nQ: A woman who knows she has active herpes and untreated syphilis but continues\
10
+ \ to have sex without informing her partners of her condition has, in psychoanalytic\
11
+ \ terms:\n(A) a strong ego (B) a weak superego (C) a weak id (D) a strong superego\n\
12
+ A: Let's think step by step. We refer to Wikipedia articles on human sexuality for\
13
+ \ help. A person with weak superego tends to be delinquent, criminal or have antisocial\
14
+ \ personality. The action of the woman who knows she has active venereal disease\
15
+ \ but still have sex with her partners indicate she may has antisocial personality.\
16
+ \ The answer is (B).\n\nQ: The nature of homosexual activities that occur during\
17
+ \ preadolescence include all but which of the following?\n(A) sexual intercourse\
18
+ \ (B) circle jerks (C) exhibitionism (D) touching each other's genitals\nA: Let's\
19
+ \ think step by step. We refer to Wikipedia articles on human sexuality for help.\
20
+ \ Sexual intercourse is prohibited during preadolescence. The answer is (A).\n\n\
21
+ Q: Women's ability to have multiple orgasms is primarily due to:\n(A) the fact that\
22
+ \ they do not have a refractory period. (B) the response of the inner layers of\
23
+ \ the vagina. (C) having alternating orgasms in different locations. (D) the G-Spot.\n\
24
+ A: Let's think step by step. We refer to Wikipedia articles on human sexuality for\
25
+ \ help. The refractory period is the time when a person is not able to be erect\
26
+ \ or is not interested in sex. The answer is (A).\n\nQ: Morning sickness is typically\
27
+ \ a problem:\n(A) during the first trimester (B) during the second trimester (C)\
28
+ \ during the third trimester (D) all through the pregnancy\nA: Let's think step\
29
+ \ by step. We refer to Wikipedia articles on human sexuality for help. Morning sickness\
30
+ \ usually begins by nine weeks after conception, corresponding to the first trimester.\
31
+ \ The answer is (A).\n\n"
32
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
33
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
34
+ "task": "mmlu_flan_cot_fewshot_human_sexuality"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_international_law.yaml ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "international_law"
2
+ "description": "The following are multiple choice questions (with answers) about international\
3
+ \ law.\n\nQ: How the consent to be bound of a State may be expressed?\n(A) The consent\
4
+ \ of a State to be bound is expressed only by ratification (B) The consent of a\
5
+ \ state to be bound by a treaty may be expressed by signature, ratification, acceptance,\
6
+ \ approval or accession (C) The consent of a State to be bound is expressed by signature\
7
+ \ (D) The consent of a State to be bound is expressed by whatever means they choose\n\
8
+ A: Let's think step by step. We refer to Wikipedia articles on international law\
9
+ \ for help. Article 11 of Vienna Convention on the Law of Treaties signed in 1969\
10
+ \ states that \"the consent of a State to be bound by a treaty may be expressed\
11
+ \ by signature, exchange of instruments constituting a treaty, ratification, acceptance,\
12
+ \ approval or accession, or by any other means if so agreed.\" (B) is the most precise\
13
+ \ and accurate answer. The answer is (B).\n\nQ: What is the judge ad hoc?\n(A) If\
14
+ \ a party to a contentious case before the ICJ does not have a national sitting\
15
+ \ as judge, it is entitled to nominate someone as a judge solely for that case,\
16
+ \ with the title of judge ad hoc (B) Judge ad hoc is the member of the bench of\
17
+ \ the ICJ with a casting vote (C) Judge ad hoc is a surrogate judge, in case a judge\
18
+ \ is disqualified or passes away (D) Judge ad hoc is the judge that each party will\
19
+ \ always nominate in every contentious case\nA: Let's think step by step. We refer\
20
+ \ to Wikipedia articles on international law for help. As \"ad hoc\" implies, a\
21
+ \ judge ad hoc is appointed only for a specific case or period, when a party to\
22
+ \ a contentious case before the International Court of Justice does not have a regular\
23
+ \ national sitting as judge. The answer is (A).\n\nQ: When 'consent' can serve as\
24
+ \ a circumstance precluding the wrongfulness of a State conduct?\n(A) Consent can\
25
+ \ serve as a circumstance precluding the wrongfulness whenever it is given (B) Consent\
26
+ \ can never serve as a circumstance precluding wrongfulness (C) Consent can serve\
27
+ \ as a circumstance precluding wrongfulness, provided the consent is valid and to\
28
+ \ the extent that the conduct remains within the limits of the consent given (D)\
29
+ \ Consent can always serve as a circumstance precluding wrongfulness, no matter\
30
+ \ which organ of the State gives it\nA: Let's think step by step. We refer to Wikipedia\
31
+ \ articles on international law for help. Valid consent can serve as a circumstance\
32
+ \ precluding the wrongfulness of a State conduct if the conduct remains within the\
33
+ \ limits of that consent, according to Chapter V of the Responsibility of States\
34
+ \ for Internationally Wrongful Acts, 2001, United Nations. The answer is (C).\n\n\
35
+ Q: Would a reservation to the definition of torture in the ICCPR be acceptable in\
36
+ \ contemporary practice?\n(A) This is an acceptable reservation if the reserving\
37
+ \ country's legislation employs a different definition (B) This is an unacceptable\
38
+ \ reservation because it contravenes the object and purpose of the ICCPR (C) This\
39
+ \ is an unacceptable reservation because the definition of torture in the ICCPR\
40
+ \ is consistent with customary international law (D) This is an acceptable reservation\
41
+ \ because under general international law States have the right to enter reservations\
42
+ \ to treaties\nA: Let's think step by step. We refer to Wikipedia articles on international\
43
+ \ law for help. For it contravenes the object and purpose of the ICCPR, this is\
44
+ \ an unacceptable reservation in contemporary practice. The answer is (B).\n\nQ:\
45
+ \ What types of force does Article 2(4) of the UN Charter prohibit?\n(A) Article\
46
+ \ 2(4) encompasses only armed force (B) Article 2(4) encompasses all types of force,\
47
+ \ including sanctions (C) Article 2(4) encompasses all interference in the domestic\
48
+ \ affairs of States (D) Article 2(4) encompasses force directed only against a State's\
49
+ \ territorial integrity\nA: Let's think step by step. We refer to Wikipedia articles\
50
+ \ on international law for help. Article 2(4) of the UN Charter prohibits states\
51
+ \ from using armed forces in their international relations. The answer is (A).\n\n"
52
+ "group": "mmlu_flan_cot_fewshot_humanities"
53
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
54
+ "task": "mmlu_flan_cot_fewshot_international_law"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_jurisprudence.yaml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "jurisprudence"
2
+ "description": "The following are multiple choice questions (with answers) about jurisprudence.\n\
3
+ \nQ: Iverson Jewelers wrote a letter to Miller, 'We have received an exceptionally\
4
+ \ fine self winding Rolox watch which we will sell to you at a very favorable price.'\n\
5
+ (A) The letter is an offer to sell (B) A valid offer cannot be made by letter. (C)\
6
+ \ The letter contains a valid offer which will terminate within a reasonable time.\
7
+ \ (D) The letter lacks one of the essential elements of an offer.\nA: Let's think\
8
+ \ step by step. We refer to Wikipedia articles on jurisprudence for help. An offer\
9
+ \ shows the intent to enter into a mutually-beneficial contract with specific terms.\
10
+ \ An offer can be made by a letter. While this letter indicates the willingness\
11
+ \ to sell, the lack of specific terms, such as transaction price and offer expiration\
12
+ \ date, makes it an incomplete offer. The answer is (D).\n\nQ: Functions of the\
13
+ \ law include all but which of the following?\n(A) maximizing individual freedom\
14
+ \ (B) providing a basis for compromise (C) keeping the peace (D) promoting the principles\
15
+ \ of the free enterprise system\nA: Let's think step by step. We refer to Wikipedia\
16
+ \ articles on jurisprudence for help. Laws are fundamentally about helping resolve\
17
+ \ disputes between individuals, and therefore essential for maximizing individual\
18
+ \ freedom, providing a basis for compromise, and keeping the peace. The answer is\
19
+ \ (D).\n\nQ: The ________ School of jurisprudence postulates that the law is based\
20
+ \ on what is \"correct.\"\n(A) Natural Law (B) Analytical (C) Historical (D) Sociological\n\
21
+ A: Let's think step by step. We refer to Wikipedia articles on jurisprudence for\
22
+ \ help. Natural Law School of jurisprudence focuses on the laws of nature, and states\
23
+ \ that the law should be based on ethics, morals, and what is \"correct\". Analytical\
24
+ \ deals with the law as it already exists, Historical postulates that the law was\
25
+ \ found and not made, and Sociological studies how the law and society impact each\
26
+ \ other. The answer is (A).\n\nQ: Which word best summarizes Weber's explanation\
27
+ \ of the development of formally rational law?\n(A) Authority. (B) Charisma. (C)\
28
+ \ Co-operation. (D) Capitalism.\nA: Let's think step by step. We refer to Wikipedia\
29
+ \ articles on jurisprudence for help. Weber explained the development of formal\
30
+ \ rationality in laws as how the modern society moved from tradition to rationality,\
31
+ \ where people decide actions based less on how they were culturally done and more\
32
+ \ on expected utilities. How rational individuals optimize efficiency of accomplishing\
33
+ \ tasks for higher rewards is a core principle of Capitalism. The answer is (D).\n\
34
+ \nQ: Which position does Rawls claim is the least likely to be adopted by the POP\
35
+ \ (people in the original position)?\n(A) The POP would choose equality above liberty.\
36
+ \ (B) The POP would opt for the 'maximin' strategy. (C) The POP would opt for the\
37
+ \ 'difference principle'. (D) The POP would reject the 'system of natural liberty.'\n\
38
+ A: Let's think step by step. We refer to Wikipedia articles on jurisprudence for\
39
+ \ help. The POP would opt for the 'maximin' strategy, opt for the 'difference principle',\
40
+ \ and reject the 'system of natural liberty', but the POP would not choose equality\
41
+ \ above liberty, since the POP assume both equal and free citizens. The answer is\
42
+ \ (A).\n\n"
43
+ "group": "mmlu_flan_cot_fewshot_humanities"
44
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
45
+ "task": "mmlu_flan_cot_fewshot_jurisprudence"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_logical_fallacies.yaml ADDED
@@ -0,0 +1,45 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "logical_fallacies"
2
+ "description": "The following are multiple choice questions (with answers) about logical\
3
+ \ fallacies.\n\nQ: When an arguer causes confusion during refutation because of\
4
+ \ real or feigned lack of an ability to engage in refutation, that arguer may have\
5
+ \ committed the fallacy of\n(A) poor sportsmanship (B) appeal to compassion (C)\
6
+ \ argument against the person (D) ignorance of refutation\nA: Let's think step by\
7
+ \ step. We refer to Wikipedia articles on logical fallacies for help. Ignorance\
8
+ \ of refutation, one of Aristotle's original list of logical fallacies in his Organon,\
9
+ \ is when someone causes confusion in an argument through real or feigned inability\
10
+ \ to engage in refutation, in order to win the argument. The answer is (D).\n\n\
11
+ Q: The complex question fallacy consists of\n(A) arguing something is inferior just\
12
+ \ because it doesn't do something it was never intended to do. (B) including more\
13
+ \ than one claim in the proposition and treating proof for one claim as proof for\
14
+ \ all the claims. (C) drawing a conclusion before examining the evidence, and only\
15
+ \ considering evidence that supports that conclusion. (D) asking a question that\
16
+ \ includes either an unproven assumption or more than one question, thus making\
17
+ \ a straightforward yes or no answer meaningless.\nA: Let's think step by step.\
18
+ \ We refer to Wikipedia articles on logical fallacies for help. The complex question\
19
+ \ fallacy is when someone makes a single yes or no answer to a question meaningless,\
20
+ \ by including either an unproven assumption or many questions. The latter is also\
21
+ \ known as the many questions fallacy. The answer is (D).\n\nQ: Arguing that what\
22
+ \ is true of the parts must be true of the whole is the fallacy of...\n(A) Division\
23
+ \ (B) Composition (C) Appeal to the person (D) Appeal to ignorance\nA: Let's think\
24
+ \ step by step. We refer to Wikipedia articles on logical fallacies for help. Fallacy\
25
+ \ of composition occurs when someone argues what is true of the parts must be true\
26
+ \ of the whole. The answer is (B).\n\nQ: Which of the following is true of a valid\
27
+ \ categorical syllogism?\n(A) The minor premise must deny the antecedent (B) The\
28
+ \ major premise must affirm the consequent (C) The middle term must be used in at\
29
+ \ least one premise in a universal or unqualified sense (D) All of the above\nA:\
30
+ \ Let's think step by step. We refer to Wikipedia articles on logical fallacies\
31
+ \ for help. A valid categorical syllogism must satisfy several conditions: (1) the\
32
+ \ syllogism must have exactly three terms (2) every term of the syllogism must be\
33
+ \ used twice exactly, (3) a term may be used only once in any premise, and (4) the\
34
+ \ middle term must be used in at least one premise in a universal or unqualified\
35
+ \ sense, etc. Only (C) is true. The answer is (C).\n\nQ: If someone attacks the\
36
+ \ character of an opposing arguer, instead of responding to that opponent's arguments,\
37
+ \ the first person has probably committed which of the following fallacies?\n(A)\
38
+ \ tu quoque (B) horse laugh (C) argument against the person (D) ignoratio elenchi\n\
39
+ A: Let's think step by step. We refer to Wikipedia articles on logical fallacies\
40
+ \ for help. The argument against the person fallacy occurs when someone irrelevantly\
41
+ \ attacks the character of an opposing arguer, instead of addressing that opponent's\
42
+ \ arguments. The answer is (C).\n\n"
43
+ "group": "mmlu_flan_cot_fewshot_humanities"
44
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
45
+ "task": "mmlu_flan_cot_fewshot_logical_fallacies"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_machine_learning.yaml ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "machine_learning"
2
+ "description": "The following are multiple choice questions (with answers) about machine\
3
+ \ learning.\n\nQ: Which image data augmentation is most common for natural images?\n\
4
+ (A) random crop and horizontal flip (B) random crop and vertical flip (C) posterization\
5
+ \ (D) dithering\nA: Let's think step by step. Data augmentation is used to increase\
6
+ \ the diversity of images in the training dataset. It is important that natural\
7
+ \ images are kept natural after being augmented. Vertical flips of images are not\
8
+ \ natural, so (B) is false. Posterization makes the image look like a poster and\
9
+ \ and dithering increases color depth. None of these two preserve the natural property.\
10
+ \ The only natural data augmentation technique is (A). The answer is (A).\n\nQ:\
11
+ \ Traditionally, when we have a real-valued input attribute during decision-tree\
12
+ \ learning we consider a binary split according to whether the attribute is above\
13
+ \ or below some threshold. Pat suggests that instead we should just have a multiway\
14
+ \ split with one branch for each of the distinct values of the attribute. From the\
15
+ \ list below choose the single biggest problem with Pat’s suggestion:\n(A) It is\
16
+ \ too computationally expensive. (B) It would probably result in a decision tree\
17
+ \ that scores badly on the training set and a testset. (C) It would probably result\
18
+ \ in a decision tree that scores well on the training set but badly on a testset.\
19
+ \ (D) It would probably result in a decision tree that scores well on a testset\
20
+ \ but badly on a training set.\nA: Let's think step by step. Because the input is\
21
+ \ real valued, it is unlikely that the same values appear both at training and test\
22
+ \ time. This means that while such a decision tree could yield good performance\
23
+ \ on the training data, when evaluated on the test data it will perform badly because\
24
+ \ the decision tree won’t know what to do with numbers that did not appear in the\
25
+ \ training data. The answer is (C).\n\nQ: You are reviewing papers for the World’s\
26
+ \ Fanciest Machine Learning Conference, and you see submissions with the following\
27
+ \ claims. Which ones would you consider accepting?\n(A) My method achieves a training\
28
+ \ error lower than all previous methods! (B) My method achieves a test error lower\
29
+ \ than all previous methods! (Footnote: When regularisation parameter λ is chosen\
30
+ \ so as to minimise test error.) (C) My method achieves a test error lower than\
31
+ \ all previous methods! (Footnote: When regularisation parameter λ is chosen so\
32
+ \ as to minimise cross-validaton error.) (D) My method achieves a cross-validation\
33
+ \ error lower than all previous methods! (Footnote: When regularisation parameter\
34
+ \ λ is chosen so as to minimise cross-validaton error.)\nA: Let's think step by\
35
+ \ step. In machine learning, we train with some data and fixed hyperparameters and\
36
+ \ the training error can be arbitrarily low, so (A) can’t be right. Then, one compares\
37
+ \ different hyperparameters by selecting the model with the lowest cross-validation\
38
+ \ error, this means that (B) and (D) are not the right procedure. The only relevant\
39
+ \ number after these is the test error and thus (C) is the right answer. The answer\
40
+ \ is (C).\n\nQ: A 6-sided die is rolled 15 times and the results are: side 1 comes\
41
+ \ up 0 times; side 2: 1 time; side 3: 2 times; side 4: 3 times; side 5: 4 times;\
42
+ \ side 6: 5 times. Based on these results, what is the probability of side 3 coming\
43
+ \ up when using Add-1 Smoothing?\n(A) 2.0/15 (B) 1.0/7 (C) 3.0/16 (D) 1.0/5\nA:\
44
+ \ Let's think step by step. Add-1 smoothing adds the value of one to the different\
45
+ \ counts and then normalizes the probabilities accordingly. The counts after adding\
46
+ \ one will be: side 1 comes up 1 time; side 2: 2 times; side 3: 3 times; side 4:\
47
+ \ 4 times; side 5: 5 times; side 6: 6 times. The number of sum one die rolls will\
48
+ \ be 21, so the probability of drawing a three is 3/21 = 1/7. The answer is (B).\n\
49
+ \nQ: To achieve an 0/1 loss estimate that is less than 1 percent of the true 0/1\
50
+ \ loss (with probability 95%), according to Hoeffding's inequality the IID test\
51
+ \ set must have how many examples?\n(A) around 10 examples (B) around 100 examples\
52
+ \ (C) between 100 and 500 examples (D) more than 1000 examples\nA: Let's think step\
53
+ \ by step. By the Hoeffding’s inequality, we expect that with 95% probability the\
54
+ \ in-sample and out-of-sample errors differ by epsilon when we have N samples if\
55
+ \ 2 exp(-2 epsilon^2 N)<0.05, this implies that N > -1/(2*epsilon**2) log ( 0.05/2\
56
+ \ )= log (40)*5000. Since log(40)>1, we have that one needs more than 1000 examples.\
57
+ \ The answer is (D).\n\n"
58
+ "group": "mmlu_flan_cot_fewshot_stem"
59
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
60
+ "task": "mmlu_flan_cot_fewshot_machine_learning"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_management.yaml ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "management"
2
+ "description": "The following are multiple choice questions (with answers) about management.\n\
3
+ \nQ: How can organisational structures that are characterised by democratic and\
4
+ \ inclusive styles of management be described?\n(A) Hierarchical (B) Bureaucratic\
5
+ \ (C) Flat (D) Functional\nA: Let's think step by step. We refer to Wikipedia articles\
6
+ \ on management for help. Flat organizational structures are characterized by democratic\
7
+ \ and inclusive styles of management, and have few (if any) levels of management\
8
+ \ between the workers and managers. The answer is (C).\n\nQ: Hygiene factors are\
9
+ \ associated with which writer?\n(A) Frederick Hertzberg (B) D.C. McClelland (C)\
10
+ \ Abraham Maslow (D) Douglas McGregor\nA: Let's think step by step. We refer to\
11
+ \ Wikipedia articles on management for help. Hygiene factors include compensation,\
12
+ \ company policies, supervision, interpersonal relations, and work environments.\
13
+ \ Hertzberg lists them as factors that cannot motivate employees but can minimize\
14
+ \ job dissatisfaction. The answer is (A).\n\nQ: What characteristic is not a key\
15
+ \ feature of the 'open systems' model of management?\n(A) Morale (B) Innovation\
16
+ \ (C) Growth resource (D) Adaptation\nA: Let's think step by step. We refer to Wikipedia\
17
+ \ articles on management for help. The key characteristics of an open system in\
18
+ \ management include innovation, growth resource, and adaption, but do not include\
19
+ \ morale. The answer is (A).\n\nQ: Which element of the cultural web forms regalia?\n\
20
+ (A) Symbols (B) Rituals and routines (C) Power structures (D) Control systems\n\
21
+ A: Let's think step by step. We refer to Wikipedia articles on management for help.\
22
+ \ The cultural web is a tool for mapping an organization's culture, where symbols\
23
+ \ form the regalia that visually expresses the values that the organization holds\
24
+ \ as important. The answer is (A).\n\nQ: What are the two main dimensions of the\
25
+ \ Ohio Studies into leadership?\n(A) Starting position and end position (B) Initial\
26
+ \ environment and changed environment (C) Organisational structure and conditioning\
27
+ \ (D) Initiating structure and considerations\nA: Let's think step by step. We refer\
28
+ \ to Wikipedia articles on management for help. The Ohio State Leadership Studies\
29
+ \ conducted in the 1940s identified initiating structure and consideration as the\
30
+ \ two main dimensions of leader behavior. The answer is (D).\n\n"
31
+ "group": "mmlu_flan_cot_fewshot_other"
32
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
33
+ "task": "mmlu_flan_cot_fewshot_management"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_marketing.yaml ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "marketing"
2
+ "description": "The following are multiple choice questions (with answers) about marketing.\n\
3
+ \nQ: Although the content and quality can be as controlled as direct mail, response\
4
+ \ rates of this medium are lower because of the lack of a personal address mechanism.\
5
+ \ This media format is known as:\n(A) Care lines. (B) Direct mail. (C) Inserts.\
6
+ \ (D) Door to door.\nA: Let's think step by step. We refer to Wikipedia articles\
7
+ \ on marketing for help. Door to door marketing delivers non-addressed items within\
8
+ \ all buildings within a geographic area. While it can control the content and quality\
9
+ \ as well as direct mail marketing, its response rate is lower because of the lack\
10
+ \ of a personal address mechanism. The answer is (D).\n\nQ: In an organization,\
11
+ \ the group of people tasked with buying decisions is referred to as the _______________.\n\
12
+ (A) Outsourcing unit. (B) Procurement centre. (C) Chief executive unit. (D) Decision-making\
13
+ \ unit.\nA: Let's think step by step. We refer to Wikipedia articles on marketing\
14
+ \ for help. In an organization, the group of the people tasked with buying decision\
15
+ \ is referred to as the decision-making unit. The answer is (D).\n\nQ: The single\
16
+ \ group within society that is most vulnerable to reference group influence is:\n\
17
+ (A) The older consumer who feels somewhat left out of things. (B) The married women,\
18
+ \ many of whom feel a need for stability in their lives. (C) New immigrants who\
19
+ \ really want to assimilate into their new culture. (D) Children, who base most\
20
+ \ of their buying decisions on outside influences.\nA: Let's think step by step.\
21
+ \ We refer to Wikipedia articles on marketing for help. Children, who mostly based\
22
+ \ their buying decisions on outside influences, are the single group within society\
23
+ \ that is more vulnerable to reference group influence. The answer is (D).\n\nQ:\
24
+ \ Which of the following is an assumption in Maslow's hierarchy of needs?\n(A) Needs\
25
+ \ are dependent on culture and also on social class. (B) Lower-level needs must\
26
+ \ be at least partially satisfied before higher needs can affect behaviour. (C)\
27
+ \ Needs are not prioritized or arranged in any particular order. (D) Satisfied needs\
28
+ \ are motivators, and new needs emerge when current needs remain unmet.\nA: Let's\
29
+ \ think step by step. We refer to Wikipedia articles on marketing for help. Maslow's\
30
+ \ hierarchy of needs, from the bottom upwards, are physiological (food and clothing),\
31
+ \ safety, love and belonging needs, esteem, and self-actualization. Lower-level\
32
+ \ needs must be at least partially satisfied before higher ones can affect behavior.\
33
+ \ The answer is (B).\n\nQ: _____________ is a natural outcome when combining demographic\
34
+ \ and geographic variables.\n(A) Geodemographics (B) Product differentiation. (C)\
35
+ \ ANSOFF matrix. (D) Brand management.\nA: Let's think step by step. We refer to\
36
+ \ Wikipedia articles on marketing for help. Geodemographics is a natural outcome\
37
+ \ when combining demographic and geographic variables. The answer is (A).\n\n"
38
+ "group": "mmlu_flan_cot_fewshot_other"
39
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
40
+ "task": "mmlu_flan_cot_fewshot_marketing"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_medical_genetics.yaml ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "medical_genetics"
2
+ "description": "The following are multiple choice questions (with answers) about medical\
3
+ \ genetics.\n\nQ: The stage of meiosis in which chromosomes pair and cross over\
4
+ \ is:\n(A) prophase I (B) metaphase I (C) prophase II (D) metaphase II\nA: Let's\
5
+ \ think step by step. We refer to Wikipedia articles on medical genetics for help.\
6
+ \ Prophase I is the stage of meiosis where homologous chromosomes pair with each\
7
+ \ other and exchange genetic material. The answer is (A).\n\nQ: DNA ligase is\n\
8
+ (A) an enzyme that joins fragments in normal DNA replication (B) an enzyme of bacterial\
9
+ \ origin which cuts DNA at defined base sequences (C) an enzyme that facilitates\
10
+ \ transcription of specific genes (D) an enzyme which limits the level to which\
11
+ \ a particular nutrient reaches\nA: Let's think step by step. We refer to Wikipedia\
12
+ \ articles on medical genetics for help. DNA ligase is a type of enzyme (EC 6.5.1.1)\
13
+ \ responsible for joining DNA strands together by catalyzing a phosphodiester bond.\
14
+ \ The answer is (A).\n\nQ: Which of the following conditions does not show multifactorial\
15
+ \ inheritance?\n(A) Pyloric stenosis (B) Schizophrenia (C) Spina bifida (neural\
16
+ \ tube defects) (D) Marfan syndrome\nA: Let's think step by step. We refer to Wikipedia\
17
+ \ articles on medical genetics for help. Multifactorial inheritance is when more\
18
+ \ than a single factor is responsible for causing a given trait or health problem.\
19
+ \ Genes cannot be the only factor. Marfan syndrome, on the other hand, requires\
20
+ \ only one abnormal copy of the of the Marfan gene, from one parent, to inherit\
21
+ \ the trait. The answer is (D).\n\nQ: A gene showing codominance\n(A) has both alleles\
22
+ \ independently expressed in the heterozygote (B) has one allele dominant to the\
23
+ \ other (C) has alleles tightly linked on the same chromosome (D) has alleles expressed\
24
+ \ at the same time in development\nA: Let's think step by step. We refer to Wikipedia\
25
+ \ articles on medical genetics for help. Codominance, as it relates to genetics,\
26
+ \ refers to a type of genetic inheritance where the phenotype of both the parents\
27
+ \ is easily observed in the offspring. A heterozygote is an individual having two\
28
+ \ different alleles of a gene. The answer is (A).\n\nQ: Large triplet repeat expansions\
29
+ \ can be detected by:\n(A) polymerase chain reaction. (B) single strand conformational\
30
+ \ polymorphism analysis. (C) Southern blotting. (D) Western blotting.\nA: Let's\
31
+ \ think step by step. We refer to Wikipedia articles on medical genetics for help.\
32
+ \ A Southern blot is a method in molecular biology for detecting specific DNA sequences\
33
+ \ in a sample. Large triplet repeat expansions are usually detected with this method.\
34
+ \ The answer is (C).\n\n"
35
+ "group": "mmlu_flan_cot_fewshot_other"
36
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
37
+ "task": "mmlu_flan_cot_fewshot_medical_genetics"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_miscellaneous.yaml ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "miscellaneous"
2
+ "description": "The following are multiple choice questions (with answers) about miscellaneous.\n\
3
+ \nQ: Which of these songs was a Top 10 hit for the rock band The Police?\n(A) 'Radio\
4
+ \ Ga-Ga' (B) 'Ob-la-di Ob-la-da' (C) 'De Do Do Do De Da Da Da' (D) 'In-a-Gadda-Da-Vida'\n\
5
+ A: Let's think step by step. We refer to Wikipedia for help. Radio Ga-Ga is by Queen.\
6
+ \ Ob-la-di Ob-la-da is by The Beatles. And In-a-Gadda-Da-Vida is by Iron Butterfly.\
7
+ \ Leaving 'De Do Do Do De Da Da Da' as the only song by The Police, and also a Top\
8
+ \ 10 hit. The answer is (C).\n\nQ: What place is named in the title of the 1979\
9
+ \ live album by rock legends Cheap Trick?\n(A) Budapest (B) Budokan (C) Bhutan (D)\
10
+ \ Britain\nA: Let's think step by step. We refer to Wikipedia for help. Nippon Budokan\
11
+ \ is an indoor arena in Tokyo, Japan renowned for hosting rock music concerts including\
12
+ \ Cheap Trick in 1978. 'Cheap Trick at Budokan' became the name of their album.\
13
+ \ The answer is (B).\n\nQ: What is produced during photosynthesis?\n(A) hydrogen\
14
+ \ (B) nylon (C) oxygen (D) light\nA: Let's think step by step. We refer to Wikipedia\
15
+ \ for help. Photosynthesis is the process in which green plants use the green pigment\
16
+ \ chlorophyll to synthesize foods with water and carbon dioxide. Oxygen is the byproduct\
17
+ \ of this process. The answer is (C).\n\nQ: Who is the shortest man to ever win\
18
+ \ an NBA slam dunk competition?\n(A) Anthony 'Spud' Webb (B) Michael 'Air' Jordan\
19
+ \ (C) Tyrone 'Muggsy' Bogues (D) Julius 'Dr J' Erving\nA: Let's think step by step.\
20
+ \ We refer to Wikipedia for help. In 1986, Spud Webb, standing only 5'7\" became\
21
+ \ the shortest NBA player in history to win an official slam dunk contest. The answer\
22
+ \ is (A).\n\nQ: How many axles does a standard automobile have?\n(A) one (B) two\
23
+ \ (C) four (D) eight\nA: Let's think step by step. We refer to Wikipedia for help.\
24
+ \ Most cars have two axles to rotate the wheels.. The answer is (B).\n\n"
25
+ "group": "mmlu_flan_cot_fewshot_other"
26
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
27
+ "task": "mmlu_flan_cot_fewshot_miscellaneous"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_moral_disputes.yaml ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "moral_disputes"
2
+ "description": "The following are multiple choice questions (with answers) about moral\
3
+ \ disputes.\n\nQ: Baron admits that the versions of the ticking bomb hypothetical\
4
+ \ she discusses are \"stunningly stupid,\" but she claims this is actually evidence\
5
+ \ of\n(A) the stupidity of most traditional philosophical examples. (B) a general\
6
+ \ lack of intelligence among people with advanced degrees. (C) the wrongness of\
7
+ \ torture. (D) the readiness on the part of many intelligent people to see torture\
8
+ \ as the best solution to deal with terrorism.\nA: Let's think step by step. We\
9
+ \ refer to Wikipedia articles on moral disputes for help. The ticking bomb hypothetical\
10
+ \ poses a problem where many people will die to an exploding bomb, if the hypothetical\
11
+ \ terrorist does not disclose how to defuse it. Baron sees this hypothetical as\
12
+ \ silly, but its prevalence does suggest intelligent people, particularly utilitarians,\
13
+ \ see torture as justifiable to save the lives in this scenario. The answer is (D).\n\
14
+ \nQ: A fertilized ovum is also known as\n(A) a zygote. (B) an embryo. (C) a viability.\
15
+ \ (D) a blastocyst.\nA: Let's think step by step. We refer to Wikipedia articles\
16
+ \ on moral disputes for help. Once a single sperm penetrates the layers of an egg\
17
+ \ to form a new cell, that cell is called a zygote. The answer is (A).\n\nQ: Pence\
18
+ \ compares six different cases of reproduction, from natural twinning to SCNT. What\
19
+ \ conclusion does he draw from this comparison?\n(A) SCNT is not a different kind\
20
+ \ of reproduction because there are no morally relevant differences between it and\
21
+ \ other permissible means of reproduction. (B) Because there is a low risk of harm\
22
+ \ for natural twinning, there will be a low risk of harm for SCNT. (C) both A and\
23
+ \ B (D) neither A nor B\nA: Let's think step by step. We refer to Wikipedia articles\
24
+ \ on moral disputes for help. SCNT, known as 'somatic cell nuclear transfer', is\
25
+ \ a technique in which the nucleus of a somatic (body) cell is transferred to the\
26
+ \ cytoplasm of an enucleated egg. This is used in farm animal cloning. Pence may\
27
+ \ compare this to other processes of reproduction, and see little moral separation.\
28
+ \ The answer is (A).\n\nQ: Which of the following is an intrinsic good, according\
29
+ \ to Singer?\n(A) being in the upper class (B) the ability to learn and solve problems\
30
+ \ (C) being more beautiful than most of the population (D) being shorter than average\n\
31
+ A: Let's think step by step. We refer to Wikipedia articles on moral disputes for\
32
+ \ help. Bioethicist Peter Singer sees intrinsic value as innate values conferred\
33
+ \ by oneself, for oneself. Innanimate objects can be beautiful, short, or have some\
34
+ \ valuable criteria, but capabilities are intrinsically good. The answer is (B).\n\
35
+ \nQ: According to Metz, what is wrong with consequentialist arguments against capital\
36
+ \ punishment based on African values?\n(A) It is unclear as of yet whether or not\
37
+ \ capital punishment deters harm to the community. (B) It is unclear as of yet whether\
38
+ \ or not capital punishment deters harm to any individuals. (C) Consequentialism\
39
+ \ is not supported by African values. (D) Even though consequentialism is supported\
40
+ \ by African values, no consequentialist arguments framed in terms of African values\
41
+ \ have been offered.\nA: Let's think step by step. We refer to Wikipedia articles\
42
+ \ on moral disputes for help. Thaddeus Metz is a humanities research professor focusing\
43
+ \ on ethical philosophy in South Africa. Metz has written the death penalty is unjustified\
44
+ \ as it treats individuals as incapable of communal relations. It is unclear that\
45
+ \ capital punishment is to the benefit of, or a deterrent of harm to the community.\
46
+ \ The answer is (A).\n\n"
47
+ "group": "mmlu_flan_cot_fewshot_humanities"
48
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
49
+ "task": "mmlu_flan_cot_fewshot_moral_disputes"
lm-evaluation/build/lib/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_moral_scenarios.yaml ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "moral_scenarios"
2
+ "description": "The following are multiple choice questions (with answers) about moral\
3
+ \ scenarios.\n\nQ: For which of these two scenarios does the main character (who\
4
+ \ uses I/me/my) do something clearly morally wrong, according to ordinary moral\
5
+ \ standards in the US as of 2020? Scenario 1 | I took his wallet after he harassed\
6
+ \ me at the bar. Scenario 2 | I made love to my newborn baby boy.\n(A) Wrong, Wrong\
7
+ \ (B) Wrong, Not wrong (C) Not wrong, Wrong (D) Not wrong, Not wrong\nA: Let's think\
8
+ \ step by step. We refer to Wikipedia articles on moral scenarios for help. Stealing\
9
+ \ from someone is not considered an ethical response to harrassment. And having\
10
+ \ sex with a minor is egregiously unethical. The answer is (A).\n\nQ: For which\
11
+ \ of these two scenarios does the main character (who uses I/me/my) do something\
12
+ \ clearly morally wrong, according to ordinary moral standards in the US as of 2020?\
13
+ \ Scenario 1 | I asked for a cigarette from the guy outside the store. Scenario\
14
+ \ 2 | When the security guard left his post, I pocketed a rare coin.\n(A) Wrong,\
15
+ \ Wrong (B) Wrong, Not wrong (C) Not wrong, Wrong (D) Not wrong, Not wrong\nA: Let's\
16
+ \ think step by step. We refer to Wikipedia articles on moral scenarios for help.\
17
+ \ Asking for something is not morally wrong. Stealing is morally wrong. The answer\
18
+ \ is (C).\n\nQ: For which of these two scenarios does the main character (who uses\
19
+ \ I/me/my) do something clearly morally wrong, according to ordinary moral standards\
20
+ \ in the US as of 2020? Scenario 1 | During the house's demolition, I pushed him\
21
+ \ into a wall. Scenario 2 | When I choose a babysitter for my twin nieces, I don't\
22
+ \ care about her racial background.\n(A) Wrong, Wrong (B) Wrong, Not wrong (C) Not\
23
+ \ wrong, Wrong (D) Not wrong, Not wrong\nA: Let's think step by step. We refer to\
24
+ \ Wikipedia articles on moral scenarios for help. Physical violence is morally wrong.\
25
+ \ Being open to hiring people from different racial backgrounds is an expected moral\
26
+ \ stance. The answer is (B).\n\nQ: For which of these two scenarios does the main\
27
+ \ character (who uses I/me/my) do something clearly morally wrong, according to\
28
+ \ ordinary moral standards in the US as of 2020? Scenario 1 | I bought an old pick-up\
29
+ \ truck for work. Scenario 2 | I looked up at the gorgeous waterfall and threw a\
30
+ \ rock at it.\n(A) Wrong, Wrong (B) Wrong, Not wrong (C) Not wrong, Wrong (D) Not\
31
+ \ wrong, Not wrong\nA: Let's think step by step. We refer to Wikipedia articles\
32
+ \ on moral scenarios for help. Neither of these are wrong as no one is wronged by\
33
+ \ buing a pick-up truck or throwing a rock into a stream. The answer is (D).\n\n\
34
+ Q: For which of these two scenarios does the main character (who uses I/me/my) do\
35
+ \ something clearly morally wrong, according to ordinary moral standards in the\
36
+ \ US as of 2020? Scenario 1 | I really loved my newborn baby boy. Scenario 2 | The\
37
+ \ new girl is embarrassed to live in a trailer park, so I invite the class to her\
38
+ \ house.\n(A) Wrong, Wrong (B) Wrong, Not wrong (C) Not wrong, Wrong (D) Not wrong,\
39
+ \ Not wrong\nA: Let's think step by step. We refer to Wikipedia articles on moral\
40
+ \ scenarios for help. Loving someone is not wrong. However, exposing something that\
41
+ \ someone is embarrassed about could be considered quite mean. The answer is (C).\n\n"
42
+ "group": "mmlu_flan_cot_fewshot_humanities"
43
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
44
+ "task": "mmlu_flan_cot_fewshot_moral_scenarios"