Kevin Zhao commited on
Commit
7cffe68
1 Parent(s): 4bc2c67

Change answerKey to ClassLabel

Browse files
Files changed (2) hide show
  1. dataset_infos.json +1 -1
  2. oLMpics.py +1 -2
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"Age_Comparison": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Age_Comparison", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 383670, "num_examples": 4032, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 47500, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Age_Comparison/train.jsonl": {"num_bytes": 927990, "checksum": "83a27c3d26ee13ca71109db008225d7aa05b3df63187415ed1f114e9468484a1"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Age_Comparison/test.jsonl": {"num_bytes": 115000, "checksum": "006b225ff6efd2f2fb2bba111bdf7bbae91e1a9be537074cc5f4cb49de296fb3"}}, "download_size": 1042990, "post_processing_size": null, "dataset_size": 431170, "size_in_bytes": 1474160}, "Always_Never": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Always_Never", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 101551, "num_examples": 1004, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 28370, "num_examples": 280, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Always_Never/train.jsonl": {"num_bytes": 309379, "checksum": "a8a94a64c38994f2255fa8597a52b9c9c454db353878b1fd10c383a776cb49f2"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Always_Never/test.jsonl": {"num_bytes": 86330, "checksum": "189176c7b103b6ed535e1c13af95accc480456263dc3b3817711eab2839d5379"}}, "download_size": 395709, "post_processing_size": null, "dataset_size": 129921, "size_in_bytes": 525630}, "Antonym_Negation": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Antonym_Negation", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 390813, "num_examples": 4779, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 40691, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Antonym_Negation/train.jsonl": {"num_bytes": 1035978, "checksum": "ae7cda16ca9460b65e57250d837697577f41e8bf981f5f32555bcf0146f4956e"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Antonym_Negation/test.jsonl": {"num_bytes": 108191, "checksum": "9cabe691af415e6f559a7feb47806645092ee2ef4697249a516e74c49b0ec7b4"}}, "download_size": 1144169, "post_processing_size": null, "dataset_size": 431504, "size_in_bytes": 1575673}, "Encyclopedic_Composition": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Encyclopedic_Composition", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 630075, "num_examples": 5317, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 56402, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Encyclopedic_Composition/train.jsonl": {"num_bytes": 1481535, "checksum": "eee396eb2dbad2236d836f360196c341747f64f658e2507e7a5883c4afb63ee0"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Encyclopedic_Composition/test.jsonl": {"num_bytes": 136462, "checksum": "0f35311b4e023d5486db4cadf0fcdfd6ad855458bdf6afa82dc4fa2df4ad6b07"}}, "download_size": 1617997, "post_processing_size": null, "dataset_size": 686477, "size_in_bytes": 2304474}, "Multihop_Composition": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Multihop_Composition", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 625532, "num_examples": 5000, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 62500, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Multihop_Composition/train.jsonl": {"num_bytes": 1420532, "checksum": "7516153120f23e2836a289ea571ad5ca14240fd8c67746c08c3fd411a0b8dad1"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Multihop_Composition/test.jsonl": {"num_bytes": 142000, "checksum": "0e7d785b4a6092cb2b74f88ca93c99cc6ff145b4771fce16806722ffd619c812"}}, "download_size": 1562532, "post_processing_size": null, "dataset_size": 688032, "size_in_bytes": 2250564}, "Object_Comparison": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Object_Comparison", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 538275, "num_examples": 5000, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 51873, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Object_Comparison/train.jsonl": {"num_bytes": 1213275, "checksum": "c709fce07a0d1269c005850d29c7292ef738941d3c3d9b5b4ee0d712c3d65db7"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Object_Comparison/test.jsonl": {"num_bytes": 119373, "checksum": "8dd1797d5c7ccbb0988a3db78f4eb6c8cc48edfd775dabc79a8d52aa00b83680"}}, "download_size": 1332648, "post_processing_size": null, "dataset_size": 590148, "size_in_bytes": 1922796}, "Property_Conjunction": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Property_Conjunction", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 386328, "num_examples": 4000, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 57764, "num_examples": 483, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Property_Conjunction/train.jsonl": {"num_bytes": 1022328, "checksum": "611bf0a9d9dac81df164438ecbe8aa51ace85ce88663614c56d10db0e40011ca"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Property_Conjunction/test.jsonl": {"num_bytes": 134561, "checksum": "feb0541dec0ceb57527945a7044b959405465095d2ec5a9aeda553e12207f070"}}, "download_size": 1156889, "post_processing_size": null, "dataset_size": 444092, "size_in_bytes": 1600981}, "Taxonomy_Conjunction": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Taxonomy_Conjunction", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 507284, "num_examples": 5310, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 55489, "num_examples": 599, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Taxonomy_Conjunction/train.jsonl": {"num_bytes": 1351574, "checksum": "e7d591a9f433c3dc75969279667b4bdad03ea0e298df4f2f23904816044693d2"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Taxonomy_Conjunction/test.jsonl": {"num_bytes": 150730, "checksum": "020f48b1ebd92283d2e095c969c854355e308f3d8f724c9461a685d8f7844593"}}, "download_size": 1502304, "post_processing_size": null, "dataset_size": 562773, "size_in_bytes": 2065077}}
 
1
+ {"Age_Comparison": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Age_Comparison", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 395766, "num_examples": 4032, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 49000, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Age_Comparison/train.jsonl": {"num_bytes": 927990, "checksum": "83a27c3d26ee13ca71109db008225d7aa05b3df63187415ed1f114e9468484a1"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Age_Comparison/test.jsonl": {"num_bytes": 115000, "checksum": "006b225ff6efd2f2fb2bba111bdf7bbae91e1a9be537074cc5f4cb49de296fb3"}}, "download_size": 1042990, "post_processing_size": null, "dataset_size": 444766, "size_in_bytes": 1487756}, "Always_Never": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Always_Never", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 104563, "num_examples": 1004, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 29210, "num_examples": 280, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Always_Never/train.jsonl": {"num_bytes": 309379, "checksum": "a8a94a64c38994f2255fa8597a52b9c9c454db353878b1fd10c383a776cb49f2"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Always_Never/test.jsonl": {"num_bytes": 86330, "checksum": "189176c7b103b6ed535e1c13af95accc480456263dc3b3817711eab2839d5379"}}, "download_size": 395709, "post_processing_size": null, "dataset_size": 133773, "size_in_bytes": 529482}, "Antonym_Negation": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Antonym_Negation", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 405150, "num_examples": 4779, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 42191, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Antonym_Negation/train.jsonl": {"num_bytes": 1035978, "checksum": "ae7cda16ca9460b65e57250d837697577f41e8bf981f5f32555bcf0146f4956e"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Antonym_Negation/test.jsonl": {"num_bytes": 108191, "checksum": "9cabe691af415e6f559a7feb47806645092ee2ef4697249a516e74c49b0ec7b4"}}, "download_size": 1144169, "post_processing_size": null, "dataset_size": 447341, "size_in_bytes": 1591510}, "Encyclopedic_Composition": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Encyclopedic_Composition", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 646026, "num_examples": 5317, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 57902, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Encyclopedic_Composition/train.jsonl": {"num_bytes": 1481535, "checksum": "eee396eb2dbad2236d836f360196c341747f64f658e2507e7a5883c4afb63ee0"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Encyclopedic_Composition/test.jsonl": {"num_bytes": 136462, "checksum": "0f35311b4e023d5486db4cadf0fcdfd6ad855458bdf6afa82dc4fa2df4ad6b07"}}, "download_size": 1617997, "post_processing_size": null, "dataset_size": 703928, "size_in_bytes": 2321925}, "Multihop_Composition": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Multihop_Composition", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 640532, "num_examples": 5000, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 64000, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Multihop_Composition/train.jsonl": {"num_bytes": 1420532, "checksum": "7516153120f23e2836a289ea571ad5ca14240fd8c67746c08c3fd411a0b8dad1"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Multihop_Composition/test.jsonl": {"num_bytes": 142000, "checksum": "0e7d785b4a6092cb2b74f88ca93c99cc6ff145b4771fce16806722ffd619c812"}}, "download_size": 1562532, "post_processing_size": null, "dataset_size": 704532, "size_in_bytes": 2267064}, "Object_Comparison": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Object_Comparison", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 553275, "num_examples": 5000, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 53373, "num_examples": 500, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Object_Comparison/train.jsonl": {"num_bytes": 1213275, "checksum": "c709fce07a0d1269c005850d29c7292ef738941d3c3d9b5b4ee0d712c3d65db7"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Object_Comparison/test.jsonl": {"num_bytes": 119373, "checksum": "8dd1797d5c7ccbb0988a3db78f4eb6c8cc48edfd775dabc79a8d52aa00b83680"}}, "download_size": 1332648, "post_processing_size": null, "dataset_size": 606648, "size_in_bytes": 1939296}, "Property_Conjunction": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Property_Conjunction", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 398328, "num_examples": 4000, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 59213, "num_examples": 483, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Property_Conjunction/train.jsonl": {"num_bytes": 1022328, "checksum": "611bf0a9d9dac81df164438ecbe8aa51ace85ce88663614c56d10db0e40011ca"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Property_Conjunction/test.jsonl": {"num_bytes": 134561, "checksum": "feb0541dec0ceb57527945a7044b959405465095d2ec5a9aeda553e12207f070"}}, "download_size": 1156889, "post_processing_size": null, "dataset_size": 457541, "size_in_bytes": 1614430}, "Taxonomy_Conjunction": {"description": "This is a set a eight datasets from the paper \"oLMpics - On what Language Model Pre-training Captures\"\nby Alon Talmor et al.\n", "citation": "@article{talmor2020olmpics,\n title={oLMpics-on what language model pre-training captures},\n author={Talmor, Alon and Elazar, Yanai and Goldberg, Yoav and Berant, Jonathan},\n journal={Transactions of the Association for Computational Linguistics},\n volume={8},\n pages={743--758},\n year={2020},\n publisher={MIT Press}\n}\n", "homepage": "https://github.com/alontalmor/oLMpics", "license": "Apache 2.0", "features": {"stem": {"dtype": "string", "id": null, "_type": "Value"}, "choices": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "answerKey": {"num_classes": 5, "names": ["A", "B", "C", "D", "E"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "ol_mpics_dataset", "config_name": "Taxonomy_Conjunction", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 523214, "num_examples": 5310, "dataset_name": "ol_mpics_dataset"}, "test": {"name": "test", "num_bytes": 57286, "num_examples": 599, "dataset_name": "ol_mpics_dataset"}}, "download_checksums": {"https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Taxonomy_Conjunction/train.jsonl": {"num_bytes": 1351574, "checksum": "e7d591a9f433c3dc75969279667b4bdad03ea0e298df4f2f23904816044693d2"}, "https://huggingface.co/datasets/KevinZ/oLMpics/resolve/main/Taxonomy_Conjunction/test.jsonl": {"num_bytes": 150730, "checksum": "020f48b1ebd92283d2e095c969c854355e308f3d8f724c9461a685d8f7844593"}}, "download_size": 1502304, "post_processing_size": null, "dataset_size": 580500, "size_in_bytes": 2082804}}
oLMpics.py CHANGED
@@ -76,8 +76,7 @@ class OLMpicsDataset(datasets.GeneratorBasedBuilder):
76
  {
77
  "stem": datasets.Value("string"),
78
  "choices": datasets.Sequence(datasets.Value("string")),
79
- "answerKey": datasets.Value("string")
80
- # These are the features of your dataset like images, labels ...
81
  }
82
  )
83
 
 
76
  {
77
  "stem": datasets.Value("string"),
78
  "choices": datasets.Sequence(datasets.Value("string")),
79
+ "answerKey": datasets.ClassLabel(names=["A", "B", "C", "D", "E"]) # oLMpics has at most 5 answer choices
 
80
  }
81
  )
82