applied-ai-018 commited on
Commit
234b9f4
·
verified ·
1 Parent(s): 000e572

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/lm_eval/tasks/mmlu/flan_cot_fewshot/_cot_prompts.json +0 -0
  2. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_abstract_algebra.yaml +41 -0
  3. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_anatomy.yaml +57 -0
  4. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_astronomy.yaml +55 -0
  5. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_clinical_knowledge.yaml +35 -0
  6. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_chemistry.yaml +38 -0
  7. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_computer_science.yaml +79 -0
  8. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_physics.yaml +44 -0
  9. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_conceptual_physics.yaml +33 -0
  10. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_elementary_mathematics.yaml +41 -0
  11. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_formal_logic.yaml +53 -0
  12. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_biology.yaml +54 -0
  13. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_chemistry.yaml +50 -0
  14. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_computer_science.yaml +71 -0
  15. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_european_history.yaml +169 -0
  16. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_geography.yaml +37 -0
  17. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_government_and_politics.yaml +43 -0
  18. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_macroeconomics.yaml +37 -0
  19. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_mathematics.yaml +37 -0
  20. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_microeconomics.yaml +40 -0
  21. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_physics.yaml +39 -0
  22. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_high_school_psychology.yaml +48 -0
  23. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_international_law.yaml +54 -0
  24. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_logical_fallacies.yaml +45 -0
  25. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_machine_learning.yaml +60 -0
  26. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_management.yaml +33 -0
  27. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_marketing.yaml +40 -0
  28. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_miscellaneous.yaml +27 -0
  29. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_moral_disputes.yaml +49 -0
  30. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_nutrition.yaml +48 -0
  31. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_philosophy.yaml +30 -0
  32. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_prehistory.yaml +42 -0
  33. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_professional_medicine.yaml +70 -0
  34. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_professional_psychology.yaml +48 -0
  35. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_security_studies.yaml +86 -0
  36. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_sociology.yaml +43 -0
  37. lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_virology.yaml +31 -0
  38. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/_mmlu.yaml +6 -0
  39. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_abstract_algebra.yaml +6 -0
  40. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_anatomy.yaml +6 -0
  41. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_astronomy.yaml +6 -0
  42. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_business_ethics.yaml +6 -0
  43. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_clinical_knowledge.yaml +6 -0
  44. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_mathematics.yaml +6 -0
  45. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_medicine.yaml +6 -0
  46. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_computer_security.yaml +6 -0
  47. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_conceptual_physics.yaml +6 -0
  48. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_electrical_engineering.yaml +6 -0
  49. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_elementary_mathematics.yaml +6 -0
  50. lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_global_facts.yaml +6 -0
