Unverified Commit 574e565a authored by Lintang Sutawika's avatar Lintang Sutawika Committed by GitHub
Browse files

Merge branch 'big-refactor' into verbosity-rework

parents 73f3029c b7a4ea06
"dataset_name": "professional_law" "dataset_name": "professional_law"
"description": "The following are multiple choice questions (with answers) about professional law.\n\n" "description": "The following are multiple choice questions (with answers) about professional\
\ law.\n\n"
"group": "mmlu_humanities"
"group_alias": "humanities"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_professional_law" "task": "mmlu_professional_law"
"task_alias": "professional_law"
"dataset_name": "professional_medicine" "dataset_name": "professional_medicine"
"description": "The following are multiple choice questions (with answers) about professional medicine.\n\n" "description": "The following are multiple choice questions (with answers) about professional\
\ medicine.\n\n"
"group": "mmlu_other"
"group_alias": "other"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_professional_medicine" "task": "mmlu_professional_medicine"
"task_alias": "professional_medicine"
"dataset_name": "professional_psychology" "dataset_name": "professional_psychology"
"description": "The following are multiple choice questions (with answers) about professional psychology.\n\n" "description": "The following are multiple choice questions (with answers) about professional\
\ psychology.\n\n"
"group": "mmlu_social_sciences"
"group_alias": "social_sciences"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_professional_psychology" "task": "mmlu_professional_psychology"
"task_alias": "professional_psychology"
"dataset_name": "public_relations" "dataset_name": "public_relations"
"description": "The following are multiple choice questions (with answers) about public relations.\n\n" "description": "The following are multiple choice questions (with answers) about public\
\ relations.\n\n"
"group": "mmlu_social_sciences"
"group_alias": "social_sciences"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_public_relations" "task": "mmlu_public_relations"
"task_alias": "public_relations"
"dataset_name": "security_studies" "dataset_name": "security_studies"
"description": "The following are multiple choice questions (with answers) about security studies.\n\n" "description": "The following are multiple choice questions (with answers) about security\
\ studies.\n\n"
"group": "mmlu_social_sciences"
"group_alias": "social_sciences"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_security_studies" "task": "mmlu_security_studies"
"task_alias": "security_studies"
"dataset_name": "sociology" "dataset_name": "sociology"
"description": "The following are multiple choice questions (with answers) about sociology.\n\n" "description": "The following are multiple choice questions (with answers) about sociology.\n\
\n"
"group": "mmlu_social_sciences"
"group_alias": "social_sciences"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_sociology" "task": "mmlu_sociology"
"task_alias": "sociology"
"dataset_name": "us_foreign_policy" "dataset_name": "us_foreign_policy"
"description": "The following are multiple choice questions (with answers) about us foreign policy.\n\n" "description": "The following are multiple choice questions (with answers) about us\
\ foreign policy.\n\n"
"group": "mmlu_social_sciences"
"group_alias": "social_sciences"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_us_foreign_policy" "task": "mmlu_us_foreign_policy"
"task_alias": "us_foreign_policy"
"dataset_name": "virology" "dataset_name": "virology"
"description": "The following are multiple choice questions (with answers) about virology.\n\n" "description": "The following are multiple choice questions (with answers) about virology.\n\
\n"
"group": "mmlu_other"
"group_alias": "other"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_virology" "task": "mmlu_virology"
"task_alias": "virology"
"dataset_name": "world_religions" "dataset_name": "world_religions"
"description": "The following are multiple choice questions (with answers) about world religions.\n\n" "description": "The following are multiple choice questions (with answers) about world\
\ religions.\n\n"
"group": "mmlu_humanities"
"group_alias": "humanities"
"include": "_default_template_yaml" "include": "_default_template_yaml"
"task": "mmlu_world_religions" "task": "mmlu_world_religions"
"task_alias": "world_religions"
group: mmlu_flan_cot_fewshot
task:
- mmlu_flan_cot_fewshot_stem
- mmlu_flan_cot_fewshot_other
- mmlu_flan_cot_fewshot_social_sciences
- mmlu_flan_cot_fewshot_humanities
dataset_name: abstract_algebra "dataset_name": "abstract_algebra"
description: "The following are multiple choice questions (with answers) about abstract\ "description": "The following are multiple choice questions (with answers) about abstract\
\ algebra.\n\nQ: Statement 1 | Every element of a group generates a cyclic subgroup\ \ algebra.\n\nQ: Statement 1 | Every element of a group generates a cyclic subgroup\
\ of the group. Statement 2 | The symmetric group S_10 has 10 elements.\n(A) True,\ \ of the group. Statement 2 | The symmetric group S_10 has 10 elements.\n(A) True,\
\ True (B) False, False (C) True, False (D) False, True\nA: Let's think step by\ \ True (B) False, False (C) True, False (D) False, True\nA: Let's think step by\
...@@ -36,5 +36,6 @@ description: "The following are multiple choice questions (with answers) about a ...@@ -36,5 +36,6 @@ description: "The following are multiple choice questions (with answers) about a
\ x = 2, hence x^2 + 1 does not have any roots. For c = 2 the polynomial x^2 + 2\ \ x = 2, hence x^2 + 1 does not have any roots. For c = 2 the polynomial x^2 + 2\
\ has two roots at x = 1 and x = 2. Hence Z_3[x]/(x^2 + c) is a field if and only\ \ has two roots at x = 1 and x = 2. Hence Z_3[x]/(x^2 + c) is a field if and only\
\ if c = 1. The answer is (B)." \ if c = 1. The answer is (B)."
include: _mmlu_flan_cot_fewshot_template_yaml "group": "mmlu_flan_cot_fewshot_stem"
task: mmlu_flan_cot_fewshot_abstract_algebra "include": "_mmlu_flan_cot_fewshot_template_yaml"
"task": "mmlu_flan_cot_fewshot_abstract_algebra"
dataset_name: anatomy "dataset_name": "anatomy"
description: "The following are multiple choice questions (with answers) about anatomy.\n\ "description": "The following are multiple choice questions (with answers) about anatomy.\n\
\nQ: Which of the following is the body cavity that contains the pituitary gland?\n\ \nQ: Which of the following is the body cavity that contains the pituitary gland?\n\
(A) Abdominal (B) Cranial (C) Pleural (D) Spinal\nA: Let's think step by step. We\ (A) Abdominal (B) Cranial (C) Pleural (D) Spinal\nA: Let's think step by step. We\
\ refer to Wikipedia articles on anatomy for help. Let\u2019s solve this problem\ \ refer to Wikipedia articles on anatomy for help. Lets solve this problem step\
\ step by step. The pituitary gland is the major endocrine gland attached to the\ \ by step. The pituitary gland is the major endocrine gland attached to the base\
\ base of the brain, and it is contained in the Cranial cavity. The answer is (B).\n\ \ of the brain, and it is contained in the Cranial cavity. The answer is (B).\n\n\
\nQ: Which of these branches of the trigeminal nerve contain somatic motor processes?\n\ Q: Which of these branches of the trigeminal nerve contain somatic motor processes?\n\
(A) The supraorbital nerve (B) The infraorbital nerve (C) The mental nerve (D) None\ (A) The supraorbital nerve (B) The infraorbital nerve (C) The mental nerve (D) None\
\ of the above\nA: Let's think step by step. We refer to Wikipedia articles on anatomy\ \ of the above\nA: Let's think step by step. We refer to Wikipedia articles on anatomy\
\ for help. Let\u2019s solve this problem step by step. \nWe know the following:\ \ for help. Lets solve this problem step by step. \nWe know the following: (A)\
\ (A) The supraorbital nerve (also known as the frontal nerve) is the largest branch\ \ The supraorbital nerve (also known as the frontal nerve) is the largest branch\
\ of the ophthalmic nerve and branch of ophthalmic division of the trigeminal nerve.\ \ of the ophthalmic nerve and branch of ophthalmic division of the trigeminal nerve.\
\ (B) The infraorbital nerve is a branch of the maxillary division of the trigeminal\ \ (B) The infraorbital nerve is a branch of the maxillary division of the trigeminal\
\ nerve. (C) The mental nerve is a branch of the mandibular division of the trigeminal\ \ nerve. (C) The mental nerve is a branch of the mandibular division of the trigeminal\
...@@ -19,39 +19,39 @@ description: "The following are multiple choice questions (with answers) about a ...@@ -19,39 +19,39 @@ description: "The following are multiple choice questions (with answers) about a
(A) excess overbite of the upper lateral incisors. (B) negative overjet of the upper\ (A) excess overbite of the upper lateral incisors. (B) negative overjet of the upper\
\ central incisors. (C) excess overjet of the upper lateral incisors. (D) excess\ \ central incisors. (C) excess overjet of the upper lateral incisors. (D) excess\
\ overjet of the upper central incisors.\nA: Let's think step by step. We refer\ \ overjet of the upper central incisors.\nA: Let's think step by step. We refer\
\ to Wikipedia articles on anatomy for help. Let\u2019s solve this problem step\ \ to Wikipedia articles on anatomy for help. Let’s solve this problem step by step.\
\ by step. This is a question related to anatomy and orthodontics. Excess overjet\ \ This is a question related to anatomy and orthodontics. Excess overjet is associated\
\ is associated with Class II occlusions; therefore, we can safely eliminate (B)\ \ with Class II occlusions; therefore, we can safely eliminate (B) from the list,\
\ from the list, as negative overjet is often associated with Class III occlusions.\ \ as negative overjet is often associated with Class III occlusions. Now, we need\
\ Now, we need to determine the location of the excess overjet, and that would be\ \ to determine the location of the excess overjet, and that would be the upper (maxillary)\
\ the upper (maxillary) lateral incisors. Only (C) has the correct information.\ \ lateral incisors. Only (C) has the correct information. The answer is (C).\n\n\
\ The answer is (C).\n\nQ: The pleura\n(A) have no sensory innervation. (B) are\ Q: The pleura\n(A) have no sensory innervation. (B) are separated by a 2 mm space.\
\ separated by a 2 mm space. (C) extend into the neck. (D) are composed of respiratory\ \ (C) extend into the neck. (D) are composed of respiratory epithelium.\nA: Let's\
\ epithelium.\nA: Let's think step by step. We refer to Wikipedia articles on anatomy\ \ think step by step. We refer to Wikipedia articles on anatomy for help. Let’s\
\ for help. Let\u2019s solve this problem step by step. First, recall that the pleura\ \ solve this problem step by step. First, recall that the pleura refers to the thin\
\ refers to the thin layer of tissue that covers the lungs and lines the interior\ \ layer of tissue that covers the lungs and lines the interior wall of the chest\
\ wall of the chest cavity. Now, let\u2019s look at each option:\nOption (A): \u201C\ \ cavity. Now, let’s look at each option:\nOption (A): “The pleura have no sensory\
The pleura have no sensory innervation.\u201D This information is not correct. The\ \ innervation.” This information is not correct. The pleura do have a sensory innervation.\n\
\ pleura do have a sensory innervation.\nOption (B): \u201CThe pleura are separated\ Option (B): “The pleura are separated by a 2 mm space.” This information is not\
\ by a 2 mm space.\u201D This information is not correct. There is a very thin \u201C\ \ correct. There is a very thin “potential” space between the layers of the pleura;\
potential\u201D space between the layers of the pleura; however, it is typically\ \ however, it is typically filled with serous pleural fluid. \nOption (C): “The\
\ filled with serous pleural fluid. \nOption (C): \u201CThe pleura extend into the\ \ pleura extend into the neck.” This information is actuakky true. The cervical\
\ neck.\u201D This information is actuakky true. The cervical pleura, also known\ \ pleura, also known as the dome of the pleuradome of the pleura, lines the extendsiton\
\ as the dome of the pleuradome of the pleura, lines the extendsiton of the pleural\ \ of the pleural cavity into the neck.\nOption (D): “The pleura are composed of\
\ cavity into the neck.\nOption (D): \u201CThe pleura are composed of respiratory\ \ respiratory epithelium.” This information is not correct. The pleaura are composed\
\ epithelium.\u201D This information is not correct. The pleaura are composed of\ \ of connective tissue (CT).\nBecause (A), (B), and (D) are all incorrect, (D) is\
\ connective tissue (CT).\nBecause (A), (B), and (D) are all incorrect, (D) is the\ \ the only correct answer. The answer is (C).\n\nQ: What is the embryological origin\
\ only correct answer. The answer is (C).\n\nQ: What is the embryological origin\
\ of the hyoid bone?\n(A) The first pharyngeal arch (B) The first and second pharyngeal\ \ of the hyoid bone?\n(A) The first pharyngeal arch (B) The first and second pharyngeal\
\ arches (C) The second pharyngeal arch (D) The second and third pharyngeal arches\n\ \ arches (C) The second pharyngeal arch (D) The second and third pharyngeal arches\n\
A: Let's think step by step. We refer to Wikipedia articles on anatomy for help.\ A: Let's think step by step. We refer to Wikipedia articles on anatomy for help.\
\ Let\u2019s solve this problem step by step. The hyoid bone, which is also known\ \ Let’s solve this problem step by step. The hyoid bone, which is also known as\
\ as the hyooid, is a a small U-shaped bone located in the anterior neck. In its\ \ the hyooid, is a a small U-shaped bone located in the anterior neck. In its resting\
\ resting position, it lies between the ase of the mandible and the third cervical\ \ position, it lies between the ase of the mandible and the third cervical vertebrae.\
\ vertebrae. We know that the second and the third pharyngeal arches give rise to\ \ We know that the second and the third pharyngeal arches give rise to the horns\
\ the horns of the hyoid bone; therefore, the embryological origin of the hyoid\ \ of the hyoid bone; therefore, the embryological origin of the hyoid bone are the\
\ bone are the second and the third pharyngeal arches\u2014this information is covered\ \ second and the third pharyngeal arches—this information is covered in the last\
\ in the last option (D). Therefore, we conclude that (D) must be the correct answer.\ \ option (D). Therefore, we conclude that (D) must be the correct answer. The answer\
\ The answer is (D)." \ is (D)."
include: _mmlu_flan_cot_fewshot_template_yaml "group": "mmlu_flan_cot_fewshot_stem"
task: mmlu_flan_cot_fewshot_anatomy "include": "_mmlu_flan_cot_fewshot_template_yaml"
"task": "mmlu_flan_cot_fewshot_anatomy"
dataset_name: astronomy "dataset_name": "astronomy"
description: "The following are multiple choice questions (with answers) about astronomy.\n\ "description": "The following are multiple choice questions (with answers) about astronomy.\n\
\nQ: Where do most short-period comets come from and how do we know?\n(A) The Kuiper\ \nQ: Where do most short-period comets come from and how do we know?\n(A) The Kuiper\
\ belt; short period comets tend to be in the plane of the solar system just like\ \ belt; short period comets tend to be in the plane of the solar system just like\
\ the Kuiper belt. (B) The Kuiper belt; short period comets tend to come from random\ \ the Kuiper belt. (B) The Kuiper belt; short period comets tend to come from random\
...@@ -16,39 +16,40 @@ description: "The following are multiple choice questions (with answers) about a ...@@ -16,39 +16,40 @@ description: "The following are multiple choice questions (with answers) about a
\ lighter on Mars. (C) It would be harder since the truck is lighter on Mars. (D)\ \ lighter on Mars. (C) It would be harder since the truck is lighter on Mars. (D)\
\ It would be the same no matter where you are.\nA: Let's think step by step. If\ \ It would be the same no matter where you are.\nA: Let's think step by step. If\
\ we assume that there is no friction, the force needed to accelerate the truck\ \ we assume that there is no friction, the force needed to accelerate the truck\
\ is by Newton\u2019s second law only dependent on the mass of the truck. Hence\ \ is by Newton’s second law only dependent on the mass of the truck. Hence (A),\
\ (A), (B) and (C) are incorrect since it doesn\u2019t matter that it\u2019s on\ \ (B) and (C) are incorrect since it doesn’t matter that it’s on Mars, and (D) is\
\ Mars, and (D) is the correct answer. The answer is (D).\n\nQ: Say the pupil of\ \ the correct answer. The answer is (D).\n\nQ: Say the pupil of your eye has a diameter\
\ your eye has a diameter of 5 mm and you have a telescope with an aperture of 50\ \ of 5 mm and you have a telescope with an aperture of 50 cm. How much more light\
\ cm. How much more light can the telescope gather than your eye?\n(A) 10000 times\ \ can the telescope gather than your eye?\n(A) 10000 times more (B) 100 times more\
\ more (B) 100 times more (C) 1000 times more (D) 10 times more\nA: Let's think\ \ (C) 1000 times more (D) 10 times more\nA: Let's think step by step. The amount\
\ step by step. The amount of light is proportional to the aperture area $A = \\\ \ of light is proportional to the aperture area $A = \\pi D^2/4$ for a lens with\
pi D^2/4$ for a lens with diameter $D$, so the relative amounts of light between\ \ diameter $D$, so the relative amounts of light between the eye with diameter 5mm\
\ the eye with diameter 5mm and the telescope with diameter 50mm is $(50 cm)^2/(5mm)^2\ \ and the telescope with diameter 50mm is $(50 cm)^2/(5mm)^2 = 10000$. The answer\
\ = 10000$. The answer is (A).\n\nQ: Why isn't there a planet where the asteroid\ \ is (A).\n\nQ: Why isn't there a planet where the asteroid belt is located?\n(A)\
\ belt is located?\n(A) A planet once formed here but it was broken apart by a catastrophic\ \ A planet once formed here but it was broken apart by a catastrophic collision.\
\ collision. (B) There was not enough material in this part of the solar nebula\ \ (B) There was not enough material in this part of the solar nebula to form a planet.\
\ to form a planet. (C) There was too much rocky material to form a terrestrial\ \ (C) There was too much rocky material to form a terrestrial planet but not enough\
\ planet but not enough gaseous material to form a jovian planet. (D) Resonance\ \ gaseous material to form a jovian planet. (D) Resonance with Jupiter prevented\
\ with Jupiter prevented material from collecting together to form a planet.\nA:\ \ material from collecting together to form a planet.\nA: Let's think step by step.\
\ Let's think step by step. The asteroid belt is a stellar disc consisting of a\ \ The asteroid belt is a stellar disc consisting of a large number of asteroids\
\ large number of asteroids between Mars and Jupiter's orbits. The asteroids in\ \ between Mars and Jupiter's orbits. The asteroids in this belt are affected by\
\ this belt are affected by the gravitational pull from both other asteroids and\ \ the gravitational pull from both other asteroids and nearby planets. Due to the\
\ nearby planets. Due to the strong gravitational force of Jupiter there are resonances\ \ strong gravitational force of Jupiter there are resonances that give rise to low\
\ that give rise to low density regions of asteroids known as the Kirkwood gap.\ \ density regions of asteroids known as the Kirkwood gap. So (B) and (C) are not\
\ So (B) and (C) are not correct since it\u2019s not a lack of material that prevents\ \ correct since it’s not a lack of material that prevents a planet from being formed,\
\ a planet from being formed, and (A) is incorrect because the Kirkwood gap would\ \ and (A) is incorrect because the Kirkwood gap would have prevented a planet from\
\ have prevented a planet from forming in the first place, and (D) is the correct\ \ forming in the first place, and (D) is the correct option. The answer is (D).\n\
\ option. The answer is (D).\n\nQ: Why is Mars red?\n(A) Because the surface is\ \nQ: Why is Mars red?\n(A) Because the surface is covered with heavily oxidized\
\ covered with heavily oxidized (\"rusted\") minerals. (B) Because the atmosphere\ \ (\"rusted\") minerals. (B) Because the atmosphere scatters more light at bluer\
\ scatters more light at bluer wavelengths transmitting mostly red light. (C) Because\ \ wavelengths transmitting mostly red light. (C) Because Mars is covered with ancient\
\ Mars is covered with ancient lava flows which are red in color. (D) Because flowing\ \ lava flows which are red in color. (D) Because flowing water on Mars's surface\
\ water on Mars's surface altered the surface minerals several billion years ago.\n\ \ altered the surface minerals several billion years ago.\nA: Let's think step by\
A: Let's think step by step. Option (B) is not correct because if the red color\ \ step. Option (B) is not correct because if the red color was caused by the scattering\
\ was caused by the scattering off the atmosphere, then the earth with a much thicker\ \ off the atmosphere, then the earth with a much thicker atmosphere would also look\
\ atmosphere would also look red. Options (C) and (D) are not specific enough about\ \ red. Options (C) and (D) are not specific enough about why the color of the surface\
\ why the color of the surface would be red, while (A) is correct because it explains\ \ would be red, while (A) is correct because it explains that the surface is red\
\ that the surface is red due to the rusted materials on the surface and the red\ \ due to the rusted materials on the surface and the red color comes from the rust.\
\ color comes from the rust. So the correct option is (A). The answer is (A)." \ So the correct option is (A). The answer is (A)."
include: _mmlu_flan_cot_fewshot_template_yaml "group": "mmlu_flan_cot_fewshot_stem"
task: mmlu_flan_cot_fewshot_astronomy "include": "_mmlu_flan_cot_fewshot_template_yaml"
"task": "mmlu_flan_cot_fewshot_astronomy"
dataset_name: business_ethics "dataset_name": "business_ethics"
description: "The following are multiple choice questions (with answers) about business\ "description": "The following are multiple choice questions (with answers) about business\
\ ethics.\n\nQ: In contrast to _______, _______ aim to reward favourable behaviour\ \ ethics.\n\nQ: In contrast to _______, _______ aim to reward favourable behaviour\
\ by companies. The success of such campaigns have been heightened through the use\ \ by companies. The success of such campaigns have been heightened through the use\
\ of ___________, which allow campaigns to facilitate the company in achieving _________\ \ of ___________, which allow campaigns to facilitate the company in achieving _________\
...@@ -7,12 +7,12 @@ description: "The following are multiple choice questions (with answers) about b ...@@ -7,12 +7,12 @@ description: "The following are multiple choice questions (with answers) about b
\ Boycotts, Digital technology, Increased Sales (C) Boycotts, Buyalls, Blockchain\ \ Boycotts, Digital technology, Increased Sales (C) Boycotts, Buyalls, Blockchain\
\ technology, Charitable donations (D) Boycotts, Buycotts, Digital technology, Increased\ \ technology, Charitable donations (D) Boycotts, Buycotts, Digital technology, Increased\
\ Sales\nA: Let's think step by step. We refer to Wikipedia articles on business\ \ Sales\nA: Let's think step by step. We refer to Wikipedia articles on business\
\ ethics for help. The sentence that best uses the possible options above is \u201C\ \ ethics for help. The sentence that best uses the possible options above is “In\
In contrast to *boycotts*, *buycotts* aim to reward favourable behavior by companies.\ \ contrast to *boycotts*, *buycotts* aim to reward favourable behavior by companies.\
\ The success of such campaigns have been heightened through the use of *digital\ \ The success of such campaigns have been heightened through the use of *digital\
\ technology*, which allow campaigns to facilitate the company in achieving *increased\ \ technology*, which allow campaigns to facilitate the company in achieving *increased\
\ sales*.\u201D The answer is (D).\n\nQ: _______ is the direct attempt to formally\ \ sales*. The answer is (D).\n\nQ: _______ is the direct attempt to formally or\
\ or informally manage ethical issues or problems, through specific policies, practices\ \ informally manage ethical issues or problems, through specific policies, practices\
\ and programmes.\n(A) Corporate social responsibility (B) Business ethics management\ \ and programmes.\n(A) Corporate social responsibility (B) Business ethics management\
\ (C) Sustainability (D) Environmental management\nA: Let's think step by step.\ \ (C) Sustainability (D) Environmental management\nA: Let's think step by step.\
\ We refer to Wikipedia articles on business ethics for help. The direct attempt\ \ We refer to Wikipedia articles on business ethics for help. The direct attempt\
...@@ -26,30 +26,31 @@ description: "The following are multiple choice questions (with answers) about b ...@@ -26,30 +26,31 @@ description: "The following are multiple choice questions (with answers) about b
\ action, Violent direct action, Non-violent direct-action Boycott (D) Non-violent\ \ action, Violent direct action, Non-violent direct-action Boycott (D) Non-violent\
\ direct action, Instrumental action, Indirect action, Information campaign\nA:\ \ direct action, Instrumental action, Indirect action, Information campaign\nA:\
\ Let's think step by step. We refer to Wikipedia articles on business ethics for\ \ Let's think step by step. We refer to Wikipedia articles on business ethics for\
\ help. The sentence that best uses the possible options above is \u201CThree contrasting\ \ help. The sentence that best uses the possible options above is Three contrasting\
\ tactics that CSO's can engage in to meet their aims are *indirect action*, which\ \ tactics that CSO's can engage in to meet their aims are *indirect action*, which\
\ typically involves research and communication, *violent direct action*, which\ \ typically involves research and communication, *violent direct action*, which\
\ may involve physically attacking a company's operations or *non-violent direct\ \ may involve physically attacking a company's operations or *non-violent direct\
\ action*, often involving some form of *boycott*.\u201D The answer is (C).\n\n\ \ action*, often involving some form of *boycott*. The answer is (C).\n\nQ: To\
Q: To ensure the independence of the non-executive board members, there are a number\ \ ensure the independence of the non-executive board members, there are a number\
\ of steps which can be taken, which include non-executives being drawn from _______\ \ of steps which can be taken, which include non-executives being drawn from _______\
\ the company, being appointed for a _________ time period as well as being appointed\ \ the company, being appointed for a _________ time period as well as being appointed\
\ _________.\n(A) Outside, Limited, Independently (B) Inside, Limited, Intermittently\ \ _________.\n(A) Outside, Limited, Independently (B) Inside, Limited, Intermittently\
\ (C) Outside, Unlimited, Intermittently (D) Inside, Unlimited, Independently\n\ \ (C) Outside, Unlimited, Intermittently (D) Inside, Unlimited, Independently\n\
A: Let's think step by step. We refer to Wikipedia articles on business ethics for\ A: Let's think step by step. We refer to Wikipedia articles on business ethics for\
\ help. The sentence that best uses the possible options above is \u201CTo ensure\ \ help. The sentence that best uses the possible options above is “To ensure the\
\ the independence of the non-executive board members, there are a number of steps\ \ independence of the non-executive board members, there are a number of steps which\
\ which can be taken, which include non-executives being draw from *outside* the\ \ can be taken, which include non-executives being draw from *outside* the company,\
\ company, being appointed for a *limited* time period as well as being imported\ \ being appointed for a *limited* time period as well as being imported *independently*.\
\ *independently*. The answer is (A).\n\nQ: Beyond the business case for engaging\ \ The answer is (A).\n\nQ: Beyond the business case for engaging in CSR there are\
\ in CSR there are a number of moral arguments relating to: negative _______, the\ \ a number of moral arguments relating to: negative _______, the _______that corporations\
\ _______that corporations possess and the ________ of business and society.\n(A)\ \ possess and the ________ of business and society.\n(A) Externalities, Power, Independence\
\ Externalities, Power, Independence (B) Publicity, Insubstantial resources, Mutual\ \ (B) Publicity, Insubstantial resources, Mutual dependence (C) Publicity, Power,\
\ dependence (C) Publicity, Power, Independence (D) Externalities, Power, Mutual\ \ Independence (D) Externalities, Power, Mutual dependence\nA: Let's think step\
\ dependence\nA: Let's think step by step. We refer to Wikipedia articles on business\ \ by step. We refer to Wikipedia articles on business ethics for help. The sentence\
\ ethics for help. The sentence that best uses the possible options above is \u201C\ \ that best uses the possible options above is “Beyond the business case for engaging\
Beyond the business case for engaging the CSR there are a number of moral arguments\ \ the CSR there are a number of moral arguments relating to: negative *externalities*,\
\ relating to: negative *externalities*, the *power* that corporations possess and\ \ the *power* that corporations possess and the *mutual independence* of business\
\ the *mutual independence* of business and society. The answer is (D)." \ and society. The answer is (D)."
include: _mmlu_flan_cot_fewshot_template_yaml "group": "mmlu_flan_cot_fewshot_other"
task: mmlu_flan_cot_fewshot_business_ethics "include": "_mmlu_flan_cot_fewshot_template_yaml"
"task": "mmlu_flan_cot_fewshot_business_ethics"
dataset_name: clinical_knowledge "dataset_name": "clinical_knowledge"
description: 'The following are multiple choice questions (with answers) about clinical "description": "The following are multiple choice questions (with answers) about clinical\
knowledge. \ knowledge.\n\nQ: Glycolysis is the name given to the pathway involving the conversion\
\ of:\n(A) glycogen to glucose-1-phosphate. (B) glycogen or glucose to fructose.\
\ (C) glycogen or glucose to pyruvate or lactate. (D) glycogen or glucose to pyruvate\
Q: Glycolysis is the name given to the pathway involving the conversion of: \ or acetyl CoA.\nA: Let's think step by step. We refer to Wikipedia articles on\
\ clinical knowledge for help. Glycolysis is the name given to the pathway involving\
(A) glycogen to glucose-1-phosphate. (B) glycogen or glucose to fructose. (C) glycogen \ conversion of glycogen or glucose to pyruvate or lactate. The answer is (C).\n\
or glucose to pyruvate or lactate. (D) glycogen or glucose to pyruvate or acetyl \nQ: What is the difference between a male and a female catheter?\n(A) Male and\
CoA. \ female catheters are different colours. (B) Male catheters are longer than female\
\ catheters. (C) Male catheters are bigger than female catheters. (D) Female catheters\
A: Let''s think step by step. We refer to Wikipedia articles on clinical knowledge \ are longer than male catheters.\nA: Let's think step by step. We refer to Wikipedia\
for help. Glycolysis is the name given to the pathway involving conversion of glycogen \ articles on clinical knowledge for help. The difference between a male and female\
or glucose to pyruvate or lactate. The answer is (C). \ catheter is that male catheters tend to be longer than female catheters. The answer\
\ is (B).\n\nQ: How many attempts should you make to cannulate a patient before\
\ passing the job on to a senior colleague, according to the medical knowledge of\
Q: What is the difference between a male and a female catheter? \ 2020?\n(A) 4 (B) 3 (C) 2 (D) 1\nA: Let's think step by step. We refer to Wikipedia\
\ articles on clinical knowledge for help. According to the medical protocol as\
(A) Male and female catheters are different colours. (B) Male catheters are longer \ of 2020, you should make two attempts to cannulate a patient before passing the\
than female catheters. (C) Male catheters are bigger than female catheters. (D) \ job on to a more-senior practitioner. The answer is (C).\n\nQ: In the assessment\
Female catheters are longer than male catheters. \ of the hand function which of the following is true?\n(A) Abduction of the thumb\
\ is supplied by spinal root T2 (B) Opposition of the thumb by opponens policis\
A: Let''s think step by step. We refer to Wikipedia articles on clinical knowledge \ is supplied by spinal root T1 (C) Finger adduction is supplied by the median nerve\
for help. The difference between a male and female catheter is that male catheters \ (D) Finger abduction is mediated by the palmar interossei\nA: Let's think step\
tend to be longer than female catheters. The answer is (B). \ by step. We refer to Wikipedia articles on clinical knowledge for help. Of all\
\ the options, it is only true that the opposition of the thumb by opponens pollicis\
\ is supplied by spinal root T1. The answer is (B).\n\nQ: The energy for all forms\
Q: How many attempts should you make to cannulate a patient before passing the job \ of muscle contraction is provided by:\n(A) ATP. (B) ADP. (C) phosphocreatine.\
on to a senior colleague, according to the medical knowledge of 2020? \ (D) oxidative phosphorylation.\nA: Let's think step by step. We refer to Wikipedia\
\ articles on clinical knowledge for help. The energy for muscular contraction is\
(A) 4 (B) 3 (C) 2 (D) 1 \ provided by ATP (adenosine triphosphate), which is the powerhouse of the cell.\
\ The answer is (A)."
A: Let''s think step by step. We refer to Wikipedia articles on clinical knowledge "group": "mmlu_flan_cot_fewshot_other"
for help. According to the medical protocol as of 2020, you should make two attempts "include": "_mmlu_flan_cot_fewshot_template_yaml"
to cannulate a patient before passing the job on to a more-senior practitioner. "task": "mmlu_flan_cot_fewshot_clinical_knowledge"
The answer is (C).
Q: In the assessment of the hand function which of the following is true?
(A) Abduction of the thumb is supplied by spinal root T2 (B) Opposition of the thumb
by opponens policis is supplied by spinal root T1 (C) Finger adduction is supplied
by the median nerve (D) Finger abduction is mediated by the palmar interossei
A: Let''s think step by step. We refer to Wikipedia articles on clinical knowledge
for help. Of all the options, it is only true that the opposition of the thumb by
opponens pollicis is supplied by spinal root T1. The answer is (B).
Q: The energy for all forms of muscle contraction is provided by:
(A) ATP. (B) ADP. (C) phosphocreatine. (D) oxidative phosphorylation.
A: Let''s think step by step. We refer to Wikipedia articles on clinical knowledge
for help. The energy for muscular contraction is provided by ATP (adenosine triphosphate),
which is the powerhouse of the cell. The answer is (A).'
include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_clinical_knowledge
dataset_name: college_biology "dataset_name": "college_biology"
description: "The following are multiple choice questions (with answers) about college\ "description": "The following are multiple choice questions (with answers) about college\
\ biology.\n\nQ: Which of the following represents an accurate statement concerning\ \ biology.\n\nQ: Which of the following represents an accurate statement concerning\
\ arthropods?\n(A) They possess an exoskeleton composed primarily of peptidoglycan.\ \ arthropods?\n(A) They possess an exoskeleton composed primarily of peptidoglycan.\
\ (B) They possess an open circulatory system with a dorsal heart. (C) They are\ \ (B) They possess an open circulatory system with a dorsal heart. (C) They are\
...@@ -19,7 +19,7 @@ description: "The following are multiple choice questions (with answers) about c ...@@ -19,7 +19,7 @@ description: "The following are multiple choice questions (with answers) about c
\ Law, $p^2 + 2 p q + q^2 = 1$, and $p + q = 1$ where $p$ is the frequency of the\ \ Law, $p^2 + 2 p q + q^2 = 1$, and $p + q = 1$ where $p$ is the frequency of the\
\ dominant allele, $q$ is the frequency of the recessive allele, and $p^2$, $q^2$,\ \ dominant allele, $q$ is the frequency of the recessive allele, and $p^2$, $q^2$,\
\ and $2pq$ are the frequencies of dominant homozygous, recessive homozygous, and\ \ and $2pq$ are the frequencies of dominant homozygous, recessive homozygous, and\
\ heterozygous individuals, respectively. \u200BThe frequency of the recessive allele\ \ heterozygous individuals, respectively. The frequency of the recessive allele\
\ (q) is $\\sqrt{\frac{1}{400}} = 0.05$. We have $p = 1 - q = 0.95$. The frequency\ \ (q) is $\\sqrt{\frac{1}{400}} = 0.05$. We have $p = 1 - q = 0.95$. The frequency\
\ of heterozygous individuals is $2pq = 2 \\cdot 0.05 \\cdot 0.95 = 0.095$. The\ \ of heterozygous individuals is $2pq = 2 \\cdot 0.05 \\cdot 0.95 = 0.095$. The\
\ number of heterozygous individuals is equal to the frequency of heterozygous individuals\ \ number of heterozygous individuals is equal to the frequency of heterozygous individuals\
...@@ -56,5 +56,6 @@ description: "The following are multiple choice questions (with answers) about c ...@@ -56,5 +56,6 @@ description: "The following are multiple choice questions (with answers) about c
\ the human and bird forearms, which rules out (D). Humans and birds do belong to\ \ the human and bird forearms, which rules out (D). Humans and birds do belong to\
\ the same clade - a group of organisms composed of a common ancestor. The answer\ \ the same clade - a group of organisms composed of a common ancestor. The answer\
\ is (C)." \ is (C)."
include: _mmlu_flan_cot_fewshot_template_yaml "group": "mmlu_flan_cot_fewshot_stem"
task: mmlu_flan_cot_fewshot_college_biology "include": "_mmlu_flan_cot_fewshot_template_yaml"
"task": "mmlu_flan_cot_fewshot_college_biology"
dataset_name: college_chemistry "dataset_name": "college_chemistry"
description: "The following are multiple choice questions (with answers) about college\ "description": "The following are multiple choice questions (with answers) about college\
\ chemistry.\n\nQ: 3 Cl\u2212(aq) + 4 CrO_4^2\u2212(aq) + 23 H+(aq) \u2192 3 HClO2(aq)\ \ chemistry.\n\nQ: 3 Cl−(aq) + 4 CrO_4^2−(aq) + 23 H+(aq) 3 HClO2(aq) + 4 Cr3+(aq)\
\ + 4 Cr3+(aq) + 10 H2O(l). In the reaction shown above, Cl\u2212(aq) behaves as\n\ \ + 10 H2O(l). In the reaction shown above, Cl−(aq) behaves as\n(A) an acid (B)\
(A) an acid (B) a base (C) a catalyst (D) a reducing agent\nA: Let's think step\ \ a base (C) a catalyst (D) a reducing agent\nA: Let's think step by step. A molecule\
\ by step. A molecule that behaves as a base accepts an H+ ion (or proton) from\ \ that behaves as a base accepts an H+ ion (or proton) from another molecule, whereas\
\ another molecule, whereas a molecule that behaves as an acid donates an H+ ion\ \ a molecule that behaves as an acid donates an H+ ion (or proton) to another molecule.\
\ (or proton) to another molecule. Neither of these is the case for Cl in this reaction,\ \ Neither of these is the case for Cl in this reaction, which rules out (A) and\
\ which rules out (A) and (B). A catalyst is a substance that only accelerates a\ \ (B). A catalyst is a substance that only accelerates a reaction without itself\
\ reaction without itself undergoing chemical change, which is not the case here.\ \ undergoing chemical change, which is not the case here. This rules out (C). Instead,\
\ This rules out (C). Instead, the $Cl^{-} molecules carry a negative charge, which\ \ the $Cl^{-} molecules carry a negative charge, which they donate in the reaction\
\ they donate in the reaction to form 3 HClO2. This is the behavior of a reducing\ \ to form 3 HClO2. This is the behavior of a reducing agent, or (D). The answer\
\ agent, or (D). The answer is (D).\n\nQ: Which of the following statements about\ \ is (D).\n\nQ: Which of the following statements about the lanthanide elements\
\ the lanthanide elements is NOT true?\n(A) The most common oxidation state for\ \ is NOT true?\n(A) The most common oxidation state for the lanthanide elements\
\ the lanthanide elements is +3. (B) Lanthanide complexes often have high coordination\ \ is +3. (B) Lanthanide complexes often have high coordination numbers (> 6). (C)\
\ numbers (> 6). (C) All of the lanthanide elements react with aqueous acid to liberate\ \ All of the lanthanide elements react with aqueous acid to liberate hydrogen. (D)\
\ hydrogen. (D) The atomic radii of the lanthanide elements increase across the\ \ The atomic radii of the lanthanide elements increase across the period from La\
\ period from La to Lu.\nA: Let's think step by step. The atomic radii of the lanthanide\ \ to Lu.\nA: Let's think step by step. The atomic radii of the lanthanide elements\
\ elements in fact decrease across the period from La to Lu. Options (A), (B), and\ \ in fact decrease across the period from La to Lu. Options (A), (B), and (C) are\
\ (C) are all true. This means that only (D) is NOT true. The answer is (D).\n\n\ \ all true. This means that only (D) is NOT true. The answer is (D).\n\nQ: Which\
Q: Which of the following lists the hydrides of group-14 elements in order of thermal\ \ of the following lists the hydrides of group-14 elements in order of thermal stability,\
\ stability, from lowest to highest?\n(A) PbH4 < SnH4 < GeH4 < SiH4 < CH4 (B) PbH4\ \ from lowest to highest?\n(A) PbH4 < SnH4 < GeH4 < SiH4 < CH4 (B) PbH4 < SnH4 <\
\ < SnH4 < CH4 < GeH4 < SiH4 (C) CH4 < SiH4 < GeH4 < SnH4 < PbH4 (D) CH4 < PbH4\ \ CH4 < GeH4 < SiH4 (C) CH4 < SiH4 < GeH4 < SnH4 < PbH4 (D) CH4 < PbH4 < GeH4 <\
\ < GeH4 < SnH4 < SiH4\nA: Let's think step by step. The thermal stability of group-14\ \ SnH4 < SiH4\nA: Let's think step by step. The thermal stability of group-14 hydrides\
\ hydrides decreases as we move from the top of group 14 to the bottom. The order\ \ decreases as we move from the top of group 14 to the bottom. The order of elements\
\ of elements in the group from top to bottom is C, Si, Ge, Sn, Pb. Therefore in\ \ in the group from top to bottom is C, Si, Ge, Sn, Pb. Therefore in order of increasing\
\ order of increasing thermal stability we have PbH4, SnH4, GeH4, SiH4, and CH4,\ \ thermal stability we have PbH4, SnH4, GeH4, SiH4, and CH4, or answer (A). The\
\ or answer (A). The answer is (A).\n\nQ: Predict the number of lines in the EPR\ \ answer is (A).\n\nQ: Predict the number of lines in the EPR spectrum of a solution\
\ spectrum of a solution of 13C-labelled methyl radical (13CH3\u2022), assuming\ \ of 13C-labelled methyl radical (13CH3•), assuming the lines do not overlap.\n\
\ the lines do not overlap.\n(A) 4 (B) 3 (C) 6 (D) 24 (E) 8\nA: Let's think step\ (A) 4 (B) 3 (C) 6 (D) 24 (E) 8\nA: Let's think step by step. The electron paramagnetic\
\ by step. The electron paramagnetic resonance spectrum will be split by two forms\ \ resonance spectrum will be split by two forms of interactions. The first is the\
\ of interactions. The first is the hyperfine interaction with the 13C (nuclear\ \ hyperfine interaction with the 13C (nuclear spin $I = \nrac{1}{2}$) which will\
\ spin $I = \nrac{1}{2}$) which will split the spectrum into 2 lines. This will\ \ split the spectrum into 2 lines. This will be further split into 4 lines by the\
\ be further split into 4 lines by the interaction with three equivalent 1H nuclei.\ \ interaction with three equivalent 1H nuclei. The total number of lines is therefore\
\ The total number of lines is therefore $2 \\cdot 4 = 8$. The answer is (E)." \ $2 \\cdot 4 = 8$. The answer is (E)."
include: _mmlu_flan_cot_fewshot_template_yaml "group": "mmlu_flan_cot_fewshot_stem"
task: mmlu_flan_cot_fewshot_college_chemistry "include": "_mmlu_flan_cot_fewshot_template_yaml"
"task": "mmlu_flan_cot_fewshot_college_chemistry"
dataset_name: college_computer_science "dataset_name": "college_computer_science"
description: 'The following are multiple choice questions (with answers) about college "description": "The following are multiple choice questions (with answers) about college\
computer science. \ computer science.\n\nQ: Which of the following regular expressions is equivalent\
\ to (describes the same set of strings as) (a* + b)*(c + d)?\n(A) a*(c + d)+ b(c\
\ + d)\n(B) a*(c + d)* + b(c + d)*\n(C) a*(c + d)+ b*(c + d)\n(D) (a + b)*c +(a\
Q: Which of the following regular expressions is equivalent to (describes the same \ + b)*d\nA: Let's think step by step. We know that:\n1. (X* + Y)* = (X + Y)*\n\
set of strings as) (a* + b)*(c + d)? 2. X(Y + Z)? = XY + XZ\nUsing equation 1 we can rewrite (a* + b)*(c + d)? as:\n\
3. (a + b)*(c + d)?\nUsing equation 2 we can rewrite equation 3 as:\n(a + b)*c +\
(A) a*(c + d)+ b(c + d) \ (a + b)*d The answer is (D).\n\nQ: The Singleton design pattern is used to guarantee\
\ that only a single instance of a class may be instantiated. Which of the following\
(B) a*(c + d)* + b(c + d)* \ is (are) true of this design pattern?\nI. The Singleton class has a static factory\
\ method to provide its instance.\nII. The Singleton class can be a subclass of\
(C) a*(c + d)+ b*(c + d) \ another class.\nIII. The Singleton class has a private constructor.\n(A) I only\n\
(B) II only\n(C) III only\n(D) I, II, and III\nA: Let's think step by step. Statement\
(D) (a + b)*c +(a + b)*d \ I is a correct statement about a Singleton, because a Singleton restricts instantiation\
\ to a single, static method. Statement II is also correct, because there is no\
A: Let''s think step by step. We know that: \ inherent restriction regarding the inheritance of a Singleton. Statement III is\
\ also correct, because a Singletons must be instantiated only once, so its constructor\
1. (X* + Y)* = (X + Y)* \ is made private to prevent any construction except via its static factory method.\n\
Given these facts, statements I, II, and III are all correct. The answer is (D).\n\
2. X(Y + Z)? = XY + XZ \nQ: A certain pipelined RISC machine has 8 general-purpose registers R0, R1, .\
\ . . , R7 and supports the following operations:\nADD Rs1, Rs2, Rd (Add Rs1 to\
Using equation 1 we can rewrite (a* + b)*(c + d)? as: \ Rs2 and put the sum in Rd)\nMUL Rs1, Rs2, Rd (Multiply Rs1 by Rs2 and put the\
\ product in Rd)\nAn operation normally takes one cycle; however, an operation takes\
3. (a + b)*(c + d)? \ two cycles if it produces a result required by the immediately following operation\
\ in an operation sequence.\nConsider the expression AB + ABC + BC, where variables\
Using equation 2 we can rewrite equation 3 as: \ A, B, C are located in registers R0, R1, R2. If the contents of these three registers\
\ must not be modified, what is the minimum number of clock cycles required for\
(a + b)*c + (a + b)*d The answer is (D). \ an operation sequence that computes the value of AB + ABC + BC?\n(A) 5 (B) 6 (C)\
\ 7 (D) 8\nA: Let's think step by step. First, we are given that A is in R0, B is\
\ in R1, and C is in R2.\nNext, we can see that we must compute three multiplies\
Q: The Singleton design pattern is used to guarantee that only a single instance \ (AB, BC, and ABC) and two adds (AB + ABC, (AB + ABC) + BC) to compute our final\
of a class may be instantiated. Which of the following is (are) true of this design \ answer, resulting in a minimum of five clock cycles.\nNext, we can see that there\
pattern? \ is no way to avoid at least one pipeline stall when computing our final answer,\
\ because to compute our final sum we must wait at least one cycle for the results\
I. The Singleton class has a static factory method to provide its instance. \ from the previous stage to be ready. Thus, our minimum number of cycles must be\
\ 6.\nWe can verify that we can create a solution that requires only six cycles\
II. The Singleton class can be a subclass of another class. \ as follows:\ncompute AB: MUL R0, R1, R3\ncompute BC: MUL R1, R2, R4\ncompute ABC:\
\ MUL R3, R4, R5\ncompute AB + BC: ADD R3, R4, R6\nSTALL\ncompute AB + ABC + BC:\
III. The Singleton class has a private constructor. \ ADD R5, R6, R7\nSo there are 6 cycles. The answer is (B).\n\nQ: A compiler generates\
\ code for the following assignment statement.\nG := (A + B) * C - (D + E) * F\n\
(A) I only The target machine has a single accumulator and a single-address instruction set\
\ consisting of instructions load, store, add, subtract, and multiply. For the arithmetic\
(B) II only \ operations, the left operand is taken from the accumulator and the result appears\
\ in the accumulator. The smallest possible number of instructions in the resulting\
(C) III only \ code is\n(A) 5 (B) 6 (C) 7 (D) 9\nA: Let's think step by step. We can compute\
\ the final answer with the following sequence of operations:\n1. LOAD D (accumulator\
(D) I, II, and III \ = D)\n2. ADD E (accumulator = D+E)\n3. MUL F (accumulator = (D+E)*F)\n4. STORE\
\ X (X = (D+E)*F)\n5. LOAD A (accumulator = A)\n6. ADD B (accumulator = A+B)\n\
A: Let''s think step by step. Statement I is a correct statement about a Singleton, 7. MUL C (accumulator = (A+B)*C)\n8. SUB X (accumulator = (A+B)*C - (D+E)*F)\n\
because a Singleton restricts instantiation to a single, static method. Statement 9. STORE G (G = (A+B)*C - (D+E)*F)\nThis sequence takes 9 instructions. The answer\
II is also correct, because there is no inherent restriction regarding the inheritance \ is (D).\n\nQ: Consider a computer design in which multiple processors, each with\
of a Singleton. Statement III is also correct, because a Singletons must be instantiated \ a private cache memory, share global memory using a single bus. This bus is the\
only once, so its constructor is made private to prevent any construction except \ critical system resource. Each processor can execute one instruction every 500\
via its static factory method. \ nanoseconds as long as memory references are satisfied by its local cache. When\
\ a cache miss occurs, the processor is delayed for an additional 2,000 nanoseconds.\
Given these facts, statements I, II, and III are all correct. The answer is (D). \ During half of this additional delay, the bus is dedicated to serving the cache\
\ miss. During the other half, the processor cannot continue, but the bus is free\
\ to service requests from other processors. On average, each instruction requires\
Q: A certain pipelined RISC machine has 8 general-purpose registers R0, R1, . . \ 2 memory references. On average, cache misses occur on 1 percent of references.\
. , R7 and supports the following operations: \ What proportion of the capacity of the bus would a single processor consume, ignoring\
\ delays due to competition from other processors?\n(A) 1/50 (B) 1/27 (C) 1/25 (D)\
ADD Rs1, Rs2, Rd (Add Rs1 to Rs2 and put the sum in Rd) \ 2/27\nA: Let's think step by step. We know that each instruction requires two\
\ memory references per instruction, and that there is an average cache miss rate\
MUL Rs1, Rs2, Rd (Multiply Rs1 by Rs2 and put the product in Rd) \ of one percent.\nThus a given processor has:\n(1 cache miss / 100 references)\
\ * (2 references / instruction) =\n(2 cache misses / 100 instructions), so:\nmisses_per_instruction\
An operation normally takes one cycle; however, an operation takes two cycles if \ = 1 cache miss / 50 instructions.\nNext, we know that each instruction requires\
it produces a result required by the immediately following operation in an operation \ 500 nanoseconds when there is no cache miss, and 500 + 2000 = 2500 nanoseconds\
sequence. \ when there is a cache miss. Thus:\n50 instructions / (49 * 500) + (1 * 2500) nanoseconds,\
\ so:\ninstructions_per_ns = 50 instructions / 27000 nanoseconds.\nNow, we know\
Consider the expression AB + ABC + BC, where variables A, B, C are located in registers \ that each cache miss locks the bus for half of the 2000 nanosecond cache miss\
R0, R1, R2. If the contents of these three registers must not be modified, what \ delay, or 1000 nanoseconds, so:\nlock_ns_per_miss = 1000 nanoseconds / cache miss.\n\
is the minimum number of clock cycles required for an operation sequence that computes Thus we can see that on average a single processor will lock the bus for:\nlock_ns_per_miss\
the value of AB + ABC + BC? \ * misses_per_instruction * instructions_per_ns =\n(1000 nanoseconds / cache miss)\
\ * (1 cache miss / 50 instructions) * (50 instructions / 27000 nanoseconds) = 1000\
(A) 5 (B) 6 (C) 7 (D) 8 \ * (1/50) * (50/27000) = 1000/27000 = 1/27. The answer is (B)."
"group": "mmlu_flan_cot_fewshot_stem"
A: Let''s think step by step. First, we are given that A is in R0, B is in R1, and "include": "_mmlu_flan_cot_fewshot_template_yaml"
C is in R2. "task": "mmlu_flan_cot_fewshot_college_computer_science"
Next, we can see that we must compute three multiplies (AB, BC, and ABC) and two
adds (AB + ABC, (AB + ABC) + BC) to compute our final answer, resulting in a minimum
of five clock cycles.
Next, we can see that there is no way to avoid at least one pipeline stall when
computing our final answer, because to compute our final sum we must wait at least
one cycle for the results from the previous stage to be ready. Thus, our minimum
number of cycles must be 6.
We can verify that we can create a solution that requires only six cycles as follows:
compute AB: MUL R0, R1, R3
compute BC: MUL R1, R2, R4
compute ABC: MUL R3, R4, R5
compute AB + BC: ADD R3, R4, R6
STALL
compute AB + ABC + BC: ADD R5, R6, R7
So there are 6 cycles. The answer is (B).
Q: A compiler generates code for the following assignment statement.
G := (A + B) * C - (D + E) * F
The target machine has a single accumulator and a single-address instruction set
consisting of instructions load, store, add, subtract, and multiply. For the arithmetic
operations, the left operand is taken from the accumulator and the result appears
in the accumulator. The smallest possible number of instructions in the resulting
code is
(A) 5 (B) 6 (C) 7 (D) 9
A: Let''s think step by step. We can compute the final answer with the following
sequence of operations:
1. LOAD D (accumulator = D)
2. ADD E (accumulator = D+E)
3. MUL F (accumulator = (D+E)*F)
4. STORE X (X = (D+E)*F)
5. LOAD A (accumulator = A)
6. ADD B (accumulator = A+B)
7. MUL C (accumulator = (A+B)*C)
8. SUB X (accumulator = (A+B)*C - (D+E)*F)
9. STORE G (G = (A+B)*C - (D+E)*F)
This sequence takes 9 instructions. The answer is (D).
Q: Consider a computer design in which multiple processors, each with a private
cache memory, share global memory using a single bus. This bus is the critical system
resource. Each processor can execute one instruction every 500 nanoseconds as long
as memory references are satisfied by its local cache. When a cache miss occurs,
the processor is delayed for an additional 2,000 nanoseconds. During half of this
additional delay, the bus is dedicated to serving the cache miss. During the other
half, the processor cannot continue, but the bus is free to service requests from
other processors. On average, each instruction requires 2 memory references. On
average, cache misses occur on 1 percent of references. What proportion of the capacity
of the bus would a single processor consume, ignoring delays due to competition
from other processors?
(A) 1/50 (B) 1/27 (C) 1/25 (D) 2/27
A: Let''s think step by step. We know that each instruction requires two memory
references per instruction, and that there is an average cache miss rate of one
percent.
Thus a given processor has:
(1 cache miss / 100 references) * (2 references / instruction) =
(2 cache misses / 100 instructions), so:
misses_per_instruction = 1 cache miss / 50 instructions.
Next, we know that each instruction requires 500 nanoseconds when there is no cache
miss, and 500 + 2000 = 2500 nanoseconds when there is a cache miss. Thus:
50 instructions / (49 * 500) + (1 * 2500) nanoseconds, so:
instructions_per_ns = 50 instructions / 27000 nanoseconds.
Now, we know that each cache miss locks the bus for half of the 2000 nanosecond
cache miss delay, or 1000 nanoseconds, so:
lock_ns_per_miss = 1000 nanoseconds / cache miss.
Thus we can see that on average a single processor will lock the bus for:
lock_ns_per_miss * misses_per_instruction * instructions_per_ns =
(1000 nanoseconds / cache miss) * (1 cache miss / 50 instructions) * (50 instructions
/ 27000 nanoseconds) = 1000 * (1/50) * (50/27000) = 1000/27000 = 1/27. The answer
is (B).'
include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_college_computer_science
dataset_name: college_mathematics "dataset_name": "college_mathematics"
description: "The following are multiple choice questions (with answers) about college\ "description": "The following are multiple choice questions (with answers) about college\
\ mathematics.\n\nQ: Let V be the set of all real polynomials p(x). Let transformations\ \ mathematics.\n\nQ: Let V be the set of all real polynomials p(x). Let transformations\
\ T, S be defined on V by T:p(x) -> xp(x) and S:p(x) -> p'(x) = d/dx p(x), and interpret\ \ T, S be defined on V by T:p(x) -> xp(x) and S:p(x) -> p'(x) = d/dx p(x), and interpret\
\ (ST)(p(x)) as S(T(p(x))). Which of the following is true?\n(A) ST = 0 (B) ST =\ \ (ST)(p(x)) as S(T(p(x))). Which of the following is true?\n(A) ST = 0 (B) ST =\
\ T (C) ST = TS (D) ST - TS is the identity map of V onto itself.\nA: Let's think\ \ T (C) ST = TS (D) ST - TS is the identity map of V onto itself.\nA: Let's think\
\ step by step. For a given polynomial $p$ we have\n\\[ST(p) = (xp(x))\u2019 = p(x)\ \ step by step. For a given polynomial $p$ we have\n\\[ST(p) = (xp(x))’ = p(x) +\
\ + xp\u2019(x)\\]\nand\n\\[TS(p) = xp\u2019(x).\\]\nHence \\[ST(p) - TS(p) = p(x)\ \ xp’(x)\\]\nand\n\\[TS(p) = xp’(x).\\]\nHence \\[ST(p) - TS(p) = p(x) + xp’(x)\
\ + xp\u2019(x) - xp\u2019(x).\\] The answer is (D).\n\nQ: Suppose that f(1 + x)\ \ - xp’(x).\\] The answer is (D).\n\nQ: Suppose that f(1 + x) = f(x) for all real\
\ = f(x) for all real x. If f is a polynomial and f(5) = 11, then f(15/2)\n(A) -11\ \ x. If f is a polynomial and f(5) = 11, then f(15/2)\n(A) -11 (B) 0 (C) 11 (D)\
\ (B) 0 (C) 11 (D) 33/2\nA: Let's think step by step. The only polynomial so that\ \ 33/2\nA: Let's think step by step. The only polynomial so that $f(1 + x) = f(x)$\
\ $f(1 + x) = f(x)$ is a constant polynomial. Hence $f(5) = 11 = f(15/2)$. The answer\ \ is a constant polynomial. Hence $f(5) = 11 = f(15/2)$. The answer is (C).\n\n\
\ is (C).\n\nQ: Let A be a real 2x2 matrix. Which of the following statements must\ Q: Let A be a real 2x2 matrix. Which of the following statements must be true?\n\
\ be true?\nI. All of the entries of A^2 are nonnegative.\nII. The determinant of\ I. All of the entries of A^2 are nonnegative.\nII. The determinant of A^2 is nonnegative.\n\
\ A^2 is nonnegative.\nIII. If A has two distinct eigenvalues, then A^2 has two\ III. If A has two distinct eigenvalues, then A^2 has two distinct eigenvalues.\n\
\ distinct eigenvalues.\n(A) I only (B) II only (C) III only (D) II and III only\n\ (A) I only (B) II only (C) III only (D) II and III only\nA: Let's think step by\
A: Let's think step by step. We have \\[ det(A^2) = (det(A))^2 \\geq 0,\\] hence\ \ step. We have \\[ det(A^2) = (det(A))^2 \\geq 0,\\] hence II holds.\nIII is false:\
\ II holds.\nIII is false: as a counterexample take a diagonal matrix with -1 and\ \ as a counterexample take a diagonal matrix with -1 and 1 on the diagonal. Then\
\ 1 on the diagonal. Then $A^2$ is the identity matrix. The answer is (B).\n\nQ:\ \ $A^2$ is the identity matrix. The answer is (B).\n\nQ: Let A be the set of all\
\ Let A be the set of all ordered pairs of integers (m, n) such that 7m + 12n =\ \ ordered pairs of integers (m, n) such that 7m + 12n = 22. What is the greatest\
\ 22. What is the greatest negative number in the set B = {m + n : (m, n) \\in A}?\n\ \ negative number in the set B = {m + n : (m, n) \\in A}?\n(A) -5 (B) -4 (C) -3\
(A) -5 (B) -4 (C) -3 (D) -2\nA: Let's think step by step. We have 12n = 22 - 7m\ \ (D) -2\nA: Let's think step by step. We have 12n = 22 - 7m and one of the solutions\
\ and one of the solutions is $m = -2$, $n = 3$. Then $m + n = 1$, hence we need\ \ is $m = -2$, $n = 3$. Then $m + n = 1$, hence we need to look for smaller $m$\
\ to look for smaller $m$ in order to make $m + n$ negative. The next solution is\ \ in order to make $m + n$ negative. The next solution is $m = -14$ and $n = 10$.\
\ $m = -14$ and $n = 10$. For smaller $m$ we have $m + n$ smaller than $-4$. The\ \ For smaller $m$ we have $m + n$ smaller than $-4$. The answer is (B).\n\nQ: A\
\ answer is (B).\n\nQ: A tank initially contains a salt solution of 3 grams of salt\ \ tank initially contains a salt solution of 3 grams of salt dissolved in 100 liters\
\ dissolved in 100 liters of water. A salt solution containing 0.02 grams of salt\ \ of water. A salt solution containing 0.02 grams of salt per liter of water is\
\ per liter of water is sprayed into the tank at a rate of 4 liters per minute.\ \ sprayed into the tank at a rate of 4 liters per minute. The sprayed solution is\
\ The sprayed solution is continually mixed with the salt solution in the tank,\ \ continually mixed with the salt solution in the tank, and the mixture flows out\
\ and the mixture flows out of the tank at a rate of 4 liters per minute. If the\ \ of the tank at a rate of 4 liters per minute. If the mixing is instantaneous,\
\ mixing is instantaneous, how many grams of salt are in the tank after 100 minutes\ \ how many grams of salt are in the tank after 100 minutes have elapsed?\n(A) 2\
\ have elapsed?\n(A) 2 (B) 2 - e^-2 (C) 2 + e^-2 (D) 2 + e^-4\nA: Let's think step\ \ (B) 2 - e^-2 (C) 2 + e^-2 (D) 2 + e^-4\nA: Let's think step by step. For all $t\
\ by step. For all $t \\in \\mathbb{R}$, let $s(t)$ denote the number grams of salt\ \ \\in \\mathbb{R}$, let $s(t)$ denote the number grams of salt in the tank at the\
\ in the tank at the $t$ minute mark. Then $s(0) = 3$.\nWe use $s$ and $s(t)$ interchangeably.\ \ $t$ minute mark. Then $s(0) = 3$.\nWe use $s$ and $s(t)$ interchangeably. We also\
\ We also use $s^{\\prime}$ and $s^{\\prime}(t)$ interchangeably. The solution sprayed\ \ use $s^{\\prime}$ and $s^{\\prime}(t)$ interchangeably. The solution sprayed into\
\ into the tank adds $(0.02) 4=2 / 25$ grams of salt per minute. There are always\ \ the tank adds $(0.02) 4=2 / 25$ grams of salt per minute. There are always 100\
\ 100 liters of liquid in the tank, containing $s$ grams of salt. So the density\ \ liters of liquid in the tank, containing $s$ grams of salt. So the density of\
\ of salt in the tank is $s / 100$ grams per liter. The flow of water out of the\ \ salt in the tank is $s / 100$ grams per liter. The flow of water out of the tank\
\ tank therefore subtracts $4(s / 100)=s / 25$ grams of salt per minute. Then, for\ \ therefore subtracts $4(s / 100)=s / 25$ grams of salt per minute. Then, for all\
\ all $t \\in \\mathbb{R}$, we have $s^{\\prime}(t)=(2 / 25)-(s / 25)=(2-s) / 25$,\ \ $t \\in \\mathbb{R}$, we have $s^{\\prime}(t)=(2 / 25)-(s / 25)=(2-s) / 25$, and\
\ and so $[s(t)=2] \\Rightarrow\\left[s^{\\prime}(t)=0\right]$. For all $t \\in\ \ so $[s(t)=2] \\Rightarrow\\left[s^{\\prime}(t)=0\right]$. For all $t \\in \\mathbb{R}$,\n\
\ \\mathbb{R}$,\n$$\n\frac{d}{d t}[\\ln (s-2)]=\frac{s^{\\prime}}{s-2}=\frac{-1}{25}=\f\ $$\n\frac{d}{d t}[\\ln (s-2)]=\frac{s^{\\prime}}{s-2}=\frac{-1}{25}=\frac{d}{d t}\\\
rac{d}{d t}\\left[-\frac{t}{25}\right] .\n$$\nChoose $C \\in \\mathbb{R}$ such that,\ left[-\frac{t}{25}\right] .\n$$\nChoose $C \\in \\mathbb{R}$ such that, for all\
\ for all $t \\in \\mathbb{R}, \\ln ((s(t)-2))=-[t / 25]+C$. Let $K:=e^{C}$. Then,\ \ $t \\in \\mathbb{R}, \\ln ((s(t)-2))=-[t / 25]+C$. Let $K:=e^{C}$. Then, for all\
\ for all $t \\in \\mathbb{R}$, we have $(s(t))-2=K e^{-t / 25}$, and so $s(t)=2+K\ \ $t \\in \\mathbb{R}$, we have $(s(t))-2=K e^{-t / 25}$, and so $s(t)=2+K e^{-t\
\ e^{-t / 25}$. Then $3=s(0)=2+K e^{0}=2+K$, so $K=1$. Then $s(100)=2+K e^{-100\ \ / 25}$. Then $3=s(0)=2+K e^{0}=2+K$, so $K=1$. Then $s(100)=2+K e^{-100 / 25}=2+1\
\ / 25}=2+1 \\cdot e^{-4}=2+e^{-4}$. The answer is (D)." \ \\cdot e^{-4}=2+e^{-4}$. The answer is (D)."
include: _mmlu_flan_cot_fewshot_template_yaml "group": "mmlu_flan_cot_fewshot_stem"
task: mmlu_flan_cot_fewshot_college_mathematics "include": "_mmlu_flan_cot_fewshot_template_yaml"
"task": "mmlu_flan_cot_fewshot_college_mathematics"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment