asdfceeegdag parquet-converter commited on
Commit
7f4c3ad
·
0 Parent(s):

Duplicate from google/civil_comments

Browse files

Co-authored-by: Parquet-converter (BOT) <parquet-converter@users.noreply.huggingface.co>

.gitattributes ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,238 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: cc0-1.0
5
+ paperswithcode_id: civil-comments
6
+ pretty_name: Civil Comments
7
+ tags:
8
+ - toxic-comment-classification
9
+ task_categories:
10
+ - text-classification
11
+ task_ids:
12
+ - multi-label-classification
13
+ dataset_info:
14
+ features:
15
+ - name: text
16
+ dtype: string
17
+ - name: toxicity
18
+ dtype: float32
19
+ - name: severe_toxicity
20
+ dtype: float32
21
+ - name: obscene
22
+ dtype: float32
23
+ - name: threat
24
+ dtype: float32
25
+ - name: insult
26
+ dtype: float32
27
+ - name: identity_attack
28
+ dtype: float32
29
+ - name: sexual_explicit
30
+ dtype: float32
31
+ splits:
32
+ - name: train
33
+ num_bytes: 594805164
34
+ num_examples: 1804874
35
+ - name: validation
36
+ num_bytes: 32216880
37
+ num_examples: 97320
38
+ - name: test
39
+ num_bytes: 31963524
40
+ num_examples: 97320
41
+ download_size: 422061071
42
+ dataset_size: 658985568
43
+ configs:
44
+ - config_name: default
45
+ data_files:
46
+ - split: train
47
+ path: data/train-*
48
+ - split: validation
49
+ path: data/validation-*
50
+ - split: test
51
+ path: data/test-*
52
+ ---
53
+
54
+ # Dataset Card for "civil_comments"
55
+
56
+ ## Table of Contents
57
+ - [Dataset Description](#dataset-description)
58
+ - [Dataset Summary](#dataset-summary)
59
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
60
+ - [Languages](#languages)
61
+ - [Dataset Structure](#dataset-structure)
62
+ - [Data Instances](#data-instances)
63
+ - [Data Fields](#data-fields)
64
+ - [Data Splits](#data-splits)
65
+ - [Dataset Creation](#dataset-creation)
66
+ - [Curation Rationale](#curation-rationale)
67
+ - [Source Data](#source-data)
68
+ - [Annotations](#annotations)
69
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
70
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
71
+ - [Social Impact of Dataset](#social-impact-of-dataset)
72
+ - [Discussion of Biases](#discussion-of-biases)
73
+ - [Other Known Limitations](#other-known-limitations)
74
+ - [Additional Information](#additional-information)
75
+ - [Dataset Curators](#dataset-curators)
76
+ - [Licensing Information](#licensing-information)
77
+ - [Citation Information](#citation-information)
78
+ - [Contributions](#contributions)
79
+
80
+ ## Dataset Description
81
+
82
+ - **Homepage:** [https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/data](https://www.kaggle.com/c/jigsaw-unintended-bias-in-toxicity-classification/data)
83
+ - **Repository:** https://github.com/conversationai/unintended-ml-bias-analysis
84
+ - **Paper:** https://arxiv.org/abs/1903.04561
85
+ - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
86
+ - **Size of downloaded dataset files:** 414.95 MB
87
+ - **Size of the generated dataset:** 661.23 MB
88
+ - **Total amount of disk used:** 1.08 GB
89
+
90
+ ### Dataset Summary
91
+
92
+ The comments in this dataset come from an archive of the Civil Comments
93
+ platform, a commenting plugin for independent news sites. These public comments
94
+ were created from 2015 - 2017 and appeared on approximately 50 English-language
95
+ news sites across the world. When Civil Comments shut down in 2017, they chose
96
+ to make the public comments available in a lasting open archive to enable future
97
+ research. The original data, published on figshare, includes the public comment
98
+ text, some associated metadata such as article IDs, timestamps and
99
+ commenter-generated "civility" labels, but does not include user ids. Jigsaw
100
+ extended this dataset by adding additional labels for toxicity and identity
101
+ mentions. This data set is an exact replica of the data released for the
102
+ Jigsaw Unintended Bias in Toxicity Classification Kaggle challenge. This
103
+ dataset is released under CC0, as is the underlying comment text.
104
+
105
+ ### Supported Tasks and Leaderboards
106
+
107
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
108
+
109
+ ### Languages
110
+
111
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
112
+
113
+ ## Dataset Structure
114
+
115
+ ### Data Instances
116
+
117
+ #### default
118
+
119
+ - **Size of downloaded dataset files:** 414.95 MB
120
+ - **Size of the generated dataset:** 661.23 MB
121
+ - **Total amount of disk used:** 1.08 GB
122
+
123
+ An example of 'validation' looks as follows.
124
+ ```
125
+ {
126
+ "identity_attack": 0.0,
127
+ "insult": 0.0,
128
+ "obscene": 0.0,
129
+ "severe_toxicity": 0.0,
130
+ "sexual_explicit": 0.0,
131
+ "text": "The public test.",
132
+ "threat": 0.0,
133
+ "toxicity": 0.0
134
+ }
135
+ ```
136
+
137
+ ### Data Fields
138
+
139
+ The data fields are the same among all splits.
140
+
141
+ #### default
142
+ - `text`: a `string` feature.
143
+ - `toxicity`: a `float32` feature.
144
+ - `severe_toxicity`: a `float32` feature.
145
+ - `obscene`: a `float32` feature.
146
+ - `threat`: a `float32` feature.
147
+ - `insult`: a `float32` feature.
148
+ - `identity_attack`: a `float32` feature.
149
+ - `sexual_explicit`: a `float32` feature.
150
+
151
+ ### Data Splits
152
+
153
+ | name | train |validation|test |
154
+ |-------|------:|---------:|----:|
155
+ |default|1804874| 97320|97320|
156
+
157
+ ## Dataset Creation
158
+
159
+ ### Curation Rationale
160
+
161
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
162
+
163
+ ### Source Data
164
+
165
+ #### Initial Data Collection and Normalization
166
+
167
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
168
+
169
+ #### Who are the source language producers?
170
+
171
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
172
+
173
+ ### Annotations
174
+
175
+ #### Annotation process
176
+
177
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
178
+
179
+ #### Who are the annotators?
180
+
181
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
182
+
183
+ ### Personal and Sensitive Information
184
+
185
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
186
+
187
+ ## Considerations for Using the Data
188
+
189
+ ### Social Impact of Dataset
190
+
191
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
192
+
193
+ ### Discussion of Biases
194
+
195
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
196
+
197
+ ### Other Known Limitations
198
+
199
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
200
+
201
+ ## Additional Information
202
+
203
+ ### Dataset Curators
204
+
205
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
206
+
207
+ ### Licensing Information
208
+
209
+ This dataset is released under [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/).
210
+
211
+ ### Citation Information
212
+
213
+ ```
214
+ @article{DBLP:journals/corr/abs-1903-04561,
215
+ author = {Daniel Borkan and
216
+ Lucas Dixon and
217
+ Jeffrey Sorensen and
218
+ Nithum Thain and
219
+ Lucy Vasserman},
220
+ title = {Nuanced Metrics for Measuring Unintended Bias with Real Data for Text
221
+ Classification},
222
+ journal = {CoRR},
223
+ volume = {abs/1903.04561},
224
+ year = {2019},
225
+ url = {http://arxiv.org/abs/1903.04561},
226
+ archivePrefix = {arXiv},
227
+ eprint = {1903.04561},
228
+ timestamp = {Sun, 31 Mar 2019 19:01:24 +0200},
229
+ biburl = {https://dblp.org/rec/bib/journals/corr/abs-1903-04561},
230
+ bibsource = {dblp computer science bibliography, https://dblp.org}
231
+ }
232
+
233
+ ```
234
+
235
+
236
+ ### Contributions
237
+
238
+ Thanks to [@lewtun](https://github.com/lewtun), [@patrickvonplaten](https://github.com/patrickvonplaten), [@thomwolf](https://github.com/thomwolf) for adding this dataset.
data/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:410f803ff161e7c4ba005db7de5b444cac413f4861bf056b0fd69d670d75aa08
3
+ size 20800265
data/train-00000-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c20f01c3aecbdd942886cacb0ee67e995df33bc712a622fde75927ed3d6ccefe
3
+ size 193527147
data/train-00001-of-00002.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a76af69d7b24758bc38b196bc422d4767935c1dd7d3c1465554649c546d99ccb
3
+ size 186778090
data/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2e0eb65474e7e1290df8689fc93eea783160c898c09ae15382c0a9662367bd03
3
+ size 20955569