Datasets:

Languages:
English
ArXiv:
License:
albertvillanova HF staff commited on
Commit
3e8e3c2
1 Parent(s): 949cc58

Make defunct dataset (#8)

Browse files

- Raise DefunctDatasetError (4755999e7934e8648285bb78e2fea72d4fdafdb6)
- Add defunct disclaimer to dataset card (4f4857ae38fe7dc0c172760e1129280a70aac8ff)
- Delete legacy dataset_infos.json (45895db2cf0b680e43773174f330eca3a6a38a13)

Files changed (3) hide show
  1. README.md +4 -0
  2. dataset_infos.json +0 -173
  3. eli5.py +4 -0
README.md CHANGED
@@ -86,6 +86,10 @@ dataset_info:
86
  dataset_size: 1350667360
87
  ---
88
 
 
 
 
 
89
  ## <span style="color:red">⚠️ Reddit recently [changed the terms of access](https://www.reddit.com/r/reddit/comments/12qwagm/an_update_regarding_reddits_api/) to its API, making the source data for this dataset unavailable</span>.
90
 
91
  # Dataset Card for ELI5
 
86
  dataset_size: 1350667360
87
  ---
88
 
89
+ <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">
90
+ <p><b>Defunct:</b> Dataset "eli5" is defunct and no longer accessible due to unavailability of the source data.</p>
91
+ </div>
92
+
93
  ## <span style="color:red">⚠️ Reddit recently [changed the terms of access](https://www.reddit.com/r/reddit/comments/12qwagm/an_update_regarding_reddits_api/) to its API, making the source data for this dataset unavailable</span>.
94
 
95
  # Dataset Card for ELI5
dataset_infos.json DELETED
@@ -1,173 +0,0 @@
1
- {
2
- "LFQA_reddit": {
3
- "description": "Explain Like I'm 5 long form QA dataset\n",
4
- "citation": "@inproceedings{DBLP:conf/acl/FanJPGWA19,\n author = {Angela Fan and\n Yacine Jernite and\n Ethan Perez and\n David Grangier and\n Jason Weston and\n Michael Auli},\n editor = {Anna Korhonen and\n David R. Traum and\n Lluis Marquez},\n title = {{ELI5:} Long Form Question Answering},\n booktitle = {Proceedings of the 57th Conference of the Association for Computational\n Linguistics, {ACL} 2019, Florence, Italy, July 28- August 2, 2019,\n Volume 1: Long Papers},\n pages = {3558--3567},\n publisher = {Association for Computational Linguistics},\n year = {2019},\n url = {https://doi.org/10.18653/v1/p19-1346},\n doi = {10.18653/v1/p19-1346},\n}\n",
5
- "homepage": "https://facebookresearch.github.io/ELI5/explore.html",
6
- "license": "",
7
- "features": {
8
- "q_id": {
9
- "dtype": "string",
10
- "id": null,
11
- "_type": "Value"
12
- },
13
- "title": {
14
- "dtype": "string",
15
- "id": null,
16
- "_type": "Value"
17
- },
18
- "selftext": {
19
- "dtype": "string",
20
- "id": null,
21
- "_type": "Value"
22
- },
23
- "document": {
24
- "dtype": "string",
25
- "id": null,
26
- "_type": "Value"
27
- },
28
- "subreddit": {
29
- "dtype": "string",
30
- "id": null,
31
- "_type": "Value"
32
- },
33
- "answers": {
34
- "feature": {
35
- "a_id": {
36
- "dtype": "string",
37
- "id": null,
38
- "_type": "Value"
39
- },
40
- "text": {
41
- "dtype": "string",
42
- "id": null,
43
- "_type": "Value"
44
- },
45
- "score": {
46
- "dtype": "int32",
47
- "id": null,
48
- "_type": "Value"
49
- }
50
- },
51
- "length": -1,
52
- "id": null,
53
- "_type": "Sequence"
54
- },
55
- "title_urls": {
56
- "feature": {
57
- "url": {
58
- "dtype": "string",
59
- "id": null,
60
- "_type": "Value"
61
- }
62
- },
63
- "length": -1,
64
- "id": null,
65
- "_type": "Sequence"
66
- },
67
- "selftext_urls": {
68
- "feature": {
69
- "url": {
70
- "dtype": "string",
71
- "id": null,
72
- "_type": "Value"
73
- }
74
- },
75
- "length": -1,
76
- "id": null,
77
- "_type": "Sequence"
78
- },
79
- "answers_urls": {
80
- "feature": {
81
- "url": {
82
- "dtype": "string",
83
- "id": null,
84
- "_type": "Value"
85
- }
86
- },
87
- "length": -1,
88
- "id": null,
89
- "_type": "Sequence"
90
- }
91
- },
92
- "supervised_keys": null,
93
- "builder_name": "eli5",
94
- "config_name": "LFQA_reddit",
95
- "version": {
96
- "version_str": "1.0.0",
97
- "description": null,
98
- "datasets_version_to_prepare": null,
99
- "major": 1,
100
- "minor": 0,
101
- "patch": 0
102
- },
103
- "splits": {
104
- "train_eli5": {
105
- "name": "train_eli5",
106
- "num_bytes": 577188173,
107
- "num_examples": 272634,
108
- "dataset_name": "eli5"
109
- },
110
- "validation_eli5": {
111
- "name": "validation_eli5",
112
- "num_bytes": 21117891,
113
- "num_examples": 9812,
114
- "dataset_name": "eli5"
115
- },
116
- "test_eli5": {
117
- "name": "test_eli5",
118
- "num_bytes": 53099796,
119
- "num_examples": 24512,
120
- "dataset_name": "eli5"
121
- },
122
- "train_asks": {
123
- "name": "train_asks",
124
- "num_bytes": 286464210,
125
- "num_examples": 131778,
126
- "dataset_name": "eli5"
127
- },
128
- "validation_asks": {
129
- "name": "validation_asks",
130
- "num_bytes": 9662481,
131
- "num_examples": 2281,
132
- "dataset_name": "eli5"
133
- },
134
- "test_asks": {
135
- "name": "test_asks",
136
- "num_bytes": 17713920,
137
- "num_examples": 4462,
138
- "dataset_name": "eli5"
139
- },
140
- "train_askh": {
141
- "name": "train_askh",
142
- "num_bytes": 330483260,
143
- "num_examples": 98525,
144
- "dataset_name": "eli5"
145
- },
146
- "validation_askh": {
147
- "name": "validation_askh",
148
- "num_bytes": 18690845,
149
- "num_examples": 4901,
150
- "dataset_name": "eli5"
151
- },
152
- "test_askh": {
153
- "name": "test_askh",
154
- "num_bytes": 36246784,
155
- "num_examples": 9764,
156
- "dataset_name": "eli5"
157
- }
158
- },
159
- "download_checksums": {
160
- "https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets_experimental/explainlikeimfive/reddit_data_split.json": {
161
- "num_bytes": 6326543,
162
- "checksum": "e605c4854787f3db85415b90ab80bb9ca2e2bd5208391e02aff081be2690923f"
163
- },
164
- "https://s3.amazonaws.com/datasets.huggingface.co/nlp/datasets/eli5/reddit_data_split.json": {
165
- "checksum": "e605c4854787f3db85415b90ab80bb9ca2e2bd5208391e02aff081be2690923f",
166
- "num_bytes": 6326543
167
- }
168
- },
169
- "download_size": 6326543,
170
- "dataset_size": 1350667360,
171
- "size_in_bytes": 1356993903
172
- }
173
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
eli5.py CHANGED
@@ -27,6 +27,7 @@ from os.path import join as pjoin
27
  from time import time
28
 
29
  import datasets
 
30
 
31
 
32
  logger = datasets.logging.get_logger(__name__)
@@ -270,6 +271,9 @@ class Eli5(datasets.GeneratorBasedBuilder):
270
  test_dummy_data = False
271
 
272
  def _info(self):
 
 
 
273
  return datasets.DatasetInfo(
274
  description=_DESCRIPTION,
275
  features=datasets.Features(
 
27
  from time import time
28
 
29
  import datasets
30
+ from datasets.exceptions import DefunctDatasetError
31
 
32
 
33
  logger = datasets.logging.get_logger(__name__)
 
271
  test_dummy_data = False
272
 
273
  def _info(self):
274
+ raise DefunctDatasetError(
275
+ "Dataset 'eli5' is defunct and no longer accessible due to unavailability of the source data"
276
+ )
277
  return datasets.DatasetInfo(
278
  description=_DESCRIPTION,
279
  features=datasets.Features(