koichi12 commited on
Commit
edc79ed
·
verified ·
1 Parent(s): 8863ed8

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. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/README.md +49 -0
  2. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/generate_tasks.py +230 -0
  3. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/generate_until_template_yaml +18 -0
  4. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/abstract_narrative_understanding.yaml +4 -0
  5. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/anachronisms.yaml +4 -0
  6. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/analogical_similarity.yaml +4 -0
  7. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/cause_and_effect.yaml +4 -0
  8. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/cifar10_classification.yaml +4 -0
  9. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/color.yaml +4 -0
  10. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/common_morpheme.yaml +4 -0
  11. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/crash_blossom.yaml +4 -0
  12. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/crass_ai.yaml +4 -0
  13. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/cryobiology_spanish.yaml +4 -0
  14. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/date_understanding.yaml +4 -0
  15. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/dyck_languages.yaml +4 -0
  16. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/elementary_math_qa.yaml +4 -0
  17. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/english_proverbs.yaml +4 -0
  18. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/english_russian_proverbs.yaml +4 -0
  19. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/evaluating_information_essentiality.yaml +4 -0
  20. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/fact_checker.yaml +4 -0
  21. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/fantasy_reasoning.yaml +4 -0
  22. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/geometric_shapes.yaml +4 -0
  23. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/goal_step_wikihow.yaml +4 -0
  24. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/gre_reading_comprehension.yaml +4 -0
  25. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/hindu_knowledge.yaml +4 -0
  26. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/hinglish_toxicity.yaml +4 -0
  27. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/hyperbaton.yaml +4 -0
  28. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/identify_math_theorems.yaml +4 -0
  29. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/identify_odd_metaphor.yaml +4 -0
  30. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/implicit_relations.yaml +4 -0
  31. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/intent_recognition.yaml +4 -0
  32. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/irony_identification.yaml +4 -0
  33. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/kannada.yaml +4 -0
  34. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/key_value_maps.yaml +4 -0
  35. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/language_identification.yaml +4 -0
  36. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/logic_grid_puzzle.yaml +4 -0
  37. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/logical_fallacy_detection.yaml +4 -0
  38. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/mathematical_induction.yaml +4 -0
  39. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/moral_permissibility.yaml +4 -0
  40. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/navigate.yaml +4 -0
  41. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/nonsense_words_grammar.yaml +4 -0
  42. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/odd_one_out.yaml +4 -0
  43. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/penguins_in_a_table.yaml +4 -0
  44. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/periodic_elements.yaml +4 -0
  45. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/phrase_relatedness.yaml +4 -0
  46. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/play_dialog_same_or_different.yaml +4 -0
  47. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/question_selection.yaml +4 -0
  48. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/reasoning_about_colored_objects.yaml +4 -0
  49. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/similarities_abstraction.yaml +4 -0
  50. scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/simple_ethical_questions.yaml +4 -0
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # BigBench
2
+
3
+ ### Paper
4
+
5
+ Title: `Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models`
6
+
7
+ Abstract: https://arxiv.org/abs/2206.04615
8
+
9
+ The Beyond the Imitation Game Benchmark (BIG-bench) is a collaborative benchmark intended to probe large language models and extrapolate their future capabilities.
10
+
11
+ Homepage: https://github.com/google/BIG-bench
12
+
13
+
14
+ ### Citation
15
+
16
+ ```
17
+ @misc{srivastava2022imitation,
18
+ title={Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language models},
19
+ author={Aarohi Srivastava and Abhinav Rastogi and Abhishek Rao and Abu Awal Md Shoeb and Abubakar Abid and Adam Fisch and Adam R. Brown and Adam Santoro and Aditya Gupta and Adrià Garriga-Alonso and Agnieszka Kluska and Aitor Lewkowycz and Akshat Agarwal and Alethea Power and Alex Ray and Alex Warstadt and Alexander W. Kocurek and Ali Safaya and Ali Tazarv and Alice Xiang and Alicia Parrish and Allen Nie and Aman Hussain and Amanda Askell and Amanda Dsouza and Ambrose Slone and Ameet Rahane and Anantharaman S. Iyer and Anders Andreassen and Andrea Madotto and Andrea Santilli and Andreas Stuhlmüller and Andrew Dai and Andrew La and Andrew Lampinen and Andy Zou and Angela Jiang and Angelica Chen and Anh Vuong and Animesh Gupta and Anna Gottardi and Antonio Norelli and Anu Venkatesh and Arash Gholamidavoodi and Arfa Tabassum and Arul Menezes and Arun Kirubarajan and Asher Mullokandov and Ashish Sabharwal and Austin Herrick and Avia Efrat and Aykut Erdem and Ayla Karakaş and B. Ryan Roberts and Bao Sheng Loe and Barret Zoph and Bartłomiej Bojanowski and Batuhan Özyurt and Behnam Hedayatnia and Behnam Neyshabur and Benjamin Inden and Benno Stein and Berk Ekmekci and Bill Yuchen Lin and Blake Howald and Cameron Diao and Cameron Dour and Catherine Stinson and Cedrick Argueta and César Ferri Ramírez and Chandan Singh and Charles Rathkopf and Chenlin Meng and Chitta Baral and Chiyu Wu and Chris Callison-Burch and Chris Waites and Christian Voigt and Christopher D. Manning and Christopher Potts and Cindy Ramirez and Clara E. Rivera and Clemencia Siro and Colin Raffel and Courtney Ashcraft and Cristina Garbacea and Damien Sileo and Dan Garrette and Dan Hendrycks and Dan Kilman and Dan Roth and Daniel Freeman and Daniel Khashabi and Daniel Levy and Daniel Moseguí González and Danielle Perszyk and Danny Hernandez and Danqi Chen and Daphne Ippolito and Dar Gilboa and David Dohan and David Drakard and David Jurgens and Debajyoti Datta and Deep Ganguli and Denis Emelin and Denis Kleyko and Deniz Yuret and Derek Chen and Derek Tam and Dieuwke Hupkes and Diganta Misra and Dilyar Buzan and Dimitri Coelho Mollo and Diyi Yang and Dong-Ho Lee and Ekaterina Shutova and Ekin Dogus Cubuk and Elad Segal and Eleanor Hagerman and Elizabeth Barnes and Elizabeth Donoway and Ellie Pavlick and Emanuele Rodola and Emma Lam and Eric Chu and Eric Tang and Erkut Erdem and Ernie Chang and Ethan A. Chi and Ethan Dyer and Ethan Jerzak and Ethan Kim and Eunice Engefu Manyasi and Evgenii Zheltonozhskii and Fanyue Xia and Fatemeh Siar and Fernando Martínez-Plumed and Francesca Happé and Francois Chollet and Frieda Rong and Gaurav Mishra and Genta Indra Winata and Gerard de Melo and Germán Kruszewski and Giambattista Parascandolo and Giorgio Mariani and Gloria Wang and Gonzalo Jaimovitch-López and Gregor Betz and Guy Gur-Ari and Hana Galijasevic and Hannah Kim and Hannah Rashkin and Hannaneh Hajishirzi and Harsh Mehta and Hayden Bogar and Henry Shevlin and Hinrich Schütze and Hiromu Yakura and Hongming Zhang and Hugh Mee Wong and Ian Ng and Isaac Noble and Jaap Jumelet and Jack Geissinger and Jackson Kernion and Jacob Hilton and Jaehoon Lee and Jaime Fernández Fisac and James B. Simon and James Koppel and James Zheng and James Zou and Jan Kocoń and Jana Thompson and Jared Kaplan and Jarema Radom and Jascha Sohl-Dickstein and Jason Phang and Jason Wei and Jason Yosinski and Jekaterina Novikova and Jelle Bosscher and Jennifer Marsh and Jeremy Kim and Jeroen Taal and Jesse Engel and Jesujoba Alabi and Jiacheng Xu and Jiaming Song and Jillian Tang and Joan Waweru and John Burden and John Miller and John U. Balis and Jonathan Berant and Jörg Frohberg and Jos Rozen and Jose Hernandez-Orallo and Joseph Boudeman and Joseph Jones and Joshua B. Tenenbaum and Joshua S. Rule and Joyce Chua and Kamil Kanclerz and Karen Livescu and Karl Krauth and Karthik Gopalakrishnan and Katerina Ignatyeva and Katja Markert and Kaustubh D. Dhole and Kevin Gimpel and Kevin Omondi and Kory Mathewson and Kristen Chiafullo and Ksenia Shkaruta and Kumar Shridhar and Kyle McDonell and Kyle Richardson and Laria Reynolds and Leo Gao and Li Zhang and Liam Dugan and Lianhui Qin and Lidia Contreras-Ochando and Louis-Philippe Morency and Luca Moschella and Lucas Lam and Lucy Noble and Ludwig Schmidt and Luheng He and Luis Oliveros Colón and Luke Metz and Lütfi Kerem Şenel and Maarten Bosma and Maarten Sap and Maartje ter Hoeve and Maheen Farooqi and Manaal Faruqui and Mantas Mazeika and Marco Baturan and Marco Marelli and Marco Maru and Maria Jose Ramírez Quintana and Marie Tolkiehn and Mario Giulianelli and Martha Lewis and Martin Potthast and Matthew L. Leavitt and Matthias Hagen and Mátyás Schubert and Medina Orduna Baitemirova and Melody Arnaud and Melvin McElrath and Michael A. Yee and Michael Cohen and Michael Gu and Michael Ivanitskiy and Michael Starritt and Michael Strube and Michał Swędrowski and Michele Bevilacqua and Michihiro Yasunaga and Mihir Kale and Mike Cain and Mimee Xu and Mirac Suzgun and Mo Tiwari and Mohit Bansal and Moin Aminnaseri and Mor Geva and Mozhdeh Gheini and Mukund Varma T and Nanyun Peng and Nathan Chi and Nayeon Lee and Neta Gur-Ari Krakover and Nicholas Cameron and Nicholas Roberts and Nick Doiron and Nikita Nangia and Niklas Deckers and Niklas Muennighoff and Nitish Shirish Keskar and Niveditha S. Iyer and Noah Constant and Noah Fiedel and Nuan Wen and Oliver Zhang and Omar Agha and Omar Elbaghdadi and Omer Levy and Owain Evans and Pablo Antonio Moreno Casares and Parth Doshi and Pascale Fung and Paul Pu Liang and Paul Vicol and Pegah Alipoormolabashi and Peiyuan Liao and Percy Liang and Peter Chang and Peter Eckersley and Phu Mon Htut and Pinyu Hwang and Piotr Miłkowski and Piyush Patil and Pouya Pezeshkpour and Priti Oli and Qiaozhu Mei and Qing Lyu and Qinlang Chen and Rabin Banjade and Rachel Etta Rudolph and Raefer Gabriel and Rahel Habacker and Ramón Risco Delgado and Raphaël Millière and Rhythm Garg and Richard Barnes and Rif A. Saurous and Riku Arakawa and Robbe Raymaekers and Robert Frank and Rohan Sikand and Roman Novak and Roman Sitelew and Ronan LeBras and Rosanne Liu and Rowan Jacobs and Rui Zhang and Ruslan Salakhutdinov and Ryan Chi and Ryan Lee and Ryan Stovall and Ryan Teehan and Rylan Yang and Sahib Singh and Saif M. Mohammad and Sajant Anand and Sam Dillavou and Sam Shleifer and Sam Wiseman and Samuel Gruetter and Samuel R. Bowman and Samuel S. Schoenholz and Sanghyun Han and Sanjeev Kwatra and Sarah A. Rous and Sarik Ghazarian and Sayan Ghosh and Sean Casey and Sebastian Bischoff and Sebastian Gehrmann and Sebastian Schuster and Sepideh Sadeghi and Shadi Hamdan and Sharon Zhou and Shashank Srivastava and Sherry Shi and Shikhar Singh and Shima Asaadi and Shixiang Shane Gu and Shubh Pachchigar and Shubham Toshniwal and Shyam Upadhyay and Shyamolima and Debnath and Siamak Shakeri and Simon Thormeyer and Simone Melzi and Siva Reddy and Sneha Priscilla Makini and Soo-Hwan Lee and Spencer Torene and Sriharsha Hatwar and Stanislas Dehaene and Stefan Divic and Stefano Ermon and Stella Biderman and Stephanie Lin and Stephen Prasad and Steven T. Piantadosi and Stuart M. Shieber and Summer Misherghi and Svetlana Kiritchenko and Swaroop Mishra and Tal Linzen and Tal Schuster and Tao Li and Tao Yu and Tariq Ali and Tatsu Hashimoto and Te-Lin Wu and Théo Desbordes and Theodore Rothschild and Thomas Phan and Tianle Wang and Tiberius Nkinyili and Timo Schick and Timofei Kornev and Timothy Telleen-Lawton and Titus Tunduny and Tobias Gerstenberg and Trenton Chang and Trishala Neeraj and Tushar Khot and Tyler Shultz and Uri Shaham and Vedant Misra and Vera Demberg and Victoria Nyamai and Vikas Raunak and Vinay Ramasesh and Vinay Uday Prabhu and Vishakh Padmakumar and Vivek Srikumar and William Fedus and William Saunders and William Zhang and Wout Vossen and Xiang Ren and Xiaoyu Tong and Xinran Zhao and Xinyi Wu and Xudong Shen and Yadollah Yaghoobzadeh and Yair Lakretz and Yangqiu Song and Yasaman Bahri and Yejin Choi and Yichi Yang and Yiding Hao and Yifu Chen and Yonatan Belinkov and Yu Hou and Yufang Hou and Yuntao Bai and Zachary Seid and Zhuoye Zhao and Zijian Wang and Zijie J. Wang and Zirui Wang and Ziyi Wu},
20
+ year={2022},
21
+ eprint={2206.04615},
22
+ archivePrefix={arXiv},
23
+ primaryClass={cs.CL}
24
+ }
25
+ ```
26
+
27
+ ### Groups and Tasks
28
+
29
+ #### Groups
30
+
31
+ * `group_name`: `Short description`
32
+
33
+ #### Tasks
34
+
35
+ * `task_name`: `1-sentence description of what this particular task does`
36
+ * `task_name2`: ...
37
+
38
+ ### Checklist
39
+
40
+ For adding novel benchmarks/datasets to the library:
41
+ * [ ] Is the task an existing benchmark in the literature?
42
+ * [ ] Have you referenced the original paper that introduced the task?
43
+ * [ ] If yes, does the original paper provide a reference implementation? If so, have you checked against the reference implementation and documented how to run such a test?
44
+
45
+
46
+ If other tasks on this dataset are already supported:
47
+ * [ ] Is the "Main" variant of this task clearly denoted?
48
+ * [ ] Have you provided a short sentence in a README on what each new variant adds / evaluates?
49
+ * [ ] Have you noted which, if any, published evaluation setups are matched by this variant?
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/generate_tasks.py ADDED
@@ -0,0 +1,230 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import os
2
+
3
+ import datasets
4
+ import yaml
5
+
6
+
7
+ all_subtasks = [
8
+ "abstract_narrative_understanding",
9
+ "anachronisms",
10
+ "analogical_similarity",
11
+ "analytic_entailment",
12
+ "arithmetic",
13
+ "ascii_word_recognition",
14
+ "authorship_verification",
15
+ "auto_categorization",
16
+ "auto_debugging",
17
+ "bbq_lite_json",
18
+ "bridging_anaphora_resolution_barqa",
19
+ "causal_judgment",
20
+ "cause_and_effect",
21
+ "checkmate_in_one",
22
+ "chess_state_tracking",
23
+ "chinese_remainder_theorem",
24
+ "cifar10_classification",
25
+ "code_line_description",
26
+ "codenames",
27
+ "color",
28
+ "common_morpheme",
29
+ "conceptual_combinations",
30
+ "conlang_translation",
31
+ "contextual_parametric_knowledge_conflicts",
32
+ "crash_blossom",
33
+ "crass_ai",
34
+ "cryobiology_spanish",
35
+ "cryptonite",
36
+ "cs_algorithms",
37
+ "dark_humor_detection",
38
+ "date_understanding",
39
+ "disambiguation_qa",
40
+ "discourse_marker_prediction",
41
+ "disfl_qa",
42
+ "dyck_languages",
43
+ "elementary_math_qa",
44
+ "emoji_movie",
45
+ "emojis_emotion_prediction",
46
+ "empirical_judgments",
47
+ "english_proverbs",
48
+ "english_russian_proverbs",
49
+ "entailed_polarity",
50
+ "entailed_polarity_hindi",
51
+ "epistemic_reasoning",
52
+ "evaluating_information_essentiality",
53
+ "fact_checker",
54
+ "fantasy_reasoning",
55
+ "few_shot_nlg",
56
+ "figure_of_speech_detection",
57
+ "formal_fallacies_syllogisms_negation",
58
+ "gem",
59
+ "gender_inclusive_sentences_german",
60
+ "general_knowledge",
61
+ "geometric_shapes",
62
+ "goal_step_wikihow",
63
+ "gre_reading_comprehension",
64
+ "hhh_alignment",
65
+ "hindi_question_answering",
66
+ "hindu_knowledge",
67
+ "hinglish_toxicity",
68
+ "human_organs_senses",
69
+ "hyperbaton",
70
+ "identify_math_theorems",
71
+ "identify_odd_metaphor",
72
+ "implicatures",
73
+ "implicit_relations",
74
+ "intent_recognition",
75
+ "international_phonetic_alphabet_nli",
76
+ "international_phonetic_alphabet_transliterate",
77
+ "intersect_geometry",
78
+ "irony_identification",
79
+ "kanji_ascii",
80
+ "kannada",
81
+ "key_value_maps",
82
+ "known_unknowns",
83
+ "language_games",
84
+ "language_identification",
85
+ "linguistic_mappings",
86
+ "linguistics_puzzles",
87
+ "list_functions",
88
+ "logic_grid_puzzle",
89
+ "logical_args",
90
+ "logical_deduction",
91
+ "logical_fallacy_detection",
92
+ "logical_sequence",
93
+ "mathematical_induction",
94
+ "matrixshapes",
95
+ "metaphor_boolean",
96
+ "metaphor_understanding",
97
+ "minute_mysteries_qa",
98
+ "misconceptions",
99
+ "misconceptions_russian",
100
+ "mnist_ascii",
101
+ "modified_arithmetic",
102
+ "moral_permissibility",
103
+ "movie_dialog_same_or_different",
104
+ "movie_recommendation",
105
+ "mult_data_wrangling",
106
+ "multiemo",
107
+ "natural_instructions",
108
+ "navigate",
109
+ "nonsense_words_grammar",
110
+ "novel_concepts",
111
+ "object_counting",
112
+ "odd_one_out",
113
+ "operators",
114
+ "paragraph_segmentation",
115
+ "parsinlu_qa",
116
+ "parsinlu_reading_comprehension",
117
+ "penguins_in_a_table",
118
+ "periodic_elements",
119
+ "persian_idioms",
120
+ "phrase_relatedness",
121
+ "physical_intuition",
122
+ "physics",
123
+ "physics_questions",
124
+ "play_dialog_same_or_different",
125
+ "polish_sequence_labeling",
126
+ "presuppositions_as_nli",
127
+ "qa_wikidata",
128
+ "question_selection",
129
+ "real_or_fake_text",
130
+ "reasoning_about_colored_objects",
131
+ "repeat_copy_logic",
132
+ "rephrase",
133
+ "riddle_sense",
134
+ "ruin_names",
135
+ "salient_translation_error_detection",
136
+ "scientific_press_release",
137
+ "semantic_parsing_in_context_sparc",
138
+ "semantic_parsing_spider",
139
+ "sentence_ambiguity",
140
+ "similarities_abstraction",
141
+ "simp_turing_concept",
142
+ "simple_arithmetic_json",
143
+ "simple_arithmetic_json_multiple_choice",
144
+ "simple_arithmetic_json_subtasks",
145
+ "simple_arithmetic_multiple_targets_json",
146
+ "simple_ethical_questions",
147
+ "simple_text_editing",
148
+ "snarks",
149
+ "social_iqa",
150
+ "social_support",
151
+ "sports_understanding",
152
+ "strange_stories",
153
+ "strategyqa",
154
+ "sufficient_information",
155
+ "suicide_risk",
156
+ "swahili_english_proverbs",
157
+ "swedish_to_german_proverbs",
158
+ "symbol_interpretation",
159
+ "temporal_sequences",
160
+ "tense",
161
+ "timedial",
162
+ "topical_chat",
163
+ "tracking_shuffled_objects",
164
+ "understanding_fables",
165
+ "undo_permutation",
166
+ "unit_conversion",
167
+ "unit_interpretation",
168
+ "unnatural_in_context_learning",
169
+ "vitaminc_fact_verification",
170
+ "what_is_the_tao",
171
+ "which_wiki_edit",
172
+ "winowhy",
173
+ "word_sorting",
174
+ "word_unscrambling",
175
+ ]
176
+
177
+ skip_tasks = [
178
+ "simple_arithmetic_json_multiple_choice",
179
+ "simple_arithmetic_multiple_targets_json",
180
+ ]
181
+
182
+
183
+ def main() -> None:
184
+ for path, task_type in zip(
185
+ ["multiple_choice", "generate_until"],
186
+ ["multiple_choice_template_yaml", "generate_until_template_yaml"],
187
+ ):
188
+ os.makedirs(path, exist_ok=True)
189
+ for task in all_subtasks:
190
+ file_name = f"{task}.yaml"
191
+ try:
192
+ template_file = task_type
193
+ if path == "multiple_choice":
194
+ print(f"Checking {task} for multiple choices")
195
+ if task in skip_tasks:
196
+ continue
197
+ data = datasets.load_dataset("hails/bigbench", task + "_zero_shot")
198
+ multiple_choice_targets = data["default"][0][
199
+ "multiple_choice_targets"
200
+ ]
201
+ if len(multiple_choice_targets) == 0:
202
+ continue
203
+ else:
204
+ template_file = "multiple_choice_template_b_yaml"
205
+ if set(data["default"][0]["targets"]) < set(
206
+ multiple_choice_targets
207
+ ):
208
+ template_file = "multiple_choice_template_a_yaml"
209
+
210
+ with open(f"{path}/{file_name}", "w", encoding="utf-8") as f:
211
+ f.write("# Generated by utils.py\n")
212
+ yaml.dump(
213
+ {
214
+ "include": f"../{template_file}",
215
+ "task": "bigbench_"
216
+ + task
217
+ + "_{}".format(task_type.split("_template_yaml")[0]),
218
+ "dataset_name": task
219
+ + "_zero_shot", # zero-shot version of the dataset
220
+ },
221
+ f,
222
+ width=float("inf"),
223
+ allow_unicode=True,
224
+ )
225
+ except FileExistsError:
226
+ pass
227
+
228
+
229
+ if __name__ == "__main__":
230
+ main()
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/generate_until_template_yaml ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ group: bigbench_generate_until
2
+ dataset_path: hails/bigbench
3
+ output_type: generate_until
4
+ dataset_kwargs:
5
+ # num_shots: 0 # TODO: num of shots for `bigbench` HF dataset should be controlled through this, not through the typical methods
6
+ # subtask_name: null
7
+ test_split: default
8
+ doc_to_text: inputs
9
+ doc_to_target: "{{targets[0]}}"
10
+ generation_kwargs:
11
+ max_gen_toks: 128
12
+ metric_list:
13
+ - metric: exact_match
14
+ aggregation: mean
15
+ higher_is_better: true
16
+ ignore_punctuation: true
17
+ metadata:
18
+ version: 1.0
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/abstract_narrative_understanding.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: abstract_narrative_understanding_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_abstract_narrative_understanding_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/anachronisms.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: anachronisms_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_anachronisms_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/analogical_similarity.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: analogical_similarity_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_analogical_similarity_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/cause_and_effect.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: cause_and_effect_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_cause_and_effect_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/cifar10_classification.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: cifar10_classification_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_cifar10_classification_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/color.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: color_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_color_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/common_morpheme.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: common_morpheme_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_common_morpheme_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/crash_blossom.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: crash_blossom_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_crash_blossom_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/crass_ai.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: crass_ai_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_crass_ai_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/cryobiology_spanish.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: cryobiology_spanish_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_cryobiology_spanish_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/date_understanding.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: date_understanding_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_date_understanding_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/dyck_languages.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: dyck_languages_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_dyck_languages_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/elementary_math_qa.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: elementary_math_qa_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_elementary_math_qa_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/english_proverbs.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: english_proverbs_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_english_proverbs_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/english_russian_proverbs.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: english_russian_proverbs_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_english_russian_proverbs_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/evaluating_information_essentiality.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: evaluating_information_essentiality_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_evaluating_information_essentiality_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/fact_checker.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: fact_checker_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_fact_checker_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/fantasy_reasoning.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: fantasy_reasoning_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_fantasy_reasoning_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/geometric_shapes.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: geometric_shapes_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_geometric_shapes_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/goal_step_wikihow.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: goal_step_wikihow_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_goal_step_wikihow_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/gre_reading_comprehension.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: gre_reading_comprehension_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_gre_reading_comprehension_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/hindu_knowledge.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: hindu_knowledge_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_hindu_knowledge_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/hinglish_toxicity.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: hinglish_toxicity_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_hinglish_toxicity_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/hyperbaton.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: hyperbaton_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_hyperbaton_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/identify_math_theorems.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: identify_math_theorems_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_identify_math_theorems_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/identify_odd_metaphor.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: identify_odd_metaphor_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_identify_odd_metaphor_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/implicit_relations.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: implicit_relations_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_implicit_relations_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/intent_recognition.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: intent_recognition_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_intent_recognition_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/irony_identification.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: irony_identification_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_irony_identification_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/kannada.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: kannada_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_kannada_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/key_value_maps.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: key_value_maps_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_key_value_maps_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/language_identification.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: language_identification_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_language_identification_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/logic_grid_puzzle.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: logic_grid_puzzle_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_logic_grid_puzzle_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/logical_fallacy_detection.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: logical_fallacy_detection_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_logical_fallacy_detection_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/mathematical_induction.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: mathematical_induction_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_mathematical_induction_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/moral_permissibility.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: moral_permissibility_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_moral_permissibility_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/navigate.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: navigate_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_navigate_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/nonsense_words_grammar.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: nonsense_words_grammar_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_nonsense_words_grammar_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/odd_one_out.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: odd_one_out_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_odd_one_out_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/penguins_in_a_table.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: penguins_in_a_table_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_penguins_in_a_table_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/periodic_elements.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: periodic_elements_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_periodic_elements_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/phrase_relatedness.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: phrase_relatedness_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_phrase_relatedness_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/play_dialog_same_or_different.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: play_dialog_same_or_different_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_play_dialog_same_or_different_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/question_selection.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: question_selection_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_question_selection_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/reasoning_about_colored_objects.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: reasoning_about_colored_objects_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_reasoning_about_colored_objects_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/similarities_abstraction.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: similarities_abstraction_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_similarities_abstraction_multiple_choice
scripts/yans/lm-evaluation-harness/lm_eval/tasks/bigbench/multiple_choice/simple_ethical_questions.yaml ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ # Generated by utils.py
2
+ dataset_name: simple_ethical_questions_zero_shot
3
+ include: ../multiple_choice_template_a_yaml
4
+ task: bigbench_simple_ethical_questions_multiple_choice