lm-evaluation/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/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/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/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/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/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_college_chemistry.yaml ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "college_chemistry"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ chemistry.\n\nQ: 3 Cl−(aq) + 4 CrO_4^2−(aq) + 23 H+(aq) → 3 HClO2(aq) + 4 Cr3+(aq)\
4
+ \ + 10 H2O(l). In the reaction shown above, Cl−(aq) behaves as\n(A) an acid (B)\
5
+ \ a base (C) a catalyst (D) a reducing agent\nA: Let's think step by step. A molecule\
6
+ \ that behaves as a base accepts an H+ ion (or proton) from another molecule, whereas\
7
+ \ a molecule that behaves as an acid donates an H+ ion (or proton) to another molecule.\
8
+ \ Neither of these is the case for Cl in this reaction, which rules out (A) and\
9
+ \ (B). A catalyst is a substance that only accelerates a reaction without itself\
10
+ \ undergoing chemical change, which is not the case here. This rules out (C). Instead,\
11
+ \ the $Cl^{-} molecules carry a negative charge, which they donate in the reaction\
12
+ \ to form 3 HClO2. This is the behavior of a reducing agent, or (D). The answer\
13
+ \ is (D).\n\nQ: Which of the following statements about the lanthanide elements\
14
+ \ is NOT true?\n(A) The most common oxidation state for the lanthanide elements\
15
+ \ is +3. (B) Lanthanide complexes often have high coordination numbers (> 6). (C)\
16
+ \ All of the lanthanide elements react with aqueous acid to liberate hydrogen. (D)\
17
+ \ The atomic radii of the lanthanide elements increase across the period from La\
18
+ \ to Lu.\nA: Let's think step by step. The atomic radii of the lanthanide elements\
19
+ \ in fact decrease across the period from La to Lu. Options (A), (B), and (C) are\
20
+ \ all true. This means that only (D) is NOT true. The answer is (D).\n\nQ: Which\
21
+ \ of the following lists the hydrides of group-14 elements in order of thermal stability,\
22
+ \ from lowest to highest?\n(A) PbH4 < SnH4 < GeH4 < SiH4 < CH4 (B) PbH4 < SnH4 <\
23
+ \ CH4 < GeH4 < SiH4 (C) CH4 < SiH4 < GeH4 < SnH4 < PbH4 (D) CH4 < PbH4 < GeH4 <\
24
+ \ SnH4 < SiH4\nA: Let's think step by step. The thermal stability of group-14 hydrides\
25
+ \ decreases as we move from the top of group 14 to the bottom. The order of elements\
26
+ \ in the group from top to bottom is C, Si, Ge, Sn, Pb. Therefore in order of increasing\
27
+ \ thermal stability we have PbH4, SnH4, GeH4, SiH4, and CH4, or answer (A). The\
28
+ \ answer is (A).\n\nQ: Predict the number of lines in the EPR spectrum of a solution\
29
+ \ of 13C-labelled methyl radical (13CH3•), assuming the lines do not overlap.\n\
30
+ (A) 4 (B) 3 (C) 6 (D) 24 (E) 8\nA: Let's think step by step. The electron paramagnetic\
31
+ \ resonance spectrum will be split by two forms of interactions. The first is the\
32
+ \ hyperfine interaction with the 13C (nuclear spin $I = \nrac{1}{2}$) which will\
33
+ \ split the spectrum into 2 lines. This will be further split into 4 lines by the\
34
+ \ interaction with three equivalent 1H nuclei. The total number of lines is therefore\
35
+ \ $2 \\cdot 4 = 8$. The answer is (E).\n\n"
36
+ "group": "mmlu_flan_cot_fewshot_stem"
37
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
38
+ "task": "mmlu_flan_cot_fewshot_college_chemistry"
lm-evaluation/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_nutrition.yaml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "nutrition"
2
+ "description": "The following are multiple choice questions (with answers) about nutrition.\n\
3
+ \nQ: What is the first-line drug for patients with type 2 diabetes and obesity,\
4
+ \ as of 2020?\n(A) Acarbose (B) Metformin (C) Sulphonylureas (D) Insulin\nA: Let's\
5
+ \ think step by step. We refer to Wikipedia articles on nutrition for help. Metformin\
6
+ \ (Fortamet, Glumetza, or others) is usually the first medication prescribed for\
7
+ \ type 2 diabetes, as well as obesity. It works by lowering glucose production in\
8
+ \ the liver and improving the body's sensitivity to insulin. The answer is (B).\n\
9
+ \nQ: Which of the following statements is correct (according to knowledge in 2020)?\n\
10
+ (A) Consumers with phenylketonuria must avoid the consumption of the sweetener aspartame\
11
+ \ (B) Consumers with phenylketonuria must avoid the consumption of the sweetener\
12
+ \ saccharin (C) Consumers with phenylketonuria must avoid the consumption of the\
13
+ \ sweetener sucralose (D) Consumers with phenylketonuria must avoid the consumption\
14
+ \ of the sweetener acesulfame K\nA: Let's think step by step. We refer to Wikipedia\
15
+ \ articles on nutrition for help. People with phenylketonuria (PKU) cannot break\
16
+ \ down the amino acid phenylalanine. As it builds up in the blood and brain it can\
17
+ \ lead to brain damage. People with PKU should avoid foods that are converted to\
18
+ \ phenylalanine in the body, such as aspartame. The answer is (A).\n\nQ: Which of\
19
+ \ the following statements about iodine is correct, as of 2020?\n(A) 50% of adults\
20
+ \ consume iodine at levels below the RNI (B) Dairy products are a poor source of\
21
+ \ iodine (C) The iodine content of organic milk is generally lower that the level\
22
+ \ in non-organic milk (D) UK dietary reference values recommend an increase in iodine\
23
+ \ intake in pregnancy\nA: Let's think step by step. We refer to Wikipedia articles\
24
+ \ on nutrition for help. Organic milk usually has less iodine content than non-organic\
25
+ \ milk. The answer is (C).\n\nQ: Which of the following is the most plausible explanation\
26
+ \ for the protective effect of dietary fibre against cancer of the colon, as of\
27
+ \ 2020?\n(A) Propionic acid, formed during colonic fibre fermentation inhibits liver\
28
+ \ fatty acid synthesis (B) Butyric acid, formed during colonic fibre fermentation\
29
+ \ stimulates \"silencing\" of the SLC5A8 tumour suppressor gene (C) None of these\
30
+ \ options are correct (D) Butyric acid, formed during colonic fibre fermentation\
31
+ \ stimulates anti-oxidant defences in the colon\nA: Let's think step by step. We\
32
+ \ refer to Wikipedia articles on nutrition for help. Dietary fibre is inversely\
33
+ \ proportional to the risk of colorectal cancer. This is presumed because butyric\
34
+ \ acid (BA) stimulates antioxidants which help protect the colon from cancerous\
35
+ \ tumors. The answer is (D).\n\nQ: In a cohort study, the risk ratio of developing\
36
+ \ diabetes was 0.86 when comparing consumers of tea (the exposed) to those who did\
37
+ \ not drink tea (the unexposed). Which one statement is correct (according to knowledge\
38
+ \ in 2020)?\n(A) The tea drinkers have lower risk of developing diabetes. (B) The\
39
+ \ tea drinkers have higher risk of developing diabetes. (C) Based on the information\
40
+ \ given we cannot tell if the observed difference in disease risk is the result\
41
+ \ of chance. (D) The risk ratio is close to the value one, so there is no difference\
42
+ \ in disease risk between the two groups.\nA: Let's think step by step. We refer\
43
+ \ to Wikipedia articles on nutrition for help. The risk ratio is not sufficiently\
44
+ \ reduced that it could not be explained by random chance given the studies sample\
45
+ \ size. The answer is (C).\n\n"
46
+ "group": "mmlu_flan_cot_fewshot_other"
47
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
48
+ "task": "mmlu_flan_cot_fewshot_nutrition"
lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_philosophy.yaml ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "philosophy"
2
+ "description": "The following are multiple choice questions (with answers) about philosophy.\n\
3
+ \nQ: The study of reality in the broadest sense, an inquiry into the elemental nature\
4
+ \ of the universe and the things in it, is known as _____.\n(A) metaphysics (B)\
5
+ \ epistemology (C) quantum physics (D) axiology\nA: Let's think step by step. We\
6
+ \ refer to Wikipedia articles on philosophy for help. Among the options, only metaphysics\
7
+ \ studies the nature of reality and existence. The answer is (A).\n\nQ: According\
8
+ \ to Moore’s “ideal utilitarianism,” the right action is the one that brings about\
9
+ \ the greatest amount of:\n(A) pleasure. (B) happiness. (C) good. (D) virtue.\n\
10
+ A: Let's think step by step. We refer to Wikipedia articles on philosophy for help.\
11
+ \ Moore's \"ideal utilitarianism\" states that one's actions should maximize intrinsic\
12
+ \ goods. The answer is (C).\n\nQ: Before Tolstoy's Christian conversion, what was\
13
+ \ his perspective on the meaning of life?\n(A) optimist (B) satisfied (C) nominally\
14
+ \ religious (D) pessimist\nA: Let's think step by step. We refer to Wikipedia articles\
15
+ \ on philosophy for help. Before his conversion, Tolstoy feels that life was uncertain,\
16
+ \ which is a pessimist's point of view. The answer is (D).\n\nQ: According to d'Holbach,\
17
+ \ people always act according to _____.\n(A) free choices (B) dictates of the soul\
18
+ \ (C) necessary natural laws (D) undetermined will\nA: Let's think step by step.\
19
+ \ We refer to Wikipedia articles on philosophy for help. d'Holbach believes that\
20
+ \ people act according to necessary laws, and it proves nothing about people's free\
21
+ \ will. The answer is (C).\n\nQ: Psychological egoism is:\n(A) an ethical theory\
22
+ \ about how we ought to behave. (B) a generalization concerning the way people tend\
23
+ \ to behave. (C) a claim about human nature and the ways people are capable of behaving.\
24
+ \ (D) none of the above.\nA: Let's think step by step. We refer to Wikipedia articles\
25
+ \ on philosophy for help. Psychological egoism suggests that one behaves based on\
26
+ \ what makes one feels good, hence it is a claim about human nature and how humans\
27
+ \ are capable of behaving. The answer is (C).\n\n"
28
+ "group": "mmlu_flan_cot_fewshot_humanities"
29
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
30
+ "task": "mmlu_flan_cot_fewshot_philosophy"
lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_prehistory.yaml ADDED
@@ -0,0 +1,42 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "prehistory"
2
+ "description": "The following are multiple choice questions (with answers) about prehistory.\n\
3
+ \nQ: What is the approximate mean cranial capacity of Homo erectus?\n(A) under 650\
4
+ \ cc (B) about 800 cc (C) just under 1000 cc (D) 1200 cc\nA: Let's think step by\
5
+ \ step. We refer to Wikipedia articles on prehistory for help. The average cranium\
6
+ \ capacity of Homo erectus is less than 1000 cubic cm. The answer is (C).\n\nQ:\
7
+ \ According to Timothy Pauketat, the evidence for social stratification and political\
8
+ \ power at Cahokia suggests:\n(A) a center of Mississippian civilization with conditions\
9
+ \ similar to the rise of early states. (B) the limitations of authority in a Native\
10
+ \ American society of egalitarian foragers. (C) a simple chiefdom or perhaps a complex\
11
+ \ chiefdom had evolved by A.D. 1500. (D) a center of Mississippian civilization\
12
+ \ with conditions similar to societies on the Northwest Coast of North America.\n\
13
+ A: Let's think step by step. We refer to Wikipedia articles on prehistory for help.\
14
+ \ Timothy Pauketat is known for his research on Cahokia, the center of the Mississippian\
15
+ \ culture, where he found similar conditions to the rise of early states. The answer\
16
+ \ is (A).\n\nQ: Recent research on hominid species dating from the Middle Pliocene\
17
+ \ indicates there was (as of 2020):\n(A) a great amount of species diversity, or\
18
+ \ a single species that exhibited a lot of diversity. (B) very little species diversity\
19
+ \ during this period and very few hominids. (C) decreased species diversity due\
20
+ \ to a prolonged ice age followed by a severe drought. (D) decreased species diversity\
21
+ \ but increased numbers of hammerstones and flakes, indicating stone tool manufacture.\n\
22
+ A: Let's think step by step. We refer to Wikipedia articles on prehistory for help.\
23
+ \ Recent research has recognized multiple hominid species from the Middle Pliocene,\
24
+ \ meaning that there is a great amount of species diversity or diversity in a single\
25
+ \ species. The answer is (A).\n\nQ: Researchers now believe that the decline of\
26
+ \ the Maya was caused chiefly by:\n(A) a cataclysm of some kind, such as an earthquake,\
27
+ \ volcano, or tsunami. (B) ecological degradation resulting from slash-and-burn\
28
+ \ farming techniques. (C) endless wars between neighboring Mayan city-states. (D)\
29
+ \ practices of interbreeding that led to a steep rise in congenital disorders.\n\
30
+ A: Let's think step by step. We refer to Wikipedia articles on prehistory for help.\
31
+ \ Researchers believe that the Maya collapse was mainly caused by over-exploitation\
32
+ \ of natural resources like the slash-and-burn farming techniques. The answer is\
33
+ \ (B).\n\nQ: The great Mayan king Pacal built temples in the city of Palenque in\
34
+ \ order to:\n(A) satisfy the powerful Mayan astronomer priests. (B) display his\
35
+ \ generosity to the common people, since they were allowed to live in the temples.\
36
+ \ (C) frighten away enemies, in particular the Spaniards. (D) legitimize his kingship,\
37
+ \ since his father was not royal.\nA: Let's think step by step. We refer to Wikipedia\
38
+ \ articles on prehistory for help. Pacal built the temples as the funerary monument\
39
+ \ to legitimize his kingship. The answer is (D).\n\n"
40
+ "group": "mmlu_flan_cot_fewshot_humanities"
41
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
42
+ "task": "mmlu_flan_cot_fewshot_prehistory"
lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_professional_medicine.yaml ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "professional_medicine"
2
+ "description": "The following are multiple choice questions (with answers) about professional\
3
+ \ medicine.\n\nQ: A 22-year-old male marathon runner presents to the office with\
4
+ \ the complaint of right-sided rib pain when he runs long distances. Physical examination\
5
+ \ reveals normal heart and lung findings and an exhalation dysfunction at ribs 4-5\
6
+ \ on the right. Which of the following muscles or muscle groups will be most useful\
7
+ \ in correcting this dysfunction utilizing a direct method?\n(A) anterior scalene\
8
+ \ (B) latissimus dorsi (C) pectoralis minor (D) quadratus lumborum\nA: Let's think\
9
+ \ step by step. We refer to Wikipedia articles on medicine for help. Among the options,\
10
+ \ only pectoralis minor muscle origins from the outer surfaces of the 3rd to 5th\
11
+ \ ribs. The answer is (C).\n\nQ: A 36-year-old male presents to the office with\
12
+ \ a 3-week history of low back pain. He denies any recent trauma but says that he\
13
+ \ climbs in and out of his truck numerous times a day for his job. Examination of\
14
+ \ the patient in the prone position reveals a deep sacral sulcus on the left, a\
15
+ \ posterior inferior lateral angle on the right, and a lumbosacral junction that\
16
+ \ springs freely on compression. The most likely diagnosis is\n(A) left-on-left\
17
+ \ sacral torsion (B) left-on-right sacral torsion (C) right unilateral sacral flexion\
18
+ \ (D) right-on-right sacral torsion\nA: Let's think step by step. We refer to Wikipedia\
19
+ \ articles on medicine for help. The deep sulcus on the left, a posterior ILA on\
20
+ \ the right, with a negative spring test suggests a right-on-right sacral torsion.\
21
+ \ All other options have a deep sulcus on the right. The answer is (D).\n\nQ: A\
22
+ \ 44-year-old man comes to the office because of a 3-day history of sore throat,\
23
+ \ nonproductive cough, runny nose, and frontal headache. He says the headache is\
24
+ \ worse in the morning and ibuprofen does provide some relief. He has not had shortness\
25
+ \ of breath. Medical history is unremarkable. He takes no medications other than\
26
+ \ the ibuprofen for pain. Vital signs are temperature 37.4°C (99.4°F), pulse 88/min,\
27
+ \ respirations 18/min, and blood pressure 120/84 mm Hg. Examination of the nares\
28
+ \ shows erythematous mucous membranes. Examination of the throat shows erythema\
29
+ \ and follicular lymphoid hyperplasia on the posterior oropharynx. There is no palpable\
30
+ \ cervical adenopathy. Lungs are clear to auscultation. Which of the following is\
31
+ \ the most likely cause of this patient's symptoms?\n(A) Allergic rhinitis (B) Epstein-Barr\
32
+ \ virus (C) Mycoplasma pneumonia (D) Rhinovirus\nA: Let's think step by step. We\
33
+ \ refer to Wikipedia articles on medicine for help. The symptoms, especially the\
34
+ \ headache, suggest that the most likely cause is Rhinovirus. Epstein-Barr virus\
35
+ \ will cause swollen lymph nodes but there is no palpable cervical adenopathy. Lungs\
36
+ \ are clear to auscultation suggests it's not Mycoplasma pneumonia. The answer is\
37
+ \ (D).\n\nQ: A previously healthy 32-year-old woman comes to the physician 8 months\
38
+ \ after her husband was killed in a car crash. Since that time, she has had a decreased\
39
+ \ appetite and difficulty falling asleep. She states that she is often sad and cries\
40
+ \ frequently. She has been rechecking the door lock five times before leaving her\
41
+ \ house and has to count exactly five pieces of toilet paper before she uses it.\
42
+ \ She says that she has always been a perfectionist but these urges and rituals\
43
+ \ are new. Pharmacotherapy should be targeted to which of the following neurotransmitters?\n\
44
+ (A) Dopamine (B) Glutamate (C) Norepinephrine (D) Serotonin\nA: Let's think step\
45
+ \ by step. We refer to Wikipedia articles on medicine for help. The patient feels\
46
+ \ sad and among the options, only Dopamine and Serotonin can help increase positive\
47
+ \ emotions. Serotonin also affects digestion and metabolism, which can help the\
48
+ \ patient's decreased appetite and sleep difficulty. The answer is (D).\n\nQ: A\
49
+ \ 42-year-old man comes to the office for preoperative evaluation prior to undergoing\
50
+ \ adrenalectomy scheduled in 2 weeks. One month ago, he received care in the emergency\
51
+ \ department for pain over his right flank following a motor vehicle collision.\
52
+ \ At that time, blood pressure was 160/100 mm Hg and CT scan of the abdomen showed\
53
+ \ an incidental 10-cm left adrenal mass. Results of laboratory studies, including\
54
+ \ complete blood count, serum electrolyte concentrations, and liver function tests,\
55
+ \ were within the reference ranges. The patient otherwise had been healthy and had\
56
+ \ never been told that he had elevated blood pressure. He takes no medications.\
57
+ \ A follow-up visit in the office 2 weeks ago disclosed elevated urinary normetanephrine\
58
+ \ and metanephrine and plasma aldosterone concentrations. The patient was referred\
59
+ \ to a surgeon, who recommended the adrenalectomy. Today, vital signs are temperature\
60
+ \ 36.6°C (97.9°F), pulse 100/min, respirations 14/min, and blood pressure 170/95\
61
+ \ mm Hg. Physical examination discloses no significant findings. Initial preoperative\
62
+ \ preparation should include treatment with which of the following?\n(A) Labetalol\
63
+ \ (B) A loading dose of potassium chloride (C) Nifedipine (D) Phenoxybenzamine\n\
64
+ A: Let's think step by step. We refer to Wikipedia articles on medicine for help.\
65
+ \ The symptoms and the adrenal mass suggested pheochromocytoma, and the blood pressure\
66
+ \ indicates hypertension. Phenoxybenzamine is used to treat hypertension caused\
67
+ \ by pheochromocytoma. The answer is (D).\n\n"
68
+ "group": "mmlu_flan_cot_fewshot_other"
69
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
70
+ "task": "mmlu_flan_cot_fewshot_professional_medicine"
lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_professional_psychology.yaml ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "professional_psychology"
2
+ "description": "The following are multiple choice questions (with answers) about professional\
3
+ \ psychology.\n\nQ: In the construction of a multiple regression equation for purposes\
4
+ \ of prediction, the optimal combination of measures is one in which the predictors\n\
5
+ (A) are uncorrelated with each other but are moderately correlated with the criterion\
6
+ \ (B) have low correlations with each other and low correlations with the criterion\
7
+ \ (C) are highly intercorrelated with each other and moderately correlated with\
8
+ \ the criterion (D) have low correlations with the criterion bur are moderately\
9
+ \ correlated with each other\nA: Let's think step by step. We refer to Wikipedia\
10
+ \ articles on psychology for help. The basis of multiple regression is to assess\
11
+ \ the relationship between one continuous variable and a set of independent variables.\
12
+ \ So the predictors should be uncorrelated with each other but are moderately correlated\
13
+ \ with the criterion. The answer is (A).\n\nQ: There are three ways to measure the\
14
+ \ Central Tendency: the Mean, the Median and the Mode. From your knowledge about\
15
+ \ them, what is the mode?\n(A) less sensitive to extreme scores than the mean (B)\
16
+ \ more useful for skewed distributions (C) sensitive to extreme values and highly\
17
+ \ skewed distributions (D) the most frequently occurring number\nA: Let's think\
18
+ \ step by step. We refer to Wikipedia articles on psychology for help. The definition\
19
+ \ of mode is the most frequently occurring number. The answer is (D).\n\nQ: Carl\
20
+ \ Jung believed that a client's transference:\n(A) is a fantasy that distracts the\
21
+ \ client from reality. (B) represents “mixed feelings” toward the therapist. (C)\
22
+ \ \"is a form of \"\"acting out.\"\"\" (D) reflects the client’s personal and collective\
23
+ \ unconscious.\nA: Let's think step by step. We refer to Wikipedia articles on psychology\
24
+ \ for help. Transference is a phenomenon that a person's feelings are unconsciously\
25
+ \ redirected, so it reflects the client's personal and collective unconscious. The\
26
+ \ answer is (D).\n\nQ: In terms of Hofstede’s (1980) five cultural dimensions, the\
27
+ \ United States scores at the top of the scale on:\n(A) individualism. (B) individualism\
28
+ \ and power distance. (C) power distance and masculinity. (D) uncertainty avoidance.\n\
29
+ A: Let's think step by step. We refer to Wikipedia articles on psychology for help.\
30
+ \ US scores highest on individualism among the five cultural dimensions. The answer\
31
+ \ is (A).\n\nQ: One of your therapy clients asks your advice about a good weight-\
32
+ \ reduction program. You have investigated the programs in the community and are\
33
+ \ enrolled in the one you consider the best. This program offers a $50 bonus to\
34
+ \ its patrons for each new person they bring into the program. Under these circumstances,\
35
+ \ your most appropriate response would be to\n(A) tell your client the pros and\
36
+ \ cons of each program you know about except for the one in which you are enrolled\
37
+ \ (B) recommend to your client the program in which you are enrolled and explain\
38
+ \ the $50 bonus you will receive (C) recommend to your client the program in which\
39
+ \ you are enrolled and offer to have the $50 bonus credited to your client's account\
40
+ \ in the program (D) tell your client the pros and cons of each program you know\
41
+ \ about, but do not claim the $50 bonus if your client enrolls in your program\n\
42
+ A: Let's think step by step. We refer to Wikipedia articles on psychology for help.\
43
+ \ Based on the circumstances, you should tell your client about the pros and cons\
44
+ \ of each program, but it would be inappropriate to receive the bonus, so you should\
45
+ \ not claim the $50 bonus. 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_professional_psychology"
lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_security_studies.yaml ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "security_studies"
2
+ "description": "The following are multiple choice questions (with answers) about security\
3
+ \ studies.\n\nQ: What are the frameworks of analysis within which terrorism has\
4
+ \ been considered (as of 2020)?\n(A) Competition between larger nations has resulted\
5
+ \ in some countries actively supporting terrorist groups to undermine the strength\
6
+ \ of rival states. Terrorist networks are extended patronage clubs maintained and\
7
+ \ paid for by their donor states and are conceptualised as being like state actors,\
8
+ \ to be dealt with using military force. (B) Globalization has enabled the internationalization\
9
+ \ of terrorist activities by opening up their operational space, although coordination\
10
+ \ is still managed from a geographical base. This suggests that terrorist groups\
11
+ \ are nationally structured which means that terrorism cannot be considered in terms\
12
+ \ of a war to be defeated militarily without having serious implications on the\
13
+ \ indigenous population. (C) Terrorism can be viewed as a problem to be resolved\
14
+ \ by military means (war on terrorism), by normal police techniques (terrorism as\
15
+ \ crime), or as a medical problem with underlying causes and symptoms (terrorism\
16
+ \ as disease). (D) Terrorism is viewed as a criminal problem. The criminalization\
17
+ \ of terrorism has two important implications. Firstly, it suggests that terrorism\
18
+ \ can be eradicated - terrorists can be caught and brought to trial by normal judicial\
19
+ \ proceedings thereby removing the threat from society - and secondly, it suggests\
20
+ \ that preventative crime techniques are applicable to prevent its development.\n\
21
+ A: Let's think step by step. We refer to Wikipedia articles on security studies\
22
+ \ for help. (A) is wrong because it is not competition between larger nations that\
23
+ \ causes terrorism. \n(B) is wrong because globalization is not the cause of terrorism.\n\
24
+ (C) is correct because the US undertook the war on terrorism. \n(D) is wrong because\
25
+ \ preventative crime techniques will likely not end terrorism. The answer is (C).\n\
26
+ \nQ: Which of the following is the best lens through which to investigate the role\
27
+ \ of child soldiers?\n(A) Child soldiers are victims of combat that need re-education\
28
+ \ and rehabilitation. (B) Children and their mothers are not active subjects in\
29
+ \ warfare and are best considered as subjects in the private sphere. (C) Children\
30
+ \ are most often innocent bystanders in war and are best used as signifiers of peace.\
31
+ \ (D) Children have political subjecthood that is missed when they are considered\
32
+ \ as passive victims of warfare.\nA: Let's think step by step. We refer to Wikipedia\
33
+ \ articles on security studies for help. Child soliders as a political topic can\
34
+ \ be missed when they are considered passive victims of warfare. The answer is (D).\n\
35
+ \nQ: How can we best describe the relationship between the state-centric approach\
36
+ \ and the concept of human security?\n(A) There are such wide divisions within the\
37
+ \ human security framework regarding the nature of threats and referent objects\
38
+ \ that no widely applicable comparisons between state-centric approaches and human\
39
+ \ security can be drawn. (B) By adopting the framework of human security, the limitations\
40
+ \ of the realist state-centric approach become evident. Whilst human security defines\
41
+ \ the referent object as the person or population, state-centric approaches prioritise\
42
+ \ the security of the state, de-prioritizing the pursuit of human security. (C)\
43
+ \ The state-centric approach to security is a faction of human security, usually\
44
+ \ defined within the broad school of human security. By being state-centric this\
45
+ \ approach prioritises the individual as the referent object in security studies.\
46
+ \ (D) Both the state-centric and human-centric approaches to security are mutually\
47
+ \ exclusive and offer a sufficient analytic framework with which to understand the\
48
+ \ international security system. It is therefore the role of security analysts to\
49
+ \ determine which of these substantial concepts is correct, and which should be\
50
+ \ discarded.\nA: Let's think step by step. We refer to Wikipedia articles on security\
51
+ \ studies for help. Human security focuses on a person or population whereas state-centric\
52
+ \ approaches focus on the state while deprioritizing human security. The answer\
53
+ \ is (B).\n\nQ: In order to become securitized, a threat must be presented in which\
54
+ \ of these ways?\n(A) As an existential threat that requires immediate and extraordinary\
55
+ \ action, posing a threat to the survival of the state or to societal security.\
56
+ \ (B) As requiring immediate and extraordinary action by the state, threatening\
57
+ \ the survival of a referent object and therefore warranting the use of measures\
58
+ \ not normally employed in the political realm. (C) As an urgent threat to the survival\
59
+ \ of the referent object, so serious that it legitimises the employment of extraordinary\
60
+ \ action in response. (D) As an urgent threat to the survival of the audience that\
61
+ \ requires extraordinary or emergency measures.\nA: Let's think step by step. We\
62
+ \ refer to Wikipedia articles on security studies for help. To be securitized, a\
63
+ \ threat must be an urgent threat to the survival of the referent object. The answer\
64
+ \ is (C).\n\nQ: What distinguishes coercive diplomacy from military force?\n(A)\
65
+ \ Compellence is another term for coercive diplomacy, but covering a narrower set\
66
+ \ of criteria; compellence covers those threats aimed at initiating adversary action.\
67
+ \ A threat to coerce a state to give up part of its territory would count as coercive\
68
+ \ diplomacy, as long as that threat proactively initiates action before reactive\
69
+ \ diplomacy is taken. (B) Coercive diplomacy constitutes the threats of limited\
70
+ \ force to induce adversary's incentive to comply with the coercer's demands. It\
71
+ \ is an influence strategy that is intended to obtain compliance: the use of force\
72
+ \ to defeat an opponent first does not count. It leaves an element of choice with\
73
+ \ the target to comply, or to continue. (C) Military force, or the threat of military\
74
+ \ force, utilises fear to achieve strategic objectives. Coercive diplomacy is differentiated\
75
+ \ from this approach, because it does not use fear as a tool for coercing an adversary.\
76
+ \ (D) Coercive diplomacy is employed to use force but to limit its effects on the\
77
+ \ international community. Coercive diplomacy is an aggressive strategy that is\
78
+ \ intended to obtain compliance through defeat. It does not leave an element of\
79
+ \ choice with the target, the target either being forced to comply or engage in\
80
+ \ conflict. It seeks to control by imposing compliance by removing any opportunity\
81
+ \ for negotiation or concession.\nA: Let's think step by step. We refer to Wikipedia\
82
+ \ articles on security studies for help. Coercive diplomacy uses the threat of force\
83
+ \ to induce the opponent to comply with demands. The answer is (B).\n\n"
84
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
85
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
86
+ "task": "mmlu_flan_cot_fewshot_security_studies"
lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_sociology.yaml ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "sociology"
2
+ "description": "The following are multiple choice questions (with answers) about sociology.\n\
3
+ \nQ: Which of the following is not a problem associated with official statistics\
4
+ \ on strike action?\n(A) most strikes go unnoticed by employers and the mass media\
5
+ \ (B) not all industrial disputes will be reported by the employer (C) the definition\
6
+ \ of strikes excludes those that involve fewer than ten workers or last less than\
7
+ \ one day (D) it is hard to compare strikes that were measured in different ways\n\
8
+ A: Let's think step by step. We refer to Wikipedia articles on sociology for help.\
9
+ \ Official statistics on strike action can be problematic because not all industrial\
10
+ \ disputes will be reported by employers, the definition of strikes excludes those\
11
+ \ that involves fewer than ten workers or last less than one day, and it is hard\
12
+ \ to compare strikes that were measured in different ways. Thus, (A) is not a problem\
13
+ \ associated with official statistics on strike action. The answer is (A).\n\nQ:\
14
+ \ What does Berger (1963) describe as a metaphor for social reality?\n(A) a fairground\
15
+ \ ride (B) a circus (C) a puppet theatre (D) a ballet\nA: Let's think step by step.\
16
+ \ We refer to Wikipedia articles on sociology for help. Berger describes social\
17
+ \ reality using the metaphor of a puppet theatre. The answer is (C).\n\nQ: The term\
18
+ \ 'hegemony' refers to:\n(A) the tendency for the working class not to realize their\
19
+ \ own interests (B) a dominant ideology that legitimates economic, political and\
20
+ \ cultural power (C) a form of dual consciousness based on ideology and everyday\
21
+ \ experiences (D) a mode of payment given for outstanding topiary\nA: Let's think\
22
+ \ step by step. We refer to Wikipedia articles on sociology for help. Hegemony refers\
23
+ \ to a dominant ideology that legitimates economic, policital, and cultural power.\
24
+ \ The answer is (B).\n\nQ: The shift from 'civil religion' to 'common religion'\
25
+ \ means that:\n(A) the increasing bureaucracy of the state has made religion only\
26
+ \ a marginal part of our lives (B) despite the weakening of traditional authority,\
27
+ \ our everyday lives and 'common sense' remain shaped by religious beliefs and values\
28
+ \ (C) religious participation in collective worship may have declined, but people\
29
+ \ still practise their faiths in private (D) people are much more likely to discuss\
30
+ \ their religious beliefs in public, informal settings\nA: Let's think step by step.\
31
+ \ We refer to Wikipedia articles on sociology for help. The shift from civil religion\
32
+ \ to common religion means that despite the weakening of traditional authority,\
33
+ \ our everyday lives and common sense remain shaped by religious beliefs and values.\
34
+ \ The answer is (B).\n\nQ: Which of the following did the post-war welfare state\
35
+ \ of 1948 not aim to provide:\n(A) free health care and education for all (B) a\
36
+ \ minimum wage (C) full employment (D) universal welfare\nA: Let's think step by\
37
+ \ step. We refer to Wikipedia articles on sociology for help. The post-war welfare\
38
+ \ state of 1948 aimed to provide free healthcare and education, full employment,\
39
+ \ and universal welfare. But it did not aim to provide a minimum wage. The answer\
40
+ \ is (B).\n\n"
41
+ "group": "mmlu_flan_cot_fewshot_social_sciences"
42
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
43
+ "task": "mmlu_flan_cot_fewshot_sociology"
lm-evaluation/lm_eval/tasks/mmlu/flan_cot_fewshot/mmlu_virology.yaml ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ "dataset_name": "virology"
2
+ "description": "The following are multiple choice questions (with answers) about virology.\n\
3
+ \nQ: The median survival time to AIDS and death was established by following:\n\
4
+ (A) Seroprevalent HIV-infected individuals (B) Seronegatives (C) Seroconverters\
5
+ \ (D) High-risk seronegatives\nA: Let's think step by step. We refer to Wikipedia\
6
+ \ articles on virology for help. The median survival time to AIDS and death was\
7
+ \ established as a result of the development of seroconverters. The answer is (C).\n\
8
+ \nQ: Which of the following is a morphological characteristic of the paramyxoviruses.\n\
9
+ (A) Fragile viruses often visualised with RNA spewing from the inside (B) Elongate\
10
+ \ viruses (C) Icosahedral viruses with envelope (D) Very large viruses\nA: Let's\
11
+ \ think step by step. We refer to Wikipedia articles on virology for help. Paramyxoviruses\
12
+ \ are fragile viruses often visualised with RNA spewing from the inside. The answer\
13
+ \ is (A).\n\nQ: The most important goal of a behavioral intervention is:\n(A) Change\
14
+ \ in behavior (B) Comprehensive coverage (C) Effective use of behavioral theory\
15
+ \ (D) Sustained behavior change\nA: Let's think step by step. We refer to Wikipedia\
16
+ \ articles on virology for help. The prim goal of a behavioral intervention is to\
17
+ \ cause sustained behavior change. The answer is (D).\n\nQ: A key factor facilitating\
18
+ \ the application of nested case-control studies from the MACS was:\n(A) Data collection\
19
+ \ (B) Establishment of a repository of biologic specimens (C) Participant interest\
20
+ \ (D) Administration of the questionnaire by staff\nA: Let's think step by step.\
21
+ \ We refer to Wikipedia articles on virology for help. The Multicenter AIDS Cohort\
22
+ \ Study's use of nested case-control studies was facilitated by the establishment\
23
+ \ of a repository of biologic specimens. The answer is (B).\n\nQ: Why are parvoviruses\
24
+ \ a highly impactful parasite?\n(A) Because they have no nucleic acid (B) They require\
25
+ \ a helper virus (C) Only replicate in dividing cells (D) Can integrate into host\
26
+ \ chromosomes\nA: Let's think step by step. We refer to Wikipedia articles on virology\
27
+ \ for help. Paroviruses are highly impactful because they do not have nucleic acid.\
28
+ \ The answer is (A).\n\n"
29
+ "group": "mmlu_flan_cot_fewshot_other"
30
+ "include": "_mmlu_flan_cot_fewshot_template_yaml"
31
+ "task": "mmlu_flan_cot_fewshot_virology"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/_mmlu.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ group: mmlu_flan_n_shot_generative
2
+ task:
3
+ - mmlu_flan_n_shot_generative_stem
4
+ - mmlu_flan_n_shot_generative_other
5
+ - mmlu_flan_n_shot_generative_social_sciences
6
+ - mmlu_flan_n_shot_generative_humanities
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_abstract_algebra.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "abstract_algebra"
2
+ "description": "The following are multiple choice questions (with answers) about abstract\
3
+ \ algebra.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_abstract_algebra"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_anatomy.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "anatomy"
2
+ "description": "The following are multiple choice questions (with answers) about anatomy.\n\
3
+ \n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_anatomy"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_astronomy.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "astronomy"
2
+ "description": "The following are multiple choice questions (with answers) about astronomy.\n\
3
+ \n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_astronomy"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_business_ethics.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "business_ethics"
2
+ "description": "The following are multiple choice questions (with answers) about business\
3
+ \ ethics.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_other"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_business_ethics"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_clinical_knowledge.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "clinical_knowledge"
2
+ "description": "The following are multiple choice questions (with answers) about clinical\
3
+ \ knowledge.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_other"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_clinical_knowledge"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_mathematics.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "college_mathematics"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ mathematics.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_college_mathematics"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_college_medicine.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "college_medicine"
2
+ "description": "The following are multiple choice questions (with answers) about college\
3
+ \ medicine.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_other"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_college_medicine"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_computer_security.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "computer_security"
2
+ "description": "The following are multiple choice questions (with answers) about computer\
3
+ \ security.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_computer_security"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_conceptual_physics.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "conceptual_physics"
2
+ "description": "The following are multiple choice questions (with answers) about conceptual\
3
+ \ physics.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_conceptual_physics"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_electrical_engineering.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "electrical_engineering"
2
+ "description": "The following are multiple choice questions (with answers) about electrical\
3
+ \ engineering.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_electrical_engineering"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_elementary_mathematics.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "elementary_mathematics"
2
+ "description": "The following are multiple choice questions (with answers) about elementary\
3
+ \ mathematics.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_stem"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_elementary_mathematics"
lm-evaluation/lm_eval/tasks/mmlu/flan_n_shot/generative/mmlu_global_facts.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ "dataset_name": "global_facts"
2
+ "description": "The following are multiple choice questions (with answers) about global\
3
+ \ facts.\n\n"
4
+ "group": "mmlu_flan_n_shot_generative_other"
5
+ "include": "_mmlu_flan_generative_template_yaml"
6
+ "task": "mmlu_flan_n_shot_generative_global_facts"