Commit
•
f171faa
1
Parent(s):
a2ff852
Make defunct dataset (#5)
Browse files- Raise DefunctDatasetError (f86e1a517587cfae4680c83fe101f739eefe8527)
- Add defunct disclaimer to dataset card (ce2b2f332314f7bc855efc8a9dd382cd86046fba)
- Disable viewer (47d6dbb211a3e3e2d600d785e9481d88c8ab57ec)
- Delete lagacy dataset_infos.json (5afb47dff2dedb838bca713e69f0c9444ef60927)
- README.md +5 -0
- dataset_infos.json +0 -1
- the_pile_stack_exchange.py +4 -0
README.md
CHANGED
@@ -33,6 +33,7 @@ dataset_info:
|
|
33 |
num_examples: 5096117
|
34 |
download_size: 36802959360
|
35 |
dataset_size: 11075434609
|
|
|
36 |
---
|
37 |
|
38 |
# Dataset Card for Stack Exchange
|
@@ -78,6 +79,10 @@ dataset_info:
|
|
78 |
|
79 |
### Dataset Summary
|
80 |
|
|
|
|
|
|
|
|
|
81 |
This dataset is part of EleutherAI/The Pile dataset and is a dataset for Language Models from processing stackexchange data dump, which is an anonymized dump of all user-contributed content on the Stack Exchange network.
|
82 |
|
83 |
|download_size|34.28 Gib|
|
|
|
33 |
num_examples: 5096117
|
34 |
download_size: 36802959360
|
35 |
dataset_size: 11075434609
|
36 |
+
viewer: false
|
37 |
---
|
38 |
|
39 |
# Dataset Card for Stack Exchange
|
|
|
79 |
|
80 |
### Dataset Summary
|
81 |
|
82 |
+
<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">
|
83 |
+
<p><b>Defunct:</b> Dataset "the_pile_stack_exchange" is defunct and no longer accessible due to unavailability of the source data.</p>
|
84 |
+
</div>
|
85 |
+
|
86 |
This dataset is part of EleutherAI/The Pile dataset and is a dataset for Language Models from processing stackexchange data dump, which is an anonymized dump of all user-contributed content on the Stack Exchange network.
|
87 |
|
88 |
|download_size|34.28 Gib|
|
dataset_infos.json
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
{"plain_text": {"description": "This dataset is part of EleutherAI/The Pile dataset and is a dataset for Language Models from processing stackexchange data dump, which is an anonymized dump of all user-contributed content on the Stack Exchange network.\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://github.com/EleutherAI/stackexchange-dataset", "license": "", "features": {"domain": {"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_stack_exchange", "config_name": "plain_text", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 11075434609, "num_examples": 5096117, "dataset_name": "the_pile_stack_exchange"}}, "download_checksums": {"https://mystic.the-eye.eu/public/AI/pile_preliminary_components/stackexchange_dataset.tar": {"num_bytes": 36802959360, "checksum": "f64f31d20db8d8692c1a019314a14974b4911a34ffef126feaf42da88860c666"}}, "download_size": 36802959360, "post_processing_size": null, "dataset_size": 11075434609, "size_in_bytes": 47878393969}}
|
|
|
|
the_pile_stack_exchange.py
CHANGED
@@ -19,6 +19,7 @@ import zipfile
|
|
19 |
from pathlib import Path
|
20 |
|
21 |
import datasets
|
|
|
22 |
|
23 |
|
24 |
_CITATION = """\
|
@@ -51,6 +52,9 @@ class ThePileStackExchange(datasets.GeneratorBasedBuilder):
|
|
51 |
]
|
52 |
|
53 |
def _info(self):
|
|
|
|
|
|
|
54 |
return datasets.DatasetInfo(
|
55 |
description=_DESCRIPTION,
|
56 |
features=datasets.Features({"domain": datasets.Value("string"), "text": datasets.Value("string")}),
|
|
|
19 |
from pathlib import Path
|
20 |
|
21 |
import datasets
|
22 |
+
from datasets.exceptions import DefunctDatasetError
|
23 |
|
24 |
|
25 |
_CITATION = """\
|
|
|
52 |
]
|
53 |
|
54 |
def _info(self):
|
55 |
+
raise DefunctDatasetError(
|
56 |
+
"Dataset 'the_pile_stack_exchange' is defunct and no longer accessible due to unavailability of the source data"
|
57 |
+
)
|
58 |
return datasets.DatasetInfo(
|
59 |
description=_DESCRIPTION,
|
60 |
features=datasets.Features({"domain": datasets.Value("string"), "text": datasets.Value("string")}),
|