Datasets:
Commit
•
9d197bc
1
Parent(s):
334e940
Fix reddit_tifu data URL (#3774)
Browse files* Fix Google Drive URL to avoid Virus scan warning
* Update metadata JSON
* Fix dataset card
Commit from https://github.com/huggingface/datasets/commit/8ae21bf6a77175dc803ce2f1b93d18b8fbf45586
- README.md +32 -7
- dataset_infos.json +1 -1
- reddit_tifu.py +1 -1
README.md
CHANGED
@@ -1,8 +1,24 @@
|
|
1 |
---
|
|
|
|
|
|
|
|
|
2 |
languages:
|
3 |
- en
|
4 |
-
|
|
|
|
|
|
|
5 |
pretty_name: Reddit TIFU
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
---
|
7 |
|
8 |
# Dataset Card for "reddit_tifu"
|
@@ -78,7 +94,13 @@ We show detailed information for up to 5 configurations of the dataset.
|
|
78 |
|
79 |
An example of 'train' looks as follows.
|
80 |
```
|
81 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
82 |
```
|
83 |
|
84 |
#### short
|
@@ -89,7 +111,13 @@ An example of 'train' looks as follows.
|
|
89 |
|
90 |
An example of 'train' looks as follows.
|
91 |
```
|
92 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
93 |
```
|
94 |
|
95 |
### Data Fields
|
@@ -173,12 +201,11 @@ The data fields are the same among all splits.
|
|
173 |
|
174 |
### Licensing Information
|
175 |
|
176 |
-
|
177 |
|
178 |
### Citation Information
|
179 |
|
180 |
```
|
181 |
-
|
182 |
@misc{kim2018abstractive,
|
183 |
title={Abstractive Summarization of Reddit Posts with Multi-level Memory Networks},
|
184 |
author={Byeongchang Kim and Hyunwoo Kim and Gunhee Kim},
|
@@ -187,10 +214,8 @@ The data fields are the same among all splits.
|
|
187 |
archivePrefix={arXiv},
|
188 |
primaryClass={cs.CL}
|
189 |
}
|
190 |
-
|
191 |
```
|
192 |
|
193 |
-
|
194 |
### Contributions
|
195 |
|
196 |
Thanks to [@patrickvonplaten](https://github.com/patrickvonplaten), [@thomwolf](https://github.com/thomwolf) for adding this dataset.
|
|
|
1 |
---
|
2 |
+
annotations_creators:
|
3 |
+
- crowdsourced
|
4 |
+
language_creators:
|
5 |
+
- crowdsourced
|
6 |
languages:
|
7 |
- en
|
8 |
+
licenses:
|
9 |
+
- mit
|
10 |
+
multilinguality:
|
11 |
+
- monolingual
|
12 |
pretty_name: Reddit TIFU
|
13 |
+
size_categories:
|
14 |
+
- 100K<n<1M
|
15 |
+
source_datasets:
|
16 |
+
- original
|
17 |
+
task_categories:
|
18 |
+
- conditional-text-generation
|
19 |
+
task_ids:
|
20 |
+
- summarization
|
21 |
+
paperswithcode_id: reddit-tifu
|
22 |
---
|
23 |
|
24 |
# Dataset Card for "reddit_tifu"
|
|
|
94 |
|
95 |
An example of 'train' looks as follows.
|
96 |
```
|
97 |
+
{'ups': 115.0,
|
98 |
+
'num_comments': 23.0,
|
99 |
+
'upvote_ratio': 0.88,
|
100 |
+
'score': 115.0,
|
101 |
+
'documents': 'this actually happened a couple of years ago. i grew up in germany where i went to a german secondary school that went from 5th to 13th grade (we still had 13 grades then, they have since changed that). my school was named after anne frank and we had a club that i was very active in from 9th grade on, which was dedicated to teaching incoming 5th graders about anne franks life, discrimination, anti-semitism, hitler, the third reich and that whole spiel. basically a day where the students\' classes are cancelled and instead we give them an interactive history and social studies class with lots of activities and games. \n\nthis was my last year at school and i already had a lot of experience doing these project days with the kids. i was running the thing with a friend, so it was just the two of us and 30-something 5th graders. we start off with a brief introduction and brainstorming: what do they know about anne frank and the third reich? you\'d be surprised how much they know. anyway after the brainstorming we do a few activities, and then we take a short break. after the break we split the class into two groups to make it easier to handle. one group watches a short movie about anne frank while the other gets a tour through our poster presentation that our student group has been perfecting over the years. then the groups switch. \n\ni\'m in the classroom to show my group the movie and i take attendance to make sure no one decided to run away during break. i\'m going down the list when i come to the name sandra (name changed). a kid with a boyish haircut and a somewhat deeper voice, wearing clothes from the boy\'s section at a big clothing chain in germany, pipes up. \n\nnow keep in mind, these are all 11 year olds, they are all pre-pubescent, their bodies are not yet showing any sex specific features one would be able to see while they are fully clothed (e.g. boobs, beards,...). this being a 5th grade in the rather conservative (for german standards) bavaria, i was confused. i looked down at the list again making sure i had read the name right. look back up at the kid. \n\nme: "you\'re sandra?"\n\nkid: "yep."\n\nme: "oh, sorry. *thinking the kid must be from somewhere where sandra is both a girl\'s and boy\'s name* where are you from? i\'ve only ever heard that as a girl\'s name before."\n\nthe class starts laughing. sandra gets really quiet. "i am a girl..." she says. some of the other students start saying that their parents made the same mistake when they met sandra. i feel so sorry and stupid. i get the class to calm down and finish taking attendance. we watch the movie in silence. after the movie, when we walked down to where the poster presentation took place i apologised to sandra. i felt so incredibly terrible, i still do to this day. throughout the rest of the day i heard lots of whispers about sandra. i tried to stop them whenever they came up, but there was no stopping the 5th grade gossip i had set in motion.\n\nsandra, if you\'re out there, i am so incredibly sorry for humiliating you in front of your class. i hope you are happy and healthy and continue to live your life the way you like. don\'t let anyone tell you you have to dress or act a certain way just because of the body parts you were born with. i\'m sorry if i made you feel like you were wrong for dressing and acting differently. i\'m sorry i probably made that day hell for you. i\'m sorry for my ignorance.',
|
102 |
+
'tldr': 'confuse a 5th grade girl for a boy in front of half of her class. kids are mean. sorry sandra.**',
|
103 |
+
'title': 'gender-stereotyping'}
|
104 |
```
|
105 |
|
106 |
#### short
|
|
|
111 |
|
112 |
An example of 'train' looks as follows.
|
113 |
```
|
114 |
+
{'ups': 50.0,
|
115 |
+
'num_comments': 13.0,
|
116 |
+
'upvote_ratio': 0.77,
|
117 |
+
'score': 50.0,
|
118 |
+
'documents': "i was on skype on my tablet as i went to the toilet iming a friend. i don't multitask very well, so i forgot one of the most important things to do before pooping. i think the best part was when i realised and told my mate who just freaked out because i was talking to him on the john!",
|
119 |
+
'tldr': '',
|
120 |
+
'title': 'forgetting to pull my underwear down before i pooped.'}
|
121 |
```
|
122 |
|
123 |
### Data Fields
|
|
|
201 |
|
202 |
### Licensing Information
|
203 |
|
204 |
+
MIT License.
|
205 |
|
206 |
### Citation Information
|
207 |
|
208 |
```
|
|
|
209 |
@misc{kim2018abstractive,
|
210 |
title={Abstractive Summarization of Reddit Posts with Multi-level Memory Networks},
|
211 |
author={Byeongchang Kim and Hyunwoo Kim and Gunhee Kim},
|
|
|
214 |
archivePrefix={arXiv},
|
215 |
primaryClass={cs.CL}
|
216 |
}
|
|
|
217 |
```
|
218 |
|
|
|
219 |
### Contributions
|
220 |
|
221 |
Thanks to [@patrickvonplaten](https://github.com/patrickvonplaten), [@thomwolf](https://github.com/thomwolf) for adding this dataset.
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"short": {"description": "\nReddit dataset, where TIFU denotes the name of subbreddit /r/tifu.\nAs defined in the publication, styel \"short\" uses title as summary and\n\"long\" uses tldr as summary.\n\nFeatures includes:\n - document: post text without tldr.\n - tldr: tldr line.\n - title: trimmed title without tldr.\n - ups: upvotes.\n - score: score.\n - num_comments: number of comments.\n - upvote_ratio: upvote ratio.\n", "citation": "\n@misc{kim2018abstractive,\n title={Abstractive Summarization of Reddit Posts with Multi-level Memory Networks},\n author={Byeongchang Kim and Hyunwoo Kim and Gunhee Kim},\n year={2018},\n eprint={1811.00783},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://github.com/ctr4si/MMN", "license": "", "features": {"ups": {"dtype": "float32", "id": null, "_type": "Value"}, "num_comments": {"dtype": "float32", "id": null, "_type": "Value"}, "upvote_ratio": {"dtype": "float32", "id": null, "_type": "Value"}, "score": {"dtype": "float32", "id": null, "_type": "Value"}, "documents": {"dtype": "string", "id": null, "_type": "Value"}, "tldr": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}}, "supervised_keys": {"input": "documents", "output": "title"}, "builder_name": "reddit_tifu", "config_name": "short", "version": {"version_str": "1.1.0", "description": null, "
|
|
|
1 |
+
{"short": {"description": "\nReddit dataset, where TIFU denotes the name of subbreddit /r/tifu.\nAs defined in the publication, styel \"short\" uses title as summary and\n\"long\" uses tldr as summary.\n\nFeatures includes:\n - document: post text without tldr.\n - tldr: tldr line.\n - title: trimmed title without tldr.\n - ups: upvotes.\n - score: score.\n - num_comments: number of comments.\n - upvote_ratio: upvote ratio.\n", "citation": "\n@misc{kim2018abstractive,\n title={Abstractive Summarization of Reddit Posts with Multi-level Memory Networks},\n author={Byeongchang Kim and Hyunwoo Kim and Gunhee Kim},\n year={2018},\n eprint={1811.00783},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://github.com/ctr4si/MMN", "license": "", "features": {"ups": {"dtype": "float32", "id": null, "_type": "Value"}, "num_comments": {"dtype": "float32", "id": null, "_type": "Value"}, "upvote_ratio": {"dtype": "float32", "id": null, "_type": "Value"}, "score": {"dtype": "float32", "id": null, "_type": "Value"}, "documents": {"dtype": "string", "id": null, "_type": "Value"}, "tldr": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "documents", "output": "title"}, "task_templates": null, "builder_name": "reddit_tifu", "config_name": "short", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 137715925, "num_examples": 79740, "dataset_name": "reddit_tifu"}}, "download_checksums": {"https://drive.google.com/uc?export=download&confirm=t&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF": {"num_bytes": 670607856, "checksum": "f175cafe348e0521c2424cd419c934d10c6af613ed8cbe8eaa8cfbaa06377f1a"}}, "download_size": 670607856, "post_processing_size": null, "dataset_size": 137715925, "size_in_bytes": 808323781}, "long": {"description": "\nReddit dataset, where TIFU denotes the name of subbreddit /r/tifu.\nAs defined in the publication, styel \"short\" uses title as summary and\n\"long\" uses tldr as summary.\n\nFeatures includes:\n - document: post text without tldr.\n - tldr: tldr line.\n - title: trimmed title without tldr.\n - ups: upvotes.\n - score: score.\n - num_comments: number of comments.\n - upvote_ratio: upvote ratio.\n", "citation": "\n@misc{kim2018abstractive,\n title={Abstractive Summarization of Reddit Posts with Multi-level Memory Networks},\n author={Byeongchang Kim and Hyunwoo Kim and Gunhee Kim},\n year={2018},\n eprint={1811.00783},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "https://github.com/ctr4si/MMN", "license": "", "features": {"ups": {"dtype": "float32", "id": null, "_type": "Value"}, "num_comments": {"dtype": "float32", "id": null, "_type": "Value"}, "upvote_ratio": {"dtype": "float32", "id": null, "_type": "Value"}, "score": {"dtype": "float32", "id": null, "_type": "Value"}, "documents": {"dtype": "string", "id": null, "_type": "Value"}, "tldr": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": {"input": "documents", "output": "tldr"}, "task_templates": null, "builder_name": "reddit_tifu", "config_name": "long", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 91984758, "num_examples": 42139, "dataset_name": "reddit_tifu"}}, "download_checksums": {"https://drive.google.com/uc?export=download&confirm=t&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF": {"num_bytes": 670607856, "checksum": "f175cafe348e0521c2424cd419c934d10c6af613ed8cbe8eaa8cfbaa06377f1a"}}, "download_size": 670607856, "post_processing_size": null, "dataset_size": 91984758, "size_in_bytes": 762592614}}
|
reddit_tifu.py
CHANGED
@@ -48,7 +48,7 @@ Features includes:
|
|
48 |
- upvote_ratio: upvote ratio.
|
49 |
"""
|
50 |
|
51 |
-
_URL = "https://drive.google.com/uc?export=download&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF"
|
52 |
|
53 |
_DOCUMENT = "documents"
|
54 |
_TITLE = "title"
|
|
|
48 |
- upvote_ratio: upvote ratio.
|
49 |
"""
|
50 |
|
51 |
+
_URL = "https://drive.google.com/uc?export=download&confirm=t&id=1ffWfITKFMJeqjT8loC8aiCLRNJpc_XnF"
|
52 |
|
53 |
_DOCUMENT = "documents"
|
54 |
_TITLE = "title"
|