system HF staff commited on
Commit
95752ae
1 Parent(s): 81f0d09

Update files from the datasets library (from 1.3.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.3.0

Files changed (1) hide show
  1. README.md +254 -0
README.md ADDED
@@ -0,0 +1,254 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ ---
3
+
4
+ # Dataset Card for "guardian_authorship"
5
+
6
+ ## Table of Contents
7
+ - [Dataset Description](#dataset-description)
8
+ - [Dataset Summary](#dataset-summary)
9
+ - [Supported Tasks](#supported-tasks)
10
+ - [Languages](#languages)
11
+ - [Dataset Structure](#dataset-structure)
12
+ - [Data Instances](#data-instances)
13
+ - [Data Fields](#data-fields)
14
+ - [Data Splits Sample Size](#data-splits-sample-size)
15
+ - [Dataset Creation](#dataset-creation)
16
+ - [Curation Rationale](#curation-rationale)
17
+ - [Source Data](#source-data)
18
+ - [Annotations](#annotations)
19
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
20
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
21
+ - [Social Impact of Dataset](#social-impact-of-dataset)
22
+ - [Discussion of Biases](#discussion-of-biases)
23
+ - [Other Known Limitations](#other-known-limitations)
24
+ - [Additional Information](#additional-information)
25
+ - [Dataset Curators](#dataset-curators)
26
+ - [Licensing Information](#licensing-information)
27
+ - [Citation Information](#citation-information)
28
+ - [Contributions](#contributions)
29
+
30
+ ## [Dataset Description](#dataset-description)
31
+
32
+ - **Homepage:** [http://www.icsd.aegean.gr/lecturers/stamatatos/papers/JLP2013.pdf](http://www.icsd.aegean.gr/lecturers/stamatatos/papers/JLP2013.pdf)
33
+ - **Repository:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
34
+ - **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
35
+ - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
36
+ - **Size of downloaded dataset files:** 47.31 MB
37
+ - **Size of the generated dataset:** 37.17 MB
38
+ - **Total amount of disk used:** 84.49 MB
39
+
40
+ ### [Dataset Summary](#dataset-summary)
41
+
42
+ A dataset cross-topic authorship attribution. The dataset is provided by Stamatatos 2013.
43
+ 1- The cross-topic scenarios are based on Table-4 in Stamatatos 2017 (Ex. cross_topic_1 => row 1:P S U&W ).
44
+ 2- The cross-genre scenarios are based on Table-5 in the same paper. (Ex. cross_genre_1 => row 1:B P S&U&W).
45
+
46
+ 3- The same-topic/genre scenario is created by grouping all the datasts as follows.
47
+ For ex., to use same_topic and split the data 60-40 use:
48
+ train_ds = load_dataset('guardian_authorship', name="cross_topic_<<#>>",
49
+ split='train[:60%]+validation[:60%]+test[:60%]')
50
+ tests_ds = load_dataset('guardian_authorship', name="cross_topic_<<#>>",
51
+ split='train[-40%:]+validation[-40%:]+test[-40%:]')
52
+
53
+ IMPORTANT: train+validation+test[:60%] will generate the wrong splits becasue the data is imbalanced
54
+
55
+ * See https://huggingface.co/docs/datasets/splits.html for detailed/more examples
56
+
57
+ ### [Supported Tasks](#supported-tasks)
58
+
59
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
60
+
61
+ ### [Languages](#languages)
62
+
63
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
64
+
65
+ ## [Dataset Structure](#dataset-structure)
66
+
67
+ We show detailed information for up to 5 configurations of the dataset.
68
+
69
+ ### [Data Instances](#data-instances)
70
+
71
+ #### cross_genre_1
72
+
73
+ - **Size of downloaded dataset files:** 2.96 MB
74
+ - **Size of the generated dataset:** 2.61 MB
75
+ - **Total amount of disk used:** 5.57 MB
76
+
77
+ An example of 'train' looks as follows.
78
+ ```
79
+ {
80
+ "article": "File 1a\n",
81
+ "author": 0,
82
+ "topic": 4
83
+ }
84
+ ```
85
+
86
+ #### cross_genre_2
87
+
88
+ - **Size of downloaded dataset files:** 2.96 MB
89
+ - **Size of the generated dataset:** 2.61 MB
90
+ - **Total amount of disk used:** 5.57 MB
91
+
92
+ An example of 'validation' looks as follows.
93
+ ```
94
+ {
95
+ "article": "File 1a\n",
96
+ "author": 0,
97
+ "topic": 1
98
+ }
99
+ ```
100
+
101
+ #### cross_genre_3
102
+
103
+ - **Size of downloaded dataset files:** 2.96 MB
104
+ - **Size of the generated dataset:** 2.61 MB
105
+ - **Total amount of disk used:** 5.57 MB
106
+
107
+ An example of 'validation' looks as follows.
108
+ ```
109
+ {
110
+ "article": "File 1a\n",
111
+ "author": 0,
112
+ "topic": 2
113
+ }
114
+ ```
115
+
116
+ #### cross_genre_4
117
+
118
+ - **Size of downloaded dataset files:** 2.96 MB
119
+ - **Size of the generated dataset:** 2.61 MB
120
+ - **Total amount of disk used:** 5.57 MB
121
+
122
+ An example of 'validation' looks as follows.
123
+ ```
124
+ {
125
+ "article": "File 1a\n",
126
+ "author": 0,
127
+ "topic": 3
128
+ }
129
+ ```
130
+
131
+ #### cross_topic_1
132
+
133
+ - **Size of downloaded dataset files:** 2.96 MB
134
+ - **Size of the generated dataset:** 2.23 MB
135
+ - **Total amount of disk used:** 5.18 MB
136
+
137
+ An example of 'validation' looks as follows.
138
+ ```
139
+ {
140
+ "article": "File 1a\n",
141
+ "author": 0,
142
+ "topic": 1
143
+ }
144
+ ```
145
+
146
+ ### [Data Fields](#data-fields)
147
+
148
+ The data fields are the same among all splits.
149
+
150
+ #### cross_genre_1
151
+ - `author`: a classification label, with possible values including `catherinebennett` (0), `georgemonbiot` (1), `hugoyoung` (2), `jonathanfreedland` (3), `martinkettle` (4).
152
+ - `topic`: a classification label, with possible values including `Politics` (0), `Society` (1), `UK` (2), `World` (3), `Books` (4).
153
+ - `article`: a `string` feature.
154
+
155
+ #### cross_genre_2
156
+ - `author`: a classification label, with possible values including `catherinebennett` (0), `georgemonbiot` (1), `hugoyoung` (2), `jonathanfreedland` (3), `martinkettle` (4).
157
+ - `topic`: a classification label, with possible values including `Politics` (0), `Society` (1), `UK` (2), `World` (3), `Books` (4).
158
+ - `article`: a `string` feature.
159
+
160
+ #### cross_genre_3
161
+ - `author`: a classification label, with possible values including `catherinebennett` (0), `georgemonbiot` (1), `hugoyoung` (2), `jonathanfreedland` (3), `martinkettle` (4).
162
+ - `topic`: a classification label, with possible values including `Politics` (0), `Society` (1), `UK` (2), `World` (3), `Books` (4).
163
+ - `article`: a `string` feature.
164
+
165
+ #### cross_genre_4
166
+ - `author`: a classification label, with possible values including `catherinebennett` (0), `georgemonbiot` (1), `hugoyoung` (2), `jonathanfreedland` (3), `martinkettle` (4).
167
+ - `topic`: a classification label, with possible values including `Politics` (0), `Society` (1), `UK` (2), `World` (3), `Books` (4).
168
+ - `article`: a `string` feature.
169
+
170
+ #### cross_topic_1
171
+ - `author`: a classification label, with possible values including `catherinebennett` (0), `georgemonbiot` (1), `hugoyoung` (2), `jonathanfreedland` (3), `martinkettle` (4).
172
+ - `topic`: a classification label, with possible values including `Politics` (0), `Society` (1), `UK` (2), `World` (3), `Books` (4).
173
+ - `article`: a `string` feature.
174
+
175
+ ### [Data Splits Sample Size](#data-splits-sample-size)
176
+
177
+ | name |train|validation|test|
178
+ |-------------|----:|---------:|---:|
179
+ |cross_genre_1| 63| 112| 269|
180
+ |cross_genre_2| 63| 62| 319|
181
+ |cross_genre_3| 63| 90| 291|
182
+ |cross_genre_4| 63| 117| 264|
183
+ |cross_topic_1| 112| 62| 207|
184
+
185
+ ## [Dataset Creation](#dataset-creation)
186
+
187
+ ### [Curation Rationale](#curation-rationale)
188
+
189
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
190
+
191
+ ### [Source Data](#source-data)
192
+
193
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
194
+
195
+ ### [Annotations](#annotations)
196
+
197
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
198
+
199
+ ### [Personal and Sensitive Information](#personal-and-sensitive-information)
200
+
201
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
202
+
203
+ ## [Considerations for Using the Data](#considerations-for-using-the-data)
204
+
205
+ ### [Social Impact of Dataset](#social-impact-of-dataset)
206
+
207
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
208
+
209
+ ### [Discussion of Biases](#discussion-of-biases)
210
+
211
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
212
+
213
+ ### [Other Known Limitations](#other-known-limitations)
214
+
215
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
216
+
217
+ ## [Additional Information](#additional-information)
218
+
219
+ ### [Dataset Curators](#dataset-curators)
220
+
221
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
222
+
223
+ ### [Licensing Information](#licensing-information)
224
+
225
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
226
+
227
+ ### [Citation Information](#citation-information)
228
+
229
+ ```
230
+ @article{article,
231
+ author = {Stamatatos, Efstathios},
232
+ year = {2013},
233
+ month = {01},
234
+ pages = {421-439},
235
+ title = {On the robustness of authorship attribution based on character n-gram features},
236
+ volume = {21},
237
+ journal = {Journal of Law and Policy}
238
+ }
239
+
240
+ @inproceedings{stamatatos2017authorship,
241
+ title={Authorship attribution using text distortion},
242
+ author={Stamatatos, Efstathios},
243
+ booktitle={Proc. of the 15th Conf. of the European Chapter of the Association for Computational Linguistics},
244
+ volume={1}
245
+ pages={1138--1149},
246
+ year={2017}
247
+ }
248
+
249
+ ```
250
+
251
+
252
+ ### Contributions
253
+
254
+ Thanks to [@thomwolf](https://github.com/thomwolf), [@eltoto1219](https://github.com/eltoto1219), [@malikaltakrori](https://github.com/malikaltakrori) for adding this dataset.