albertvillanova HF staff commited on
Commit
7ecd94e
1 Parent(s): 4e947ff

Make defunct dataset (#7)

Browse files

- Raise DefunctDatasetError (faae3b054bfdb119fa7166a7dd5958e675267c8e)
- Add defunct disclaimer to dataset card (0676e75969cb5d4b68ba9b7e06242160bae36c58)
- Disable viewer (e2cdbe251ee93bf78ed0b8a6c4f9634596f275ea)
- Delete lagacy dataset_infos.json (55d5de9d05b1060b3629fbfcce6eb34d77e3a092)

Files changed (3) hide show
  1. README.md +5 -0
  2. dataset_infos.json +0 -1
  3. the_pile_openwebtext2.py +4 -0
README.md CHANGED
@@ -35,6 +35,7 @@ dataset_info:
35
  num_examples: 17103059
36
  download_size: 29344276480
37
  dataset_size: 68571017395
 
38
  ---
39
 
40
  # Dataset Card for the_pile_openwebtext2
@@ -80,6 +81,10 @@ dataset_info:
80
 
81
  ### Dataset Summary
82
 
 
 
 
 
83
  OpenWebText2 is part of EleutherAi/The Pile dataset and is an enhanced version of the original OpenWebTextCorpus covering all Reddit submissions from 2005 up until April 2020, with further months becoming available after the corresponding PushShift dump files are released.
84
 
85
  |download_size|27.3 Gib|
35
  num_examples: 17103059
36
  download_size: 29344276480
37
  dataset_size: 68571017395
38
+ viewer: false
39
  ---
40
 
41
  # Dataset Card for the_pile_openwebtext2
81
 
82
  ### Dataset Summary
83
 
84
+ <div class="course-tip course-tip-orange bg-gradient-to-br dark:bg-gradient-to-r before:border-orange-500 dark:before:border-orange-800 from-orange-50 dark:from-gray-900 to-white dark:to-gray-950 border border-orange-50 text-orange-700 dark:text-gray-400">
85
+ <p><b>Defunct:</b> Dataset "bookcorpusopen" is defunct and no longer accessible due to unavailability of the source data.</p>
86
+ </div>
87
+
88
  OpenWebText2 is part of EleutherAi/The Pile dataset and is an enhanced version of the original OpenWebTextCorpus covering all Reddit submissions from 2005 up until April 2020, with further months becoming available after the corresponding PushShift dump files are released.
89
 
90
  |download_size|27.3 Gib|
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"plain_text": {"description": "OpenWebText2 is an enhanced version of the original OpenWebTextCorpus covering all Reddit submissions from 2005 up until April 2020, with further months becoming available after the corresponding PushShift dump files are released.\n", "citation": "@article{pile,\n title={The {P}ile: An 800GB Dataset of Diverse Text for Language Modeling},\n author={Gao, Leo and Biderman, Stella and Black, Sid and Golding, Laurence and Hoppe, Travis and Foster, Charles and Phang, Jason and He, Horace and Thite, Anish and Nabeshima, Noa and Presser, Shawn and Leahy, Connor},\n journal={arXiv preprint arXiv:2101.00027},\n year={2020}\n}\n", "homepage": "https://openwebtext2.readthedocs.io/en/latest/", "license": "", "features": {"title": {"dtype": "string", "id": null, "_type": "Value"}, "text": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "the_pile_openwebtext2", "config_name": "plain_text", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 68571017395, "num_examples": 17103059, "dataset_name": "the_pile_openwebtext2"}}, "download_checksums": {"https://mystic.the-eye.eu/public/AI/pile_preliminary_components/openwebtext2.jsonl.zst.tar": {"num_bytes": 29344276480, "checksum": "9043d1b93c35ff1a38a17e16c73c009d4617dcaab6da15adc0faf4779739a027"}}, "download_size": 29344276480, "post_processing_size": null, "dataset_size": 68571017395, "size_in_bytes": 97915293875}}
 
the_pile_openwebtext2.py CHANGED
@@ -20,6 +20,7 @@ import json
20
  import zstandard
21
 
22
  import datasets
 
23
 
24
 
25
  _CITATION = """\
@@ -53,6 +54,9 @@ class Openwebtext2(datasets.GeneratorBasedBuilder):
53
  ]
54
 
55
  def _info(self):
 
 
 
56
  return datasets.DatasetInfo(
57
  description=_DESCRIPTION,
58
  features=datasets.Features(
20
  import zstandard
21
 
22
  import datasets
23
+ from datasets.exceptions import DefunctDatasetError
24
 
25
 
26
  _CITATION = """\
54
  ]
55
 
56
  def _info(self):
57
+ raise DefunctDatasetError(
58
+ "Dataset 'the_pile_openwebtext2' is defunct and no longer accessible due to unavailability of the source data"
59
+ )
60
  return datasets.DatasetInfo(
61
  description=_DESCRIPTION,
62
  features=datasets.Features(