newsgroups / dataset_infos.json
imbesat-rizvi's picture
[Bug Fix] Resolved load error due to difference in num_examples between configs
194d2b4
{"with_metadata": {"description": "The bydate version of the 20-newsgroup dataset fetched from scikit_learn and\nsplit in stratified manner into train, validation and test sets. With and\nwithout metadata is made available as individual config names. The test set\nfrom the original 20 newsgroup dataset is retained while the original train\nset is split 80:20 into train and validation sets in stratified manner based\non the newsgroup. The 20 different newsgroup are provided as the labels\ninstead of config names as specified in the official huggingface dataset.\nNewsgroups are specified as labels to provide a simplified setup for text\nclassification task. The 20 different newsgroup functioning as labels are:\n(1) alt.atheism\n(2) comp.graphics\n(3) comp.os.ms-windows.misc\n(4) comp.sys.ibm.pc.hardware\n(5) comp.sys.mac.hardware\n(6) comp.windows.x\n(7) misc.forsale\n(8) rec.autos\n(9) rec.motorcycles\n(10) rec.sport.baseball\n(11) rec.sport.hockey\n(12) sci.crypt\n(13) sci.electronics\n(14) sci.med\n(15) sci.space\n(16) soc.religion.christian\n(17) talk.politics.guns\n(18) talk.politics.mideast\n(19) talk.politics.misc\n(20) talk.religion.misc", "citation": "\n@inproceedings{Lang95,\n author = {Ken Lang},\n title = {Newsweeder: Learning to filter netnews}\n year = {1995}\n booktitle = {Proceedings of the Twelfth International Conference on Machine Learning}\n pages = {331-339}\n }\n ", "homepage": "http://qwone.com/~jason/20Newsgroups/", "license": "", "features": {"text": {"dtype": "large_string", "id": null, "_type": "Value"}, "labels": {"num_classes": 20, "names": ["alt.atheism", "comp.graphics", "comp.os.ms-windows.misc", "comp.sys.ibm.pc.hardware", "comp.sys.mac.hardware", "comp.windows.x", "misc.forsale", "rec.autos", "rec.motorcycles", "rec.sport.baseball", "rec.sport.hockey", "sci.crypt", "sci.electronics", "sci.med", "sci.space", "soc.religion.christian", "talk.politics.guns", "talk.politics.mideast", "talk.politics.misc", "talk.religion.misc"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "newsgroups", "config_name": "with_metadata", "version": {"version_str": "2.0.0", "description": null, "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 17065029, "num_examples": 9051, "dataset_name": "newsgroups"}, "validation": {"name": "validation", "num_bytes": 4279761, "num_examples": 2263, "dataset_name": "newsgroups"}, "test": {"name": "test", "num_bytes": 13328728, "num_examples": 7532, "dataset_name": "newsgroups"}}, "download_checksums": {}, "download_size": 0, "post_processing_size": null, "dataset_size": 34673518, "size_in_bytes": 34673518}, "without_metadata": {"description": "The bydate version of the 20-newsgroup dataset fetched from scikit_learn and\nsplit in stratified manner into train, validation and test sets. With and\nwithout metadata is made available as individual config names. The test set\nfrom the original 20 newsgroup dataset is retained while the original train\nset is split 80:20 into train and validation sets in stratified manner based\non the newsgroup. The 20 different newsgroup are provided as the labels\ninstead of config names as specified in the official huggingface dataset.\nNewsgroups are specified as labels to provide a simplified setup for text\nclassification task. The 20 different newsgroup functioning as labels are:\n(1) alt.atheism\n(2) comp.graphics\n(3) comp.os.ms-windows.misc\n(4) comp.sys.ibm.pc.hardware\n(5) comp.sys.mac.hardware\n(6) comp.windows.x\n(7) misc.forsale\n(8) rec.autos\n(9) rec.motorcycles\n(10) rec.sport.baseball\n(11) rec.sport.hockey\n(12) sci.crypt\n(13) sci.electronics\n(14) sci.med\n(15) sci.space\n(16) soc.religion.christian\n(17) talk.politics.guns\n(18) talk.politics.mideast\n(19) talk.politics.misc\n(20) talk.religion.misc", "citation": "\n@inproceedings{Lang95,\n author = {Ken Lang},\n title = {Newsweeder: Learning to filter netnews}\n year = {1995}\n booktitle = {Proceedings of the Twelfth International Conference on Machine Learning}\n pages = {331-339}\n }\n ", "homepage": "http://qwone.com/~jason/20Newsgroups/", "license": "", "features": {"text": {"dtype": "large_string", "id": null, "_type": "Value"}, "labels": {"num_classes": 20, "names": ["alt.atheism", "comp.graphics", "comp.os.ms-windows.misc", "comp.sys.ibm.pc.hardware", "comp.sys.mac.hardware", "comp.windows.x", "misc.forsale", "rec.autos", "rec.motorcycles", "rec.sport.baseball", "rec.sport.hockey", "sci.crypt", "sci.electronics", "sci.med", "sci.space", "soc.religion.christian", "talk.politics.guns", "talk.politics.mideast", "talk.politics.misc", "talk.religion.misc"], "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "newsgroups", "config_name": "without_metadata", "version": {"version_str": "2.0.0", "description": null, "major": 2, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 10852391, "num_examples": 8811, "dataset_name": "newsgroups"}, "validation": {"name": "validation", "num_bytes": 2547760, "num_examples": 2203, "dataset_name": "newsgroups"}, "test": {"name": "test", "num_bytes": 8007923, "num_examples": 7317, "dataset_name": "newsgroups"}}, "download_checksums": {}, "download_size": 0, "post_processing_size": null, "dataset_size": 21408074, "size_in_bytes": 21408074}}