parquet-converter commited on
Commit
e769be0
1 Parent(s): 73b3cf8

Update parquet files

Browse files
README.md DELETED
@@ -1,194 +0,0 @@
1
- # Dataset Card for ConcluGen
2
-
3
- ## Table of Contents
4
- - [Dataset Card for ConcluGen](#dataset-card-for-conclugen)
5
- - [Table of Contents](#table-of-contents)
6
- - [Dataset Description](#dataset-description)
7
- - [Dataset Summary](#dataset-summary)
8
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
9
- - [Languages](#languages)
10
- - [Dataset Structure](#dataset-structure)
11
- - [Data Instances](#data-instances)
12
- - [Data Fields](#data-fields)
13
- - [Data Splits](#data-splits)
14
- - [Dataset Creation](#dataset-creation)
15
- - [Curation Rationale](#curation-rationale)
16
- - [Source Data](#source-data)
17
- - [Initial Data Collection and Normalization](#initial-data-collection-and-normalization)
18
- - [Who are the source language producers?](#who-are-the-source-language-producers)
19
- - [Annotations](#annotations)
20
- - [Annotation process](#annotation-process)
21
- - [Who are the annotators?](#who-are-the-annotators)
22
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
23
- - [Considerations for Using the Data](#considerations-for-using-the-data)
24
- - [Social Impact of Dataset](#social-impact-of-dataset)
25
- - [Discussion of Biases](#discussion-of-biases)
26
- - [Other Known Limitations](#other-known-limitations)
27
- - [Additional Information](#additional-information)
28
- - [Dataset Curators](#dataset-curators)
29
- - [Licensing Information](#licensing-information)
30
- - [Citation Information](#citation-information)
31
-
32
- ## Dataset Description
33
-
34
- - **Homepage:** https://zenodo.org/record/4818134
35
- - **Repository:** https://github.com/webis-de/acl21-informative-conclusion-generation
36
- - **Paper:** [Generating Informative Conclusions for Argumentative Texts](https://aclanthology.org/2021.findings-acl.306.pdf)
37
- - **Leaderboard:** [N/A]
38
- - **Point of Contact:** [Shahbaz Syed](mailto:shahbaz.syed@uni-leipzig.de)
39
-
40
- ### Dataset Summary
41
-
42
- The ConcluGen corpus is constructed for the task of argument summarization. It consists of 136,996 pairs of argumentative texts and their conclusions collected from the ChangeMyView subreddit, a web portal for argumentative discussions on controversial topics.
43
-
44
- The corpus has three variants: topics, aspects, and targets. Each variation encodes the corresponding information via control codes. These provide additional argumentative knowledge for generating more informative conclusions.
45
-
46
- ### Supported Tasks and Leaderboards
47
-
48
- Argument Summarization, Conclusion Generation
49
-
50
- ### Languages
51
-
52
- English ('en') as spoken by Reddit users on the [r/changemyview](https://old.reddit.com/r/changemyview/) subreddits.
53
-
54
- ## Dataset Structure
55
-
56
- ### Data Instances
57
-
58
- An example consists of a unique 'id', an 'argument', and its 'conclusion'.
59
-
60
- **base**
61
-
62
- Contains only the argument and its conclusion.
63
- ```
64
- {'id': 'ee11c116-23df-4795-856e-8b6c6626d5ed',
65
- 'argument': "In my opinion, the world would be a better place if alcohol was illegal. I've done a little bit of research to get some numbers, and I was quite shocked at what I found. Source On average, one in three people will be involved in a drunk driving crash in their lifetime. In 2011, 9,878 people died in drunk driving crashes Drunk driving costs each adult in this country almost 500 per year. Drunk driving costs the United States 132 billion a year. Every day in America, another 27 people die as a result of drunk driving crashes. Almost every 90 seconds, a person is injured in a drunk driving crash. These are just the driving related statistics. They would each get reduced by at least 75 if the sale of alcohol was illegal. I just don't see enough positives to outweigh all the deaths and injuries that result from irresponsible drinking. Alcohol is quite literally a drug, and is also extremely addicting. It would already be illegal if not for all these pointless ties with culture. Most people wouldn't even think to live in a world without alcohol, but in my opinion that world would be a better, safer, and more productive one. , or at least defend the fact that it's legal.",
66
- 'conclusion': 'I think alcohol should be illegal.'}
67
- ```
68
-
69
- **topic**
70
-
71
- Argument encoded with the discussion topic.
72
- ```
73
- {"id":"b22272fd-00d2-4373-b46c-9c1d9d21e6c2","argument":"<|TOPIC|>Should Planned Parenthood Be Defunded?<|ARGUMENT|>Even the best contraceptive methods such as surgical sterilisation can fail, and even with perfect use the pill may not work.<|CONCLUSION|>","conclusion":"Even with the best intentions and preparation, contraceptives can and do fail."}
74
-
75
- ```
76
-
77
- **aspects**
78
-
79
- Argument encoded with the discussion topic and argument's aspects.
80
-
81
- ```
82
- {"id":"adc92826-7892-42d4-9405-855e845bf027","argument":"<|TOPIC|>Gender Neutral Bathrooms: Should They be Standard?<|ARGUMENT|>Men's toilets and women's urine have different odours due to hormone differences in each biological sex. As a result, the urine of one sex may smell much worse to the other sex and vice versa, meaning that it is logical to keep their toilet facilities separate.<|ASPECTS|>hormone differences, urine, separate, facilities, different odours, smell much worse<|CONCLUSION|>","conclusion":"Men and women, because of their different biological characteristics, each need a different type of bathroom. Gender-segregated bathrooms reflect and honour these differences."}
83
-
84
-
85
- ```
86
- **targets**
87
-
88
- Argument encoded with the discussion topic and possible conclusion targets.
89
-
90
- ```
91
- {"id":"c9a87a03-edda-42be-9c0d-1e7d2d311816","argument":"<|TOPIC|>Australian republic vs. monarchy<|ARGUMENT|>The monarchy is a direct reflection of Australia's past as a British colony and continues to symbolize Australia's subservience to the British crown. Such symbolism has a powerfully negative effect on Australians' sense of independence and identity. Ending the monarchy and establishing a republic would constitute a substantial stride in the direction of creating a greater sense of independence and national pride and identity.<|TARGETS|>Such symbolism, The monarchy, Ending the monarchy and establishing a republic<|CONCLUSION|>","conclusion":"Ending the monarchy would foster an independent identity in Australia"}
92
-
93
- ```
94
-
95
-
96
- ### Data Fields
97
-
98
- - `id`: a string identifier for each example.
99
- - `argument`: the argumentative text.
100
- - `conclusion`: the conclusion of the argumentative text.
101
-
102
-
103
- ### Data Splits
104
-
105
- The data is split into train, validation, and test splits for each variation of the dataset (including base).
106
-
107
- | | Train | Validation | Test |
108
- |--------- |--------- |------------ |------ |
109
- | Base | 116,922 | 12,224 | 1373 |
110
- | Aspects | 120,142 | 12,174 | 1357 |
111
- | Targets | 109,376 | 11,053 | 1237 |
112
- | Topic | 121,588 | 12,335 | 1372 |
113
-
114
-
115
- ## Dataset Creation
116
-
117
- ### Curation Rationale
118
-
119
- ConcluGen was built as a first step towards argument summarization technology. The [rules of the subreddit](https://old.reddit.com/r/changemyview/wiki/rules) ensure high quality data suitable for the task.
120
-
121
- ### Source Data
122
-
123
- #### Initial Data Collection and Normalization
124
-
125
- Reddit [ChangeMyView](https://old.reddit.com/r/changemyview/)
126
-
127
- #### Who are the source language producers?
128
-
129
- Users of the subreddit [r/changemyview](https://old.reddit.com/r/changemyview/). Further demographic information is unavailable from the data source.
130
-
131
- ### Annotations
132
-
133
- The dataset is augmented with automatically extracted knowledge such as the argument's aspects, the discussion topic, and possible conclusion targets.
134
-
135
- #### Annotation process
136
-
137
- [N/A]
138
-
139
- #### Who are the annotators?
140
-
141
- [N/A]
142
-
143
- ### Personal and Sensitive Information
144
-
145
- Only the argumentative text and its conclusion are provided. No personal information of the posters is included.
146
-
147
- ## Considerations for Using the Data
148
-
149
- ### Social Impact of Dataset
150
-
151
- [Needs More Information]
152
-
153
- ### Discussion of Biases
154
-
155
- [Needs More Information]
156
-
157
- ### Other Known Limitations
158
-
159
- [Needs More Information]
160
-
161
- ## Additional Information
162
-
163
- ### Dataset Curators
164
-
165
- [Needs More Information]
166
-
167
- ### Licensing Information
168
-
169
- The licensing status of the dataset hinges on the legal status of the [Pushshift.io](https://files.pushshift.io/reddit/) data which is unclear.
170
-
171
- ### Citation Information
172
-
173
- ```
174
- @inproceedings{syed:2021,
175
- author = {Shahbaz Syed and
176
- Khalid Al Khatib and
177
- Milad Alshomary and
178
- Henning Wachsmuth and
179
- Martin Potthast},
180
- editor = {Chengqing Zong and
181
- Fei Xia and
182
- Wenjie Li and
183
- Roberto Navigli},
184
- title = {Generating Informative Conclusions for Argumentative Texts},
185
- booktitle = {Findings of the Association for Computational Linguistics: {ACL/IJCNLP}
186
- 2021, Online Event, August 1-6, 2021},
187
- pages = {3482--3493},
188
- publisher = {Association for Computational Linguistics},
189
- year = {2021},
190
- url = {https://doi.org/10.18653/v1/2021.findings-acl.306},
191
- doi = {10.18653/v1/2021.findings-acl.306}
192
- }
193
- ```
194
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
base_test.jsonl → aspects/conclugen-test.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:1f5e7cf9fc381fd6b312f21eea5a69fa192ca8f3a1305ed3cf16e0e910926a66
3
- size 1590274
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4af184bec46d8d04b612560bc680e72534eb8870a7c4aea1392b5c6ecaff12e4
3
+ size 1092033
base_validation.jsonl → aspects/conclugen-train.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:8fdbed2246d65a742032080bad3972a5c83300418d82abcdd2530cd91e926225
3
- size 13222200
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4da2aeb22b89dae6a97fd543ffe9390c291ee0e5970f5b13798b227a668a78ae
3
+ size 96331321
aspects_test.jsonl → aspects/conclugen-validation.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:3c7cd72d649c8f37f6cc74ac6c3b8d4a1a5b515c5043b972919eed16ba7e0153
3
- size 1842554
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:298c219aa859f8d1d4d65169b657c8524936be63588e754a4c1cdac88189acac
3
+ size 9762644
aspects_train.jsonl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:495f26d3865fa5b17eaec729af3a78434531af5938aadc97f71dc633fc74faee
3
- size 164475289
 
 
 
 
automatic_evaluation_test_set.csv DELETED
The diff for this file is too large to render. See raw diff
 
targets_test.jsonl → base/conclugen-test.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7e4005c352273912ec65f6ab1188bafa290b53d72249b7c0319778d9d3098269
3
- size 1773504
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0e519c3f0f2237790cfbf4bc511076b49581717589e2a56812c6f170dd3bb43a
3
+ size 974638
aspects_validation.jsonl → base/conclugen-train.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:959ddee6194c8dbab7010f505dc106751b84ee0e586ec248b653363b6f29ac82
3
- size 16658416
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:95c0e3160122c3681ab6cb4b8365ec2571e7a0419c74f05196e05dfe78979e75
3
+ size 81895240
topic_test.jsonl → base/conclugen-validation.parquet RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:9abeaa0cd6573705f93fc47c6ed2c4ac50f2598d037044da54f0c962c152193a
3
- size 1574228
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d8d6d948c4b14acebb2bbfab3f188855ed73835e86a8ee86f32032f3f581ce45
3
+ size 8086256
base_train.jsonl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:dbb5fba544c3957a34b0310707e24410c5cf171d614f4734f4ea4adb7ab8975a
3
- size 134306910
 
 
 
 
conclugen.py DELETED
@@ -1,140 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- """ConcluGen Dataset"""
16
-
17
-
18
- import json
19
-
20
- import datasets
21
-
22
- _CITATION = """\
23
- @inproceedings{syed:2021,
24
- author = {Shahbaz Syed and
25
- Khalid Al Khatib and
26
- Milad Alshomary and
27
- Henning Wachsmuth and
28
- Martin Potthast},
29
- editor = {Chengqing Zong and
30
- Fei Xia and
31
- Wenjie Li and
32
- Roberto Navigli},
33
- title = {Generating Informative Conclusions for Argumentative Texts},
34
- booktitle = {Findings of the Association for Computational Linguistics: {ACL/IJCNLP}
35
- 2021, Online Event, August 1-6, 2021},
36
- pages = {3482--3493},
37
- publisher = {Association for Computational Linguistics},
38
- year = {2021},
39
- url = {https://doi.org/10.18653/v1/2021.findings-acl.306},
40
- doi = {10.18653/v1/2021.findings-acl.306}
41
- }
42
- """
43
-
44
-
45
- _DESCRIPTION = """\
46
- The ConcluGen corpus is constructed for the task of argument summarization. It consists of 136,996 pairs of argumentative texts and their conclusions collected from the ChangeMyView subreddit, a web portal for argumentative discussions on controversial topics.
47
-
48
- The corpus has three variants: aspects, topics, and targets. Each variation encodes the corresponding information via control codes. These provide additional argumentative knowledge for generating more informative conclusions.
49
- """
50
-
51
- _HOMEPAGE = "https://zenodo.org/record/4818134"
52
-
53
- _LICENSE = "https://creativecommons.org/licenses/by/4.0/legalcode"
54
-
55
-
56
- _REPO = "https://huggingface.co/datasets/webis/conclugen/resolve/main"
57
-
58
- _URLS = {
59
- 'base_train': f"{_REPO}/base_train.jsonl",
60
- 'base_validation': f"{_REPO}/base_validation.jsonl",
61
- 'base_test': f"{_REPO}/base_test.jsonl",
62
- 'aspects_train': f"{_REPO}/aspects_train.jsonl",
63
- 'aspects_validation': f"{_REPO}/aspects_validation.jsonl",
64
- 'aspects_test': f"{_REPO}/aspects_test.jsonl",
65
- 'targets_train': f"{_REPO}/targets_train.jsonl",
66
- 'targets_validation': f"{_REPO}/targets_validation.jsonl",
67
- 'targets_test': f"{_REPO}/targets_test.jsonl",
68
- 'topic_train': f"{_REPO}/topic_train.jsonl",
69
- 'topic_validation': f"{_REPO}/topic_validation.jsonl",
70
- 'topic_test': f"{_REPO}/topic_test.jsonl"
71
- }
72
-
73
-
74
- class ConcluGen(datasets.GeneratorBasedBuilder):
75
- """382,545 arguments crawled from debate portals"""
76
-
77
- VERSION = datasets.Version("1.1.0")
78
- BUILDER_CONFIGS = [
79
- datasets.BuilderConfig(name="base", version=VERSION, description="The base version of the dataset with no argumentative knowledge."),
80
- datasets.BuilderConfig(name="aspects", version=VERSION, description="Variation with argument aspects encoded."),
81
- datasets.BuilderConfig(name="targets", version=VERSION, description="Variation with conclusion targets encoded."),
82
- datasets.BuilderConfig(name="topic", version=VERSION, description="Variation with discussion topic encoded."),
83
- ]
84
-
85
- DEFAULT_CONFIG_NAME = "base"
86
-
87
- def _info(self):
88
- features = datasets.Features(
89
- {
90
- "argument": datasets.Value("string"),
91
- "conclusion": datasets.Value("string"),
92
- "id": datasets.Value("string")
93
- }
94
- )
95
- return datasets.DatasetInfo(
96
- description=_DESCRIPTION,
97
- features=features,
98
- supervised_keys=None,
99
- homepage=_HOMEPAGE,
100
- license=_LICENSE,
101
- citation=_CITATION,
102
- )
103
-
104
- def _split_generators(self, dl_manager):
105
- """Returns SplitGenerators."""
106
- train_file = dl_manager.download(_URLS[self.config.name+"_train"])
107
- validation_file = dl_manager.download(_URLS[self.config.name+"_validation"])
108
- test_file = dl_manager.download(_URLS[self.config.name+"_test"])
109
- return [
110
- datasets.SplitGenerator(
111
- name=datasets.Split.TRAIN,
112
- gen_kwargs={
113
- "data_file": train_file,
114
- },
115
- ),
116
- datasets.SplitGenerator(
117
- name=datasets.Split.VALIDATION,
118
- gen_kwargs={
119
- "data_file": validation_file,
120
- },
121
- ),
122
- datasets.SplitGenerator(
123
- name=datasets.Split.TEST,
124
- gen_kwargs={
125
- "data_file": test_file,
126
- },
127
- )
128
- ]
129
-
130
- def _generate_examples(self, data_file):
131
- """ Yields examples as (key, example) tuples. """
132
- with open(data_file, encoding="utf-8") as f:
133
- for row in f:
134
- data = json.loads(row)
135
- id_ = data['id']
136
- yield id_, {
137
- "argument": data['argument'],
138
- "conclusion": data["conclusion"],
139
- "id": id_
140
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
manual_evaluation_arguments.csv DELETED
The diff for this file is too large to render. See raw diff
 
targets/conclugen-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2c73189b1bd69640777ef898d1f847e6aef9dd53e823867576d8b64048490cc7
3
+ size 988794
targets/conclugen-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5156ff69b7a9731ec59f4a6a95e7f5e1e90d84ff2c61d10dbea2fd5016b884f4
3
+ size 87291639
targets/conclugen-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3cdb64dc50b76755594e4b9de60ed74f093969480ef066b1fd00eec073cf7f4a
3
+ size 8822732
targets_train.jsonl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:70e8c31afc8c50277cd9d29cbfc045ca5f664ff63cd6e3b7b814a5aeccdc3ea7
3
- size 158556937
 
 
 
 
targets_validation.jsonl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:ae86f48ba96b2e071f09c13c30a69982f894cd267f438d5466651b8a763a309f
3
- size 16026133
 
 
 
 
topic/conclugen-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:34c362173a088fe112ce6cb96d7c9fa625374d143a51bce1cfea5913c1ff1b42
3
+ size 968603
topic/conclugen-train.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d06924ffe6cb20a019eab5fd3fed32ea0b80d31615ad51631dc546ccc7088a6b
3
+ size 85513682
topic/conclugen-validation.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d2279bdb1c14264b45ca2b2b62263d33ea1fa836d3fe0ea30aee36c1bfa8ffff
3
+ size 8670548
topic_train.jsonl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:db450d3f2b8cc95d831b0da6f502c8fb3884fb55533cc061874b1d10fdcaa543
3
- size 140873547
 
 
 
 
topic_validation.jsonl DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2983e381bed7a1f3acbc43c3bdd87a1941ed25699e0f203a305df57240ddf1a2
3
- size 14270934