Datasets:

Languages:
English
Multilinguality:
monolingual
Size Categories:
1K<n<10K
Language Creators:
expert-generated
Annotations Creators:
expert-generated
Source Datasets:
original
ArXiv:
Tags:
License:
albertvillanova HF staff commited on
Commit
3f31267
1 Parent(s): 4f16479

Convert dataset to Parquet (#4)

Browse files

- Convert dataset to Parquet (7513644f4ae12e1d3ad8eb81d39a849c3f6fdaa0)
- Add type1_anti data files (2c8e91335d2b32e30f5da789ea708473d6539d6c)
- Add type2_pro data files (da99c0d1fd49507b1c5309822637462b46b0aa4b)
- Add type2_anti data files (36d8a15228a5739c68ba74a8fbcbd52a6a288612)
- Delete loading script (a62a994662bbeda43a307e3d69ac0c02abeb50fe)
- Delete legacy dataset_infos.json (69058ae899685439ab33e37324b3589b04cb3e2e)

README.md CHANGED
@@ -20,7 +20,7 @@ task_ids:
20
  paperswithcode_id: winobias
21
  pretty_name: WinoBias
22
  dataset_info:
23
- - config_name: wino_bias
24
  features:
25
  - name: document_id
26
  dtype: string
@@ -88,6 +88,7 @@ dataset_info:
88
  '51': ADD
89
  '52': -LRB-
90
  '53': -RRB-
 
91
  - name: parse_bit
92
  sequence: string
93
  - name: predicate_lemma
@@ -140,14 +141,20 @@ dataset_info:
140
  '35': I-CARDINAL
141
  '36': '*'
142
  '37': '0'
 
143
  - name: verbal_predicates
144
  sequence: string
 
 
145
  splits:
146
- - name: train
147
- num_bytes: 173899234
148
- num_examples: 150335
149
- download_size: 268725744
150
- dataset_size: 173899234
 
 
 
151
  - config_name: type1_pro
152
  features:
153
  - name: document_id
@@ -276,14 +283,14 @@ dataset_info:
276
  sequence: string
277
  splits:
278
  - name: validation
279
- num_bytes: 379380
280
  num_examples: 396
281
  - name: test
282
- num_bytes: 402041
283
  num_examples: 396
284
- download_size: 846198
285
- dataset_size: 781421
286
- - config_name: type1_anti
287
  features:
288
  - name: document_id
289
  dtype: string
@@ -411,13 +418,13 @@ dataset_info:
411
  sequence: string
412
  splits:
413
  - name: validation
414
- num_bytes: 380846
415
  num_examples: 396
416
  - name: test
417
- num_bytes: 403229
418
  num_examples: 396
419
- download_size: 894311
420
- dataset_size: 784075
421
  - config_name: type2_pro
422
  features:
423
  - name: document_id
@@ -546,14 +553,14 @@ dataset_info:
546
  sequence: string
547
  splits:
548
  - name: validation
549
- num_bytes: 367293
550
  num_examples: 396
551
  - name: test
552
- num_bytes: 375480
553
  num_examples: 396
554
- download_size: 802425
555
- dataset_size: 742773
556
- - config_name: type2_anti
557
  features:
558
  - name: document_id
559
  dtype: string
@@ -621,7 +628,6 @@ dataset_info:
621
  '51': ADD
622
  '52': -LRB-
623
  '53': -RRB-
624
- '54': '-'
625
  - name: parse_bit
626
  sequence: string
627
  - name: predicate_lemma
@@ -674,20 +680,39 @@ dataset_info:
674
  '35': I-CARDINAL
675
  '36': '*'
676
  '37': '0'
677
- '38': '-'
678
  - name: verbal_predicates
679
  sequence: string
680
- - name: coreference_clusters
681
- sequence: string
682
  splits:
683
- - name: validation
684
- num_bytes: 368757
685
- num_examples: 396
686
- - name: test
687
- num_bytes: 377262
688
- num_examples: 396
689
- download_size: 848804
690
- dataset_size: 746019
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
691
  ---
692
 
693
  # Dataset Card for Wino_Bias dataset
20
  paperswithcode_id: winobias
21
  pretty_name: WinoBias
22
  dataset_info:
23
+ - config_name: type1_anti
24
  features:
25
  - name: document_id
26
  dtype: string
88
  '51': ADD
89
  '52': -LRB-
90
  '53': -RRB-
91
+ '54': '-'
92
  - name: parse_bit
93
  sequence: string
94
  - name: predicate_lemma
141
  '35': I-CARDINAL
142
  '36': '*'
143
  '37': '0'
144
+ '38': '-'
145
  - name: verbal_predicates
146
  sequence: string
147
+ - name: coreference_clusters
148
+ sequence: string
149
  splits:
150
+ - name: validation
151
+ num_bytes: 380510
152
+ num_examples: 396
153
+ - name: test
154
+ num_bytes: 402893
155
+ num_examples: 396
156
+ download_size: 65383
157
+ dataset_size: 783403
158
  - config_name: type1_pro
159
  features:
160
  - name: document_id
283
  sequence: string
284
  splits:
285
  - name: validation
286
+ num_bytes: 379044
287
  num_examples: 396
288
  - name: test
289
+ num_bytes: 401705
290
  num_examples: 396
291
+ download_size: 65516
292
+ dataset_size: 780749
293
+ - config_name: type2_anti
294
  features:
295
  - name: document_id
296
  dtype: string
418
  sequence: string
419
  splits:
420
  - name: validation
421
+ num_bytes: 368421
422
  num_examples: 396
423
  - name: test
424
+ num_bytes: 376926
425
  num_examples: 396
426
+ download_size: 62555
427
+ dataset_size: 745347
428
  - config_name: type2_pro
429
  features:
430
  - name: document_id
553
  sequence: string
554
  splits:
555
  - name: validation
556
+ num_bytes: 366957
557
  num_examples: 396
558
  - name: test
559
+ num_bytes: 375144
560
  num_examples: 396
561
+ download_size: 62483
562
+ dataset_size: 742101
563
+ - config_name: wino_bias
564
  features:
565
  - name: document_id
566
  dtype: string
628
  '51': ADD
629
  '52': -LRB-
630
  '53': -RRB-
 
631
  - name: parse_bit
632
  sequence: string
633
  - name: predicate_lemma
680
  '35': I-CARDINAL
681
  '36': '*'
682
  '37': '0'
 
683
  - name: verbal_predicates
684
  sequence: string
 
 
685
  splits:
686
+ - name: train
687
+ num_bytes: 173899234
688
+ num_examples: 150335
689
+ download_size: 268725744
690
+ dataset_size: 173899234
691
+ configs:
692
+ - config_name: type1_anti
693
+ data_files:
694
+ - split: validation
695
+ path: type1_anti/validation-*
696
+ - split: test
697
+ path: type1_anti/test-*
698
+ - config_name: type1_pro
699
+ data_files:
700
+ - split: validation
701
+ path: type1_pro/validation-*
702
+ - split: test
703
+ path: type1_pro/test-*
704
+ - config_name: type2_anti
705
+ data_files:
706
+ - split: validation
707
+ path: type2_anti/validation-*
708
+ - split: test
709
+ path: type2_anti/test-*
710
+ - config_name: type2_pro
711
+ data_files:
712
+ - split: validation
713
+ path: type2_pro/validation-*
714
+ - split: test
715
+ path: type2_pro/test-*
716
  ---
717
 
718
  # Dataset Card for Wino_Bias dataset
dataset_infos.json DELETED
@@ -1,1315 +0,0 @@
1
- {
2
- "wino_bias": {
3
- "description": "WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.\nThe corpus contains Winograd-schema style sentences with entities corresponding to people\nreferred by their occupation (e.g. the nurse, the doctor, the carpenter).\n",
4
- "citation": "@article{DBLP:journals/corr/abs-1804-06876,\n author = {Jieyu Zhao and\n Tianlu Wang and\n Mark Yatskar and\n Vicente Ordonez and\n Kai{-}Wei Chang},\n title = {Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods},\n journal = {CoRR},\n volume = {abs/1804.06876},\n year = {2018},\n url = {http://arxiv.org/abs/1804.06876},\n archivePrefix = {arXiv},\n eprint = {1804.06876},\n timestamp = {Mon, 13 Aug 2018 16:47:01 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-1804-06876.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n",
5
- "homepage": "https://uclanlp.github.io/corefBias/overview",
6
- "license": "MIT License (https://github.com/uclanlp/corefBias/blob/master/LICENSE)",
7
- "features": {
8
- "document_id": {
9
- "dtype": "string",
10
- "id": null,
11
- "_type": "Value"
12
- },
13
- "part_number": {
14
- "dtype": "string",
15
- "id": null,
16
- "_type": "Value"
17
- },
18
- "word_number": {
19
- "feature": {
20
- "dtype": "int32",
21
- "id": null,
22
- "_type": "Value"
23
- },
24
- "length": -1,
25
- "id": null,
26
- "_type": "Sequence"
27
- },
28
- "tokens": {
29
- "feature": {
30
- "dtype": "string",
31
- "id": null,
32
- "_type": "Value"
33
- },
34
- "length": -1,
35
- "id": null,
36
- "_type": "Sequence"
37
- },
38
- "pos_tags": {
39
- "feature": {
40
- "num_classes": 54,
41
- "names": [
42
- "\"",
43
- "''",
44
- "#",
45
- "$",
46
- "(",
47
- ")",
48
- ",",
49
- ".",
50
- ":",
51
- "``",
52
- "CC",
53
- "CD",
54
- "DT",
55
- "EX",
56
- "FW",
57
- "IN",
58
- "JJ",
59
- "JJR",
60
- "JJS",
61
- "LS",
62
- "MD",
63
- "NN",
64
- "NNP",
65
- "NNPS",
66
- "NNS",
67
- "NN|SYM",
68
- "PDT",
69
- "POS",
70
- "PRP",
71
- "PRP$",
72
- "RB",
73
- "RBR",
74
- "RBS",
75
- "RP",
76
- "SYM",
77
- "TO",
78
- "UH",
79
- "VB",
80
- "VBD",
81
- "VBG",
82
- "VBN",
83
- "VBP",
84
- "VBZ",
85
- "WDT",
86
- "WP",
87
- "WP$",
88
- "WRB",
89
- "HYPH",
90
- "XX",
91
- "NFP",
92
- "AFX",
93
- "ADD",
94
- "-LRB-",
95
- "-RRB-"
96
- ],
97
- "names_file": null,
98
- "id": null,
99
- "_type": "ClassLabel"
100
- },
101
- "length": -1,
102
- "id": null,
103
- "_type": "Sequence"
104
- },
105
- "parse_bit": {
106
- "feature": {
107
- "dtype": "string",
108
- "id": null,
109
- "_type": "Value"
110
- },
111
- "length": -1,
112
- "id": null,
113
- "_type": "Sequence"
114
- },
115
- "predicate_lemma": {
116
- "feature": {
117
- "dtype": "string",
118
- "id": null,
119
- "_type": "Value"
120
- },
121
- "length": -1,
122
- "id": null,
123
- "_type": "Sequence"
124
- },
125
- "predicate_framenet_id": {
126
- "feature": {
127
- "dtype": "string",
128
- "id": null,
129
- "_type": "Value"
130
- },
131
- "length": -1,
132
- "id": null,
133
- "_type": "Sequence"
134
- },
135
- "word_sense": {
136
- "feature": {
137
- "dtype": "string",
138
- "id": null,
139
- "_type": "Value"
140
- },
141
- "length": -1,
142
- "id": null,
143
- "_type": "Sequence"
144
- },
145
- "speaker": {
146
- "feature": {
147
- "dtype": "string",
148
- "id": null,
149
- "_type": "Value"
150
- },
151
- "length": -1,
152
- "id": null,
153
- "_type": "Sequence"
154
- },
155
- "ner_tags": {
156
- "feature": {
157
- "num_classes": 38,
158
- "names": [
159
- "B-PERSON",
160
- "I-PERSON",
161
- "B-NORP",
162
- "I-NORP",
163
- "B-FAC",
164
- "I-FAC",
165
- "B-ORG",
166
- "I-ORG",
167
- "B-GPE",
168
- "I-GPE",
169
- "B-LOC",
170
- "I-LOC",
171
- "B-PRODUCT",
172
- "I-PRODUCT",
173
- "B-EVENT",
174
- "I-EVENT",
175
- "B-WORK_OF_ART",
176
- "I-WORK_OF_ART",
177
- "B-LAW",
178
- "I-LAW",
179
- "B-LANGUAGE",
180
- "I-LANGUAGE",
181
- "B-DATE",
182
- "I-DATE",
183
- "B-TIME",
184
- "I-TIME",
185
- "B-PERCENT",
186
- "I-PERCENT",
187
- "B-MONEY",
188
- "I-MONEY",
189
- "B-QUANTITY",
190
- "I-QUANTITY",
191
- "B-ORDINAL",
192
- "I-ORDINAL",
193
- "B-CARDINAL",
194
- "I-CARDINAL",
195
- "*",
196
- "0"
197
- ],
198
- "names_file": null,
199
- "id": null,
200
- "_type": "ClassLabel"
201
- },
202
- "length": -1,
203
- "id": null,
204
- "_type": "Sequence"
205
- },
206
- "verbal_predicates": {
207
- "feature": {
208
- "dtype": "string",
209
- "id": null,
210
- "_type": "Value"
211
- },
212
- "length": -1,
213
- "id": null,
214
- "_type": "Sequence"
215
- }
216
- },
217
- "post_processed": null,
218
- "supervised_keys": null,
219
- "builder_name": "wino_bias",
220
- "config_name": "wino_bias",
221
- "version": {
222
- "version_str": "4.0.0",
223
- "description": null,
224
- "major": 4,
225
- "minor": 0,
226
- "patch": 0
227
- },
228
- "splits": {
229
- "train": {
230
- "name": "train",
231
- "num_bytes": 173899234,
232
- "num_examples": 150335,
233
- "dataset_name": "wino_bias"
234
- }
235
- },
236
- "download_checksums": {
237
- "https://drive.google.com/uc?export=download&id=14Im3BnNl-d2fYETYmiH5yq6eFGLVC3g0": {
238
- "num_bytes": 268725744,
239
- "checksum": "139a6511bcb9761f6306bba7d151bde6ec7ec82cc9c593127b848df8af5f68a1"
240
- }
241
- },
242
- "download_size": 268725744,
243
- "post_processing_size": null,
244
- "dataset_size": 173899234,
245
- "size_in_bytes": 442624978
246
- },
247
- "type1_pro": {
248
- "description": "WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.\nThe corpus contains Winograd-schema style sentences with entities corresponding to people\nreferred by their occupation (e.g. the nurse, the doctor, the carpenter).\n",
249
- "citation": "@article{DBLP:journals/corr/abs-1804-06876,\n author = {Jieyu Zhao and\n Tianlu Wang and\n Mark Yatskar and\n Vicente Ordonez and\n Kai{-}Wei Chang},\n title = {Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods},\n journal = {CoRR},\n volume = {abs/1804.06876},\n year = {2018},\n url = {http://arxiv.org/abs/1804.06876},\n archivePrefix = {arXiv},\n eprint = {1804.06876},\n timestamp = {Mon, 13 Aug 2018 16:47:01 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-1804-06876.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n",
250
- "homepage": "https://uclanlp.github.io/corefBias/overview",
251
- "license": "MIT License (https://github.com/uclanlp/corefBias/blob/master/LICENSE)",
252
- "features": {
253
- "document_id": {
254
- "dtype": "string",
255
- "id": null,
256
- "_type": "Value"
257
- },
258
- "part_number": {
259
- "dtype": "string",
260
- "id": null,
261
- "_type": "Value"
262
- },
263
- "word_number": {
264
- "feature": {
265
- "dtype": "int32",
266
- "id": null,
267
- "_type": "Value"
268
- },
269
- "length": -1,
270
- "id": null,
271
- "_type": "Sequence"
272
- },
273
- "tokens": {
274
- "feature": {
275
- "dtype": "string",
276
- "id": null,
277
- "_type": "Value"
278
- },
279
- "length": -1,
280
- "id": null,
281
- "_type": "Sequence"
282
- },
283
- "pos_tags": {
284
- "feature": {
285
- "num_classes": 55,
286
- "names": [
287
- "\"",
288
- "''",
289
- "#",
290
- "$",
291
- "(",
292
- ")",
293
- ",",
294
- ".",
295
- ":",
296
- "``",
297
- "CC",
298
- "CD",
299
- "DT",
300
- "EX",
301
- "FW",
302
- "IN",
303
- "JJ",
304
- "JJR",
305
- "JJS",
306
- "LS",
307
- "MD",
308
- "NN",
309
- "NNP",
310
- "NNPS",
311
- "NNS",
312
- "NN|SYM",
313
- "PDT",
314
- "POS",
315
- "PRP",
316
- "PRP$",
317
- "RB",
318
- "RBR",
319
- "RBS",
320
- "RP",
321
- "SYM",
322
- "TO",
323
- "UH",
324
- "VB",
325
- "VBD",
326
- "VBG",
327
- "VBN",
328
- "VBP",
329
- "VBZ",
330
- "WDT",
331
- "WP",
332
- "WP$",
333
- "WRB",
334
- "HYPH",
335
- "XX",
336
- "NFP",
337
- "AFX",
338
- "ADD",
339
- "-LRB-",
340
- "-RRB-",
341
- "-"
342
- ],
343
- "names_file": null,
344
- "id": null,
345
- "_type": "ClassLabel"
346
- },
347
- "length": -1,
348
- "id": null,
349
- "_type": "Sequence"
350
- },
351
- "parse_bit": {
352
- "feature": {
353
- "dtype": "string",
354
- "id": null,
355
- "_type": "Value"
356
- },
357
- "length": -1,
358
- "id": null,
359
- "_type": "Sequence"
360
- },
361
- "predicate_lemma": {
362
- "feature": {
363
- "dtype": "string",
364
- "id": null,
365
- "_type": "Value"
366
- },
367
- "length": -1,
368
- "id": null,
369
- "_type": "Sequence"
370
- },
371
- "predicate_framenet_id": {
372
- "feature": {
373
- "dtype": "string",
374
- "id": null,
375
- "_type": "Value"
376
- },
377
- "length": -1,
378
- "id": null,
379
- "_type": "Sequence"
380
- },
381
- "word_sense": {
382
- "feature": {
383
- "dtype": "string",
384
- "id": null,
385
- "_type": "Value"
386
- },
387
- "length": -1,
388
- "id": null,
389
- "_type": "Sequence"
390
- },
391
- "speaker": {
392
- "feature": {
393
- "dtype": "string",
394
- "id": null,
395
- "_type": "Value"
396
- },
397
- "length": -1,
398
- "id": null,
399
- "_type": "Sequence"
400
- },
401
- "ner_tags": {
402
- "feature": {
403
- "num_classes": 39,
404
- "names": [
405
- "B-PERSON",
406
- "I-PERSON",
407
- "B-NORP",
408
- "I-NORP",
409
- "B-FAC",
410
- "I-FAC",
411
- "B-ORG",
412
- "I-ORG",
413
- "B-GPE",
414
- "I-GPE",
415
- "B-LOC",
416
- "I-LOC",
417
- "B-PRODUCT",
418
- "I-PRODUCT",
419
- "B-EVENT",
420
- "I-EVENT",
421
- "B-WORK_OF_ART",
422
- "I-WORK_OF_ART",
423
- "B-LAW",
424
- "I-LAW",
425
- "B-LANGUAGE",
426
- "I-LANGUAGE",
427
- "B-DATE",
428
- "I-DATE",
429
- "B-TIME",
430
- "I-TIME",
431
- "B-PERCENT",
432
- "I-PERCENT",
433
- "B-MONEY",
434
- "I-MONEY",
435
- "B-QUANTITY",
436
- "I-QUANTITY",
437
- "B-ORDINAL",
438
- "I-ORDINAL",
439
- "B-CARDINAL",
440
- "I-CARDINAL",
441
- "*",
442
- "0",
443
- "-"
444
- ],
445
- "names_file": null,
446
- "id": null,
447
- "_type": "ClassLabel"
448
- },
449
- "length": -1,
450
- "id": null,
451
- "_type": "Sequence"
452
- },
453
- "verbal_predicates": {
454
- "feature": {
455
- "dtype": "string",
456
- "id": null,
457
- "_type": "Value"
458
- },
459
- "length": -1,
460
- "id": null,
461
- "_type": "Sequence"
462
- },
463
- "coreference_clusters": {
464
- "feature": {
465
- "dtype": "string",
466
- "id": null,
467
- "_type": "Value"
468
- },
469
- "length": -1,
470
- "id": null,
471
- "_type": "Sequence"
472
- }
473
- },
474
- "post_processed": null,
475
- "supervised_keys": null,
476
- "builder_name": "wino_bias",
477
- "config_name": "type1_pro",
478
- "version": {
479
- "version_str": "1.0.0",
480
- "description": "",
481
- "major": 1,
482
- "minor": 0,
483
- "patch": 0
484
- },
485
- "splits": {
486
- "validation": {
487
- "name": "validation",
488
- "num_bytes": 379380,
489
- "num_examples": 396,
490
- "dataset_name": "wino_bias"
491
- },
492
- "test": {
493
- "name": "test",
494
- "num_bytes": 402041,
495
- "num_examples": 396,
496
- "dataset_name": "wino_bias"
497
- }
498
- },
499
- "download_checksums": {
500
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/dev_type1_pro_stereotype.v4_auto_conll": {
501
- "num_bytes": 407542,
502
- "checksum": "21b5ca0cfb6acbb138ff37ea5deefd03783f8b7e65e296ead081d70cec9900c1"
503
- },
504
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/test_type1_pro_stereotype.v4_auto_conll": {
505
- "num_bytes": 438656,
506
- "checksum": "419c0f4ecff4c6b1d81f0ce646e8ce1ebff9bde4729295064049ed9f97ad25d1"
507
- }
508
- },
509
- "download_size": 846198,
510
- "post_processing_size": null,
511
- "dataset_size": 781421,
512
- "size_in_bytes": 1627619
513
- },
514
- "type1_anti": {
515
- "description": "WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.\nThe corpus contains Winograd-schema style sentences with entities corresponding to people\nreferred by their occupation (e.g. the nurse, the doctor, the carpenter).\n",
516
- "citation": "@article{DBLP:journals/corr/abs-1804-06876,\n author = {Jieyu Zhao and\n Tianlu Wang and\n Mark Yatskar and\n Vicente Ordonez and\n Kai{-}Wei Chang},\n title = {Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods},\n journal = {CoRR},\n volume = {abs/1804.06876},\n year = {2018},\n url = {http://arxiv.org/abs/1804.06876},\n archivePrefix = {arXiv},\n eprint = {1804.06876},\n timestamp = {Mon, 13 Aug 2018 16:47:01 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-1804-06876.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n",
517
- "homepage": "https://uclanlp.github.io/corefBias/overview",
518
- "license": "MIT License (https://github.com/uclanlp/corefBias/blob/master/LICENSE)",
519
- "features": {
520
- "document_id": {
521
- "dtype": "string",
522
- "id": null,
523
- "_type": "Value"
524
- },
525
- "part_number": {
526
- "dtype": "string",
527
- "id": null,
528
- "_type": "Value"
529
- },
530
- "word_number": {
531
- "feature": {
532
- "dtype": "int32",
533
- "id": null,
534
- "_type": "Value"
535
- },
536
- "length": -1,
537
- "id": null,
538
- "_type": "Sequence"
539
- },
540
- "tokens": {
541
- "feature": {
542
- "dtype": "string",
543
- "id": null,
544
- "_type": "Value"
545
- },
546
- "length": -1,
547
- "id": null,
548
- "_type": "Sequence"
549
- },
550
- "pos_tags": {
551
- "feature": {
552
- "num_classes": 55,
553
- "names": [
554
- "\"",
555
- "''",
556
- "#",
557
- "$",
558
- "(",
559
- ")",
560
- ",",
561
- ".",
562
- ":",
563
- "``",
564
- "CC",
565
- "CD",
566
- "DT",
567
- "EX",
568
- "FW",
569
- "IN",
570
- "JJ",
571
- "JJR",
572
- "JJS",
573
- "LS",
574
- "MD",
575
- "NN",
576
- "NNP",
577
- "NNPS",
578
- "NNS",
579
- "NN|SYM",
580
- "PDT",
581
- "POS",
582
- "PRP",
583
- "PRP$",
584
- "RB",
585
- "RBR",
586
- "RBS",
587
- "RP",
588
- "SYM",
589
- "TO",
590
- "UH",
591
- "VB",
592
- "VBD",
593
- "VBG",
594
- "VBN",
595
- "VBP",
596
- "VBZ",
597
- "WDT",
598
- "WP",
599
- "WP$",
600
- "WRB",
601
- "HYPH",
602
- "XX",
603
- "NFP",
604
- "AFX",
605
- "ADD",
606
- "-LRB-",
607
- "-RRB-",
608
- "-"
609
- ],
610
- "names_file": null,
611
- "id": null,
612
- "_type": "ClassLabel"
613
- },
614
- "length": -1,
615
- "id": null,
616
- "_type": "Sequence"
617
- },
618
- "parse_bit": {
619
- "feature": {
620
- "dtype": "string",
621
- "id": null,
622
- "_type": "Value"
623
- },
624
- "length": -1,
625
- "id": null,
626
- "_type": "Sequence"
627
- },
628
- "predicate_lemma": {
629
- "feature": {
630
- "dtype": "string",
631
- "id": null,
632
- "_type": "Value"
633
- },
634
- "length": -1,
635
- "id": null,
636
- "_type": "Sequence"
637
- },
638
- "predicate_framenet_id": {
639
- "feature": {
640
- "dtype": "string",
641
- "id": null,
642
- "_type": "Value"
643
- },
644
- "length": -1,
645
- "id": null,
646
- "_type": "Sequence"
647
- },
648
- "word_sense": {
649
- "feature": {
650
- "dtype": "string",
651
- "id": null,
652
- "_type": "Value"
653
- },
654
- "length": -1,
655
- "id": null,
656
- "_type": "Sequence"
657
- },
658
- "speaker": {
659
- "feature": {
660
- "dtype": "string",
661
- "id": null,
662
- "_type": "Value"
663
- },
664
- "length": -1,
665
- "id": null,
666
- "_type": "Sequence"
667
- },
668
- "ner_tags": {
669
- "feature": {
670
- "num_classes": 39,
671
- "names": [
672
- "B-PERSON",
673
- "I-PERSON",
674
- "B-NORP",
675
- "I-NORP",
676
- "B-FAC",
677
- "I-FAC",
678
- "B-ORG",
679
- "I-ORG",
680
- "B-GPE",
681
- "I-GPE",
682
- "B-LOC",
683
- "I-LOC",
684
- "B-PRODUCT",
685
- "I-PRODUCT",
686
- "B-EVENT",
687
- "I-EVENT",
688
- "B-WORK_OF_ART",
689
- "I-WORK_OF_ART",
690
- "B-LAW",
691
- "I-LAW",
692
- "B-LANGUAGE",
693
- "I-LANGUAGE",
694
- "B-DATE",
695
- "I-DATE",
696
- "B-TIME",
697
- "I-TIME",
698
- "B-PERCENT",
699
- "I-PERCENT",
700
- "B-MONEY",
701
- "I-MONEY",
702
- "B-QUANTITY",
703
- "I-QUANTITY",
704
- "B-ORDINAL",
705
- "I-ORDINAL",
706
- "B-CARDINAL",
707
- "I-CARDINAL",
708
- "*",
709
- "0",
710
- "-"
711
- ],
712
- "names_file": null,
713
- "id": null,
714
- "_type": "ClassLabel"
715
- },
716
- "length": -1,
717
- "id": null,
718
- "_type": "Sequence"
719
- },
720
- "verbal_predicates": {
721
- "feature": {
722
- "dtype": "string",
723
- "id": null,
724
- "_type": "Value"
725
- },
726
- "length": -1,
727
- "id": null,
728
- "_type": "Sequence"
729
- },
730
- "coreference_clusters": {
731
- "feature": {
732
- "dtype": "string",
733
- "id": null,
734
- "_type": "Value"
735
- },
736
- "length": -1,
737
- "id": null,
738
- "_type": "Sequence"
739
- }
740
- },
741
- "post_processed": null,
742
- "supervised_keys": null,
743
- "builder_name": "wino_bias",
744
- "config_name": "type1_anti",
745
- "version": {
746
- "version_str": "1.0.0",
747
- "description": "",
748
- "major": 1,
749
- "minor": 0,
750
- "patch": 0
751
- },
752
- "splits": {
753
- "validation": {
754
- "name": "validation",
755
- "num_bytes": 380846,
756
- "num_examples": 396,
757
- "dataset_name": "wino_bias"
758
- },
759
- "test": {
760
- "name": "test",
761
- "num_bytes": 403229,
762
- "num_examples": 396,
763
- "dataset_name": "wino_bias"
764
- }
765
- },
766
- "download_checksums": {
767
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/dev_type1_anti_stereotype.v4_auto_conll": {
768
- "num_bytes": 431039,
769
- "checksum": "5c9565b41c546d04172190b92009a7a02375183c9232522fdaf195b27bee45a4"
770
- },
771
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/test_type1_anti_stereotype.v4_auto_conll": {
772
- "num_bytes": 463272,
773
- "checksum": "68a7f4f0f055f5cddeed3b0a07a572fded2b2077c1afd2bb596c02e5fe0c9476"
774
- }
775
- },
776
- "download_size": 894311,
777
- "post_processing_size": null,
778
- "dataset_size": 784075,
779
- "size_in_bytes": 1678386
780
- },
781
- "type2_pro": {
782
- "description": "WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.\nThe corpus contains Winograd-schema style sentences with entities corresponding to people\nreferred by their occupation (e.g. the nurse, the doctor, the carpenter).\n",
783
- "citation": "@article{DBLP:journals/corr/abs-1804-06876,\n author = {Jieyu Zhao and\n Tianlu Wang and\n Mark Yatskar and\n Vicente Ordonez and\n Kai{-}Wei Chang},\n title = {Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods},\n journal = {CoRR},\n volume = {abs/1804.06876},\n year = {2018},\n url = {http://arxiv.org/abs/1804.06876},\n archivePrefix = {arXiv},\n eprint = {1804.06876},\n timestamp = {Mon, 13 Aug 2018 16:47:01 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-1804-06876.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n",
784
- "homepage": "https://uclanlp.github.io/corefBias/overview",
785
- "license": "MIT License (https://github.com/uclanlp/corefBias/blob/master/LICENSE)",
786
- "features": {
787
- "document_id": {
788
- "dtype": "string",
789
- "id": null,
790
- "_type": "Value"
791
- },
792
- "part_number": {
793
- "dtype": "string",
794
- "id": null,
795
- "_type": "Value"
796
- },
797
- "word_number": {
798
- "feature": {
799
- "dtype": "int32",
800
- "id": null,
801
- "_type": "Value"
802
- },
803
- "length": -1,
804
- "id": null,
805
- "_type": "Sequence"
806
- },
807
- "tokens": {
808
- "feature": {
809
- "dtype": "string",
810
- "id": null,
811
- "_type": "Value"
812
- },
813
- "length": -1,
814
- "id": null,
815
- "_type": "Sequence"
816
- },
817
- "pos_tags": {
818
- "feature": {
819
- "num_classes": 55,
820
- "names": [
821
- "\"",
822
- "''",
823
- "#",
824
- "$",
825
- "(",
826
- ")",
827
- ",",
828
- ".",
829
- ":",
830
- "``",
831
- "CC",
832
- "CD",
833
- "DT",
834
- "EX",
835
- "FW",
836
- "IN",
837
- "JJ",
838
- "JJR",
839
- "JJS",
840
- "LS",
841
- "MD",
842
- "NN",
843
- "NNP",
844
- "NNPS",
845
- "NNS",
846
- "NN|SYM",
847
- "PDT",
848
- "POS",
849
- "PRP",
850
- "PRP$",
851
- "RB",
852
- "RBR",
853
- "RBS",
854
- "RP",
855
- "SYM",
856
- "TO",
857
- "UH",
858
- "VB",
859
- "VBD",
860
- "VBG",
861
- "VBN",
862
- "VBP",
863
- "VBZ",
864
- "WDT",
865
- "WP",
866
- "WP$",
867
- "WRB",
868
- "HYPH",
869
- "XX",
870
- "NFP",
871
- "AFX",
872
- "ADD",
873
- "-LRB-",
874
- "-RRB-",
875
- "-"
876
- ],
877
- "names_file": null,
878
- "id": null,
879
- "_type": "ClassLabel"
880
- },
881
- "length": -1,
882
- "id": null,
883
- "_type": "Sequence"
884
- },
885
- "parse_bit": {
886
- "feature": {
887
- "dtype": "string",
888
- "id": null,
889
- "_type": "Value"
890
- },
891
- "length": -1,
892
- "id": null,
893
- "_type": "Sequence"
894
- },
895
- "predicate_lemma": {
896
- "feature": {
897
- "dtype": "string",
898
- "id": null,
899
- "_type": "Value"
900
- },
901
- "length": -1,
902
- "id": null,
903
- "_type": "Sequence"
904
- },
905
- "predicate_framenet_id": {
906
- "feature": {
907
- "dtype": "string",
908
- "id": null,
909
- "_type": "Value"
910
- },
911
- "length": -1,
912
- "id": null,
913
- "_type": "Sequence"
914
- },
915
- "word_sense": {
916
- "feature": {
917
- "dtype": "string",
918
- "id": null,
919
- "_type": "Value"
920
- },
921
- "length": -1,
922
- "id": null,
923
- "_type": "Sequence"
924
- },
925
- "speaker": {
926
- "feature": {
927
- "dtype": "string",
928
- "id": null,
929
- "_type": "Value"
930
- },
931
- "length": -1,
932
- "id": null,
933
- "_type": "Sequence"
934
- },
935
- "ner_tags": {
936
- "feature": {
937
- "num_classes": 39,
938
- "names": [
939
- "B-PERSON",
940
- "I-PERSON",
941
- "B-NORP",
942
- "I-NORP",
943
- "B-FAC",
944
- "I-FAC",
945
- "B-ORG",
946
- "I-ORG",
947
- "B-GPE",
948
- "I-GPE",
949
- "B-LOC",
950
- "I-LOC",
951
- "B-PRODUCT",
952
- "I-PRODUCT",
953
- "B-EVENT",
954
- "I-EVENT",
955
- "B-WORK_OF_ART",
956
- "I-WORK_OF_ART",
957
- "B-LAW",
958
- "I-LAW",
959
- "B-LANGUAGE",
960
- "I-LANGUAGE",
961
- "B-DATE",
962
- "I-DATE",
963
- "B-TIME",
964
- "I-TIME",
965
- "B-PERCENT",
966
- "I-PERCENT",
967
- "B-MONEY",
968
- "I-MONEY",
969
- "B-QUANTITY",
970
- "I-QUANTITY",
971
- "B-ORDINAL",
972
- "I-ORDINAL",
973
- "B-CARDINAL",
974
- "I-CARDINAL",
975
- "*",
976
- "0",
977
- "-"
978
- ],
979
- "names_file": null,
980
- "id": null,
981
- "_type": "ClassLabel"
982
- },
983
- "length": -1,
984
- "id": null,
985
- "_type": "Sequence"
986
- },
987
- "verbal_predicates": {
988
- "feature": {
989
- "dtype": "string",
990
- "id": null,
991
- "_type": "Value"
992
- },
993
- "length": -1,
994
- "id": null,
995
- "_type": "Sequence"
996
- },
997
- "coreference_clusters": {
998
- "feature": {
999
- "dtype": "string",
1000
- "id": null,
1001
- "_type": "Value"
1002
- },
1003
- "length": -1,
1004
- "id": null,
1005
- "_type": "Sequence"
1006
- }
1007
- },
1008
- "post_processed": null,
1009
- "supervised_keys": null,
1010
- "builder_name": "wino_bias",
1011
- "config_name": "type2_pro",
1012
- "version": {
1013
- "version_str": "1.0.0",
1014
- "description": "",
1015
- "major": 1,
1016
- "minor": 0,
1017
- "patch": 0
1018
- },
1019
- "splits": {
1020
- "validation": {
1021
- "name": "validation",
1022
- "num_bytes": 367293,
1023
- "num_examples": 396,
1024
- "dataset_name": "wino_bias"
1025
- },
1026
- "test": {
1027
- "name": "test",
1028
- "num_bytes": 375480,
1029
- "num_examples": 396,
1030
- "dataset_name": "wino_bias"
1031
- }
1032
- },
1033
- "download_checksums": {
1034
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/dev_type2_pro_stereotype.v4_auto_conll": {
1035
- "num_bytes": 393889,
1036
- "checksum": "8f96017dee3a1cfeda74da3b2e8b7c794f48680f21d83ae4118d0f1e22692ea0"
1037
- },
1038
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/test_type2_pro_stereotype.v4_auto_conll": {
1039
- "num_bytes": 408536,
1040
- "checksum": "7720dee1432dc6a3d6077c442ddea37c63773e80f4f75c79b27e00087f88d574"
1041
- }
1042
- },
1043
- "download_size": 802425,
1044
- "post_processing_size": null,
1045
- "dataset_size": 742773,
1046
- "size_in_bytes": 1545198
1047
- },
1048
- "type2_anti": {
1049
- "description": "WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.\nThe corpus contains Winograd-schema style sentences with entities corresponding to people\nreferred by their occupation (e.g. the nurse, the doctor, the carpenter).\n",
1050
- "citation": "@article{DBLP:journals/corr/abs-1804-06876,\n author = {Jieyu Zhao and\n Tianlu Wang and\n Mark Yatskar and\n Vicente Ordonez and\n Kai{-}Wei Chang},\n title = {Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods},\n journal = {CoRR},\n volume = {abs/1804.06876},\n year = {2018},\n url = {http://arxiv.org/abs/1804.06876},\n archivePrefix = {arXiv},\n eprint = {1804.06876},\n timestamp = {Mon, 13 Aug 2018 16:47:01 +0200},\n biburl = {https://dblp.org/rec/journals/corr/abs-1804-06876.bib},\n bibsource = {dblp computer science bibliography, https://dblp.org}\n}\n",
1051
- "homepage": "https://uclanlp.github.io/corefBias/overview",
1052
- "license": "MIT License (https://github.com/uclanlp/corefBias/blob/master/LICENSE)",
1053
- "features": {
1054
- "document_id": {
1055
- "dtype": "string",
1056
- "id": null,
1057
- "_type": "Value"
1058
- },
1059
- "part_number": {
1060
- "dtype": "string",
1061
- "id": null,
1062
- "_type": "Value"
1063
- },
1064
- "word_number": {
1065
- "feature": {
1066
- "dtype": "int32",
1067
- "id": null,
1068
- "_type": "Value"
1069
- },
1070
- "length": -1,
1071
- "id": null,
1072
- "_type": "Sequence"
1073
- },
1074
- "tokens": {
1075
- "feature": {
1076
- "dtype": "string",
1077
- "id": null,
1078
- "_type": "Value"
1079
- },
1080
- "length": -1,
1081
- "id": null,
1082
- "_type": "Sequence"
1083
- },
1084
- "pos_tags": {
1085
- "feature": {
1086
- "num_classes": 55,
1087
- "names": [
1088
- "\"",
1089
- "''",
1090
- "#",
1091
- "$",
1092
- "(",
1093
- ")",
1094
- ",",
1095
- ".",
1096
- ":",
1097
- "``",
1098
- "CC",
1099
- "CD",
1100
- "DT",
1101
- "EX",
1102
- "FW",
1103
- "IN",
1104
- "JJ",
1105
- "JJR",
1106
- "JJS",
1107
- "LS",
1108
- "MD",
1109
- "NN",
1110
- "NNP",
1111
- "NNPS",
1112
- "NNS",
1113
- "NN|SYM",
1114
- "PDT",
1115
- "POS",
1116
- "PRP",
1117
- "PRP$",
1118
- "RB",
1119
- "RBR",
1120
- "RBS",
1121
- "RP",
1122
- "SYM",
1123
- "TO",
1124
- "UH",
1125
- "VB",
1126
- "VBD",
1127
- "VBG",
1128
- "VBN",
1129
- "VBP",
1130
- "VBZ",
1131
- "WDT",
1132
- "WP",
1133
- "WP$",
1134
- "WRB",
1135
- "HYPH",
1136
- "XX",
1137
- "NFP",
1138
- "AFX",
1139
- "ADD",
1140
- "-LRB-",
1141
- "-RRB-",
1142
- "-"
1143
- ],
1144
- "names_file": null,
1145
- "id": null,
1146
- "_type": "ClassLabel"
1147
- },
1148
- "length": -1,
1149
- "id": null,
1150
- "_type": "Sequence"
1151
- },
1152
- "parse_bit": {
1153
- "feature": {
1154
- "dtype": "string",
1155
- "id": null,
1156
- "_type": "Value"
1157
- },
1158
- "length": -1,
1159
- "id": null,
1160
- "_type": "Sequence"
1161
- },
1162
- "predicate_lemma": {
1163
- "feature": {
1164
- "dtype": "string",
1165
- "id": null,
1166
- "_type": "Value"
1167
- },
1168
- "length": -1,
1169
- "id": null,
1170
- "_type": "Sequence"
1171
- },
1172
- "predicate_framenet_id": {
1173
- "feature": {
1174
- "dtype": "string",
1175
- "id": null,
1176
- "_type": "Value"
1177
- },
1178
- "length": -1,
1179
- "id": null,
1180
- "_type": "Sequence"
1181
- },
1182
- "word_sense": {
1183
- "feature": {
1184
- "dtype": "string",
1185
- "id": null,
1186
- "_type": "Value"
1187
- },
1188
- "length": -1,
1189
- "id": null,
1190
- "_type": "Sequence"
1191
- },
1192
- "speaker": {
1193
- "feature": {
1194
- "dtype": "string",
1195
- "id": null,
1196
- "_type": "Value"
1197
- },
1198
- "length": -1,
1199
- "id": null,
1200
- "_type": "Sequence"
1201
- },
1202
- "ner_tags": {
1203
- "feature": {
1204
- "num_classes": 39,
1205
- "names": [
1206
- "B-PERSON",
1207
- "I-PERSON",
1208
- "B-NORP",
1209
- "I-NORP",
1210
- "B-FAC",
1211
- "I-FAC",
1212
- "B-ORG",
1213
- "I-ORG",
1214
- "B-GPE",
1215
- "I-GPE",
1216
- "B-LOC",
1217
- "I-LOC",
1218
- "B-PRODUCT",
1219
- "I-PRODUCT",
1220
- "B-EVENT",
1221
- "I-EVENT",
1222
- "B-WORK_OF_ART",
1223
- "I-WORK_OF_ART",
1224
- "B-LAW",
1225
- "I-LAW",
1226
- "B-LANGUAGE",
1227
- "I-LANGUAGE",
1228
- "B-DATE",
1229
- "I-DATE",
1230
- "B-TIME",
1231
- "I-TIME",
1232
- "B-PERCENT",
1233
- "I-PERCENT",
1234
- "B-MONEY",
1235
- "I-MONEY",
1236
- "B-QUANTITY",
1237
- "I-QUANTITY",
1238
- "B-ORDINAL",
1239
- "I-ORDINAL",
1240
- "B-CARDINAL",
1241
- "I-CARDINAL",
1242
- "*",
1243
- "0",
1244
- "-"
1245
- ],
1246
- "names_file": null,
1247
- "id": null,
1248
- "_type": "ClassLabel"
1249
- },
1250
- "length": -1,
1251
- "id": null,
1252
- "_type": "Sequence"
1253
- },
1254
- "verbal_predicates": {
1255
- "feature": {
1256
- "dtype": "string",
1257
- "id": null,
1258
- "_type": "Value"
1259
- },
1260
- "length": -1,
1261
- "id": null,
1262
- "_type": "Sequence"
1263
- },
1264
- "coreference_clusters": {
1265
- "feature": {
1266
- "dtype": "string",
1267
- "id": null,
1268
- "_type": "Value"
1269
- },
1270
- "length": -1,
1271
- "id": null,
1272
- "_type": "Sequence"
1273
- }
1274
- },
1275
- "post_processed": null,
1276
- "supervised_keys": null,
1277
- "builder_name": "wino_bias",
1278
- "config_name": "type2_anti",
1279
- "version": {
1280
- "version_str": "1.0.0",
1281
- "description": "",
1282
- "major": 1,
1283
- "minor": 0,
1284
- "patch": 0
1285
- },
1286
- "splits": {
1287
- "validation": {
1288
- "name": "validation",
1289
- "num_bytes": 368757,
1290
- "num_examples": 396,
1291
- "dataset_name": "wino_bias"
1292
- },
1293
- "test": {
1294
- "name": "test",
1295
- "num_bytes": 377262,
1296
- "num_examples": 396,
1297
- "dataset_name": "wino_bias"
1298
- }
1299
- },
1300
- "download_checksums": {
1301
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/dev_type2_anti_stereotype.v4_auto_conll": {
1302
- "num_bytes": 416645,
1303
- "checksum": "022c18ce9fa07161b24daa6d79465190f127fde5c15e796778b12d950966fb03"
1304
- },
1305
- "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format/test_type2_anti_stereotype.v4_auto_conll": {
1306
- "num_bytes": 432159,
1307
- "checksum": "c9a6b66d60ce6a008f0d8cb619786042454abc6e9502d134cf88352aed7da57b"
1308
- }
1309
- },
1310
- "download_size": 848804,
1311
- "post_processing_size": null,
1312
- "dataset_size": 746019,
1313
- "size_in_bytes": 1594823
1314
- }
1315
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
type1_anti/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a419adf1956e28fd22a8bea1258ff69be4e3fb03d619c6239758e095585da7a4
3
+ size 33763
type1_anti/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:98bb69f90bca677bc91821d0c1593a1759e4bf60a473decbc836b4f06c736b5d
3
+ size 31620
type1_pro/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c27fcccafb604f2311a8a86024ed5a15c55d3dc423770695fab32079a82ccf01
3
+ size 33761
type1_pro/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b524ef57f3b6d835a0319a20437bdc47e3df1a6992394011d80b90a9ce22e243
3
+ size 31755
type2_anti/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ea39d58459abcbff2f9ac8cb8c6c3c15c9d438a2af09d68e48ca1f3be776b856
3
+ size 31535
type2_anti/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f9dc431e97ae8cd66ca00317e702184249dfcd4fac71ff85ad2e83438d8740f2
3
+ size 31020
type2_pro/test-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2068b318befbb6895c0939c2d9d66f7f4f3cb9f0021e1234830694f9c5abd3ca
3
+ size 31380
type2_pro/validation-00000-of-00001.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:33ece0eb93cda0413d4b7f376314cdd55a2328350c6da445d1c0d8ce75395cd1
3
+ size 31103
wino_bias.py DELETED
@@ -1,372 +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
- """WinoBias: Winograd-schema dataset for detecting gender bias"""
16
-
17
-
18
- import collections
19
-
20
- import datasets
21
-
22
-
23
- _CITATION = """\
24
- @article{DBLP:journals/corr/abs-1804-06876,
25
- author = {Jieyu Zhao and
26
- Tianlu Wang and
27
- Mark Yatskar and
28
- Vicente Ordonez and
29
- Kai{-}Wei Chang},
30
- title = {Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods},
31
- journal = {CoRR},
32
- volume = {abs/1804.06876},
33
- year = {2018},
34
- url = {http://arxiv.org/abs/1804.06876},
35
- archivePrefix = {arXiv},
36
- eprint = {1804.06876},
37
- timestamp = {Mon, 13 Aug 2018 16:47:01 +0200},
38
- biburl = {https://dblp.org/rec/journals/corr/abs-1804-06876.bib},
39
- bibsource = {dblp computer science bibliography, https://dblp.org}
40
- }
41
- """
42
-
43
- _DESCRIPTION = """\
44
- WinoBias, a Winograd-schema dataset for coreference resolution focused on gender bias.
45
- The corpus contains Winograd-schema style sentences with entities corresponding to people
46
- referred by their occupation (e.g. the nurse, the doctor, the carpenter).
47
- """
48
-
49
- _HOMEPAGE = "https://uclanlp.github.io/corefBias/overview"
50
-
51
- _LICENSE = "MIT License (https://github.com/uclanlp/corefBias/blob/master/LICENSE)"
52
-
53
- _URL = "https://raw.githubusercontent.com/uclanlp/corefBias/master/WinoBias/wino/data/conll_format"
54
-
55
-
56
- class WinoBiasConfig(datasets.BuilderConfig):
57
- def __init__(self, **kwargs):
58
- super(WinoBiasConfig, self).__init__(version=datasets.Version("1.0.0", ""), **kwargs)
59
-
60
-
61
- class WinoBias(datasets.GeneratorBasedBuilder):
62
- """WinoBias: Winograd-schema dataset for detecting gender bias"""
63
-
64
- # This is an example of a dataset with multiple configurations.
65
- # If you don't want/need to define several sub-sets in your dataset,
66
- # just remove the BUILDER_CONFIG_CLASS and the BUILDER_CONFIGS attributes.
67
-
68
- # If you need to make complex sub-parts in the datasets with configurable options
69
- # You can create your own builder configuration class to store attribute, inheriting from datasets.BuilderConfig
70
- # BUILDER_CONFIG_CLASS = MyBuilderConfig
71
-
72
- # You will be able to load one or the other configurations in the following list with
73
- # data = datasets.load_dataset('my_dataset', 'first_domain')
74
- # data = datasets.load_dataset('my_dataset', 'second_domain')
75
- def __init__(self, *args, writer_batch_size=None, **kwargs):
76
- super(WinoBias, self).__init__(*args, **kwargs)
77
- # Batch size used by the ArrowWriter
78
- # It defines the number of samples that are kept in memory before writing them
79
- # and also the length of the arrow chunks
80
- # None means that the ArrowWriter will use its default value
81
- self._writer_batch_size = writer_batch_size or 100
82
-
83
- BUILDER_CONFIGS = [
84
- WinoBiasConfig(
85
- name="type1_pro",
86
- description="winoBias type1_pro_stereotype data in cornll format",
87
- ),
88
- WinoBiasConfig(
89
- name="type1_anti",
90
- description="winoBias type1_anti_stereotype data in cornll format",
91
- ),
92
- WinoBiasConfig(
93
- name="type2_pro",
94
- description="winoBias type2_pro_stereotype data in cornll format",
95
- ),
96
- WinoBiasConfig(
97
- name="type2_anti",
98
- description="winoBias type2_anti_stereotype data in cornll format",
99
- ),
100
- ]
101
-
102
- def _info(self):
103
- return datasets.DatasetInfo(
104
- # This is the description that will appear on the datasets page.
105
- description=_DESCRIPTION,
106
- # This defines the different columns of the dataset and their types
107
- # Info about features for this: http://cemantix.org/data/ontonotes.html
108
- features=datasets.Features(
109
- {
110
- "document_id": datasets.Value("string"),
111
- "part_number": datasets.Value("string"),
112
- "word_number": datasets.Sequence(datasets.Value("int32")),
113
- "tokens": datasets.Sequence(datasets.Value("string")),
114
- "pos_tags": datasets.Sequence(
115
- datasets.features.ClassLabel(
116
- names=[
117
- '"',
118
- "''",
119
- "#",
120
- "$",
121
- "(",
122
- ")",
123
- ",",
124
- ".",
125
- ":",
126
- "``",
127
- "CC",
128
- "CD",
129
- "DT",
130
- "EX",
131
- "FW",
132
- "IN",
133
- "JJ",
134
- "JJR",
135
- "JJS",
136
- "LS",
137
- "MD",
138
- "NN",
139
- "NNP",
140
- "NNPS",
141
- "NNS",
142
- "NN|SYM",
143
- "PDT",
144
- "POS",
145
- "PRP",
146
- "PRP$",
147
- "RB",
148
- "RBR",
149
- "RBS",
150
- "RP",
151
- "SYM",
152
- "TO",
153
- "UH",
154
- "VB",
155
- "VBD",
156
- "VBG",
157
- "VBN",
158
- "VBP",
159
- "VBZ",
160
- "WDT",
161
- "WP",
162
- "WP$",
163
- "WRB",
164
- "HYPH",
165
- "XX",
166
- "NFP",
167
- "AFX",
168
- "ADD",
169
- "-LRB-",
170
- "-RRB-",
171
- "-",
172
- ]
173
- )
174
- ),
175
- "parse_bit": datasets.Sequence(datasets.Value("string")),
176
- "predicate_lemma": datasets.Sequence(datasets.Value("string")),
177
- "predicate_framenet_id": datasets.Sequence(datasets.Value("string")),
178
- "word_sense": datasets.Sequence(datasets.Value("string")),
179
- "speaker": datasets.Sequence(datasets.Value("string")),
180
- "ner_tags": datasets.Sequence(
181
- datasets.features.ClassLabel(
182
- names=[
183
- "B-PERSON",
184
- "I-PERSON",
185
- "B-NORP",
186
- "I-NORP",
187
- "B-FAC",
188
- "I-FAC",
189
- "B-ORG",
190
- "I-ORG",
191
- "B-GPE",
192
- "I-GPE",
193
- "B-LOC",
194
- "I-LOC",
195
- "B-PRODUCT",
196
- "I-PRODUCT",
197
- "B-EVENT",
198
- "I-EVENT",
199
- "B-WORK_OF_ART",
200
- "I-WORK_OF_ART",
201
- "B-LAW",
202
- "I-LAW",
203
- "B-LANGUAGE",
204
- "I-LANGUAGE",
205
- "B-DATE",
206
- "I-DATE",
207
- "B-TIME",
208
- "I-TIME",
209
- "B-PERCENT",
210
- "I-PERCENT",
211
- "B-MONEY",
212
- "I-MONEY",
213
- "B-QUANTITY",
214
- "I-QUANTITY",
215
- "B-ORDINAL",
216
- "I-ORDINAL",
217
- "B-CARDINAL",
218
- "I-CARDINAL",
219
- "*",
220
- "0",
221
- "-",
222
- ]
223
- )
224
- ),
225
- "verbal_predicates": datasets.Sequence(datasets.Value("string")),
226
- "coreference_clusters": datasets.Sequence(datasets.Value("string")),
227
- }
228
- ),
229
- supervised_keys=None,
230
- # Homepage of the dataset for documentation
231
- homepage=_HOMEPAGE,
232
- # License for the dataset if available
233
- license=_LICENSE,
234
- # Citation for the dataset
235
- citation=_CITATION,
236
- )
237
-
238
- def _split_generators(self, dl_manager):
239
- """Returns SplitGenerators."""
240
-
241
- dev_data_dir = dl_manager.download(_URL + "/dev_" + self.config.name + "_stereotype.v4_auto_conll")
242
- test_data_dir = dl_manager.download(_URL + "/test_" + self.config.name + "_stereotype.v4_auto_conll")
243
- return [
244
- datasets.SplitGenerator(
245
- name=datasets.Split.VALIDATION,
246
- # These kwargs will be passed to _generate_examples
247
- gen_kwargs={"filepath": dev_data_dir},
248
- ),
249
- datasets.SplitGenerator(
250
- name=datasets.Split.TEST,
251
- # These kwargs will be passed to _generate_examples
252
- gen_kwargs={"filepath": test_data_dir},
253
- ),
254
- ]
255
-
256
- def _generate_examples(self, filepath):
257
- """Yields examples."""
258
- with open(filepath, encoding="utf-8") as f:
259
- id_ = 0
260
- document_id = None
261
- part_number = 0
262
- word_num = []
263
- tokens = []
264
- pos_tags = []
265
- parse_bit = []
266
- predicate_lemma = []
267
- predicate_framenet_id = []
268
- word_sense = []
269
- speaker = []
270
- ner_tags = []
271
- ner_start = False
272
- verbal_predicates = []
273
- coreference = []
274
- clusters = collections.defaultdict(list)
275
- coref_stacks = collections.defaultdict(list)
276
- for line in f:
277
- if line.startswith("#begin") or line.startswith("#end"):
278
- continue
279
- elif not line.strip():
280
- id_ += 1
281
- yield str(id_), {
282
- "document_id": document_id,
283
- "part_number": part_number,
284
- "word_number": word_num,
285
- "tokens": tokens,
286
- "pos_tags": pos_tags,
287
- "parse_bit": parse_bit,
288
- "predicate_lemma": predicate_lemma,
289
- "predicate_framenet_id": predicate_framenet_id,
290
- "word_sense": word_sense,
291
- "speaker": speaker,
292
- "ner_tags": ner_tags,
293
- "verbal_predicates": verbal_predicates,
294
- "coreference_clusters": sum(
295
- clusters[1], []
296
- ), # flatten the list as writing the exmaples needs an array.
297
- }
298
-
299
- word_num = []
300
- tokens = []
301
- pos_tags = []
302
- parse_bit = []
303
- predicate_lemma = []
304
- predicate_framenet_id = []
305
- word_sense = []
306
- speaker = []
307
- ner_tags = []
308
- verbal_predicates = []
309
- coreference = []
310
- clusters = collections.defaultdict(list)
311
- coref_stacks = collections.defaultdict(list)
312
- else:
313
- splits = [s for s in line.split() if s]
314
- if len(splits) > 7:
315
- document_id = splits[0]
316
- part_number = splits[1]
317
- word_num.append(splits[2])
318
- tokens.append(splits[3])
319
- pos_tags.append(splits[4])
320
- parse_bit.append(splits[5])
321
- predicate_lemma.append(splits[6])
322
- predicate_framenet_id.append(splits[7])
323
- word_sense.append(splits[8])
324
- speaker.append(splits[9])
325
- ner_word = splits[10]
326
- coreference = splits[-1]
327
- if ")" in ner_word and ner_start:
328
- ner_start = False
329
- ner_word = "0"
330
- if "(" in ner_word:
331
- ner_start = True
332
- ner_word = ner_word.strip(" ").replace("(", "B-").replace("*", "").replace(")", "")
333
- start_word = ner_word.strip(" ").replace("B-", "")
334
- if ner_start:
335
- if ner_word.strip(" ") == "*":
336
- ner_word = "I-" + start_word
337
- ner_tags.append(ner_word)
338
- word_is_verbal_predicate = any(["(V" in x for x in splits[11:-1]])
339
- if word_is_verbal_predicate:
340
- verbal_predicates.append(splits[3])
341
- if coreference != "-":
342
- for segment in coreference.split("|"):
343
- if segment[0] == "(":
344
- if segment[-1] == ")":
345
- cluster_id = int(segment[1:-1])
346
- clusters[cluster_id].append([splits[2], splits[2]])
347
- else:
348
- cluster_id = int(segment[1:])
349
- coref_stacks[cluster_id].append(splits[2])
350
- else:
351
- cluster_id = int(segment[:-1])
352
- start = coref_stacks[cluster_id].pop()
353
- clusters[cluster_id].append([start, splits[2]])
354
-
355
- if tokens:
356
- # add the last one
357
- id_ += 1
358
- yield str(id_), {
359
- "document_id": document_id,
360
- "part_number": part_number,
361
- "word_number": word_num,
362
- "tokens": tokens,
363
- "pos_tags": pos_tags,
364
- "parse_bit": parse_bit,
365
- "predicate_lemma": predicate_lemma,
366
- "predicate_framenet_id": predicate_framenet_id,
367
- "word_sense": word_sense,
368
- "speaker": speaker,
369
- "ner_tags": ner_tags,
370
- "verbal_predicates": verbal_predicates,
371
- "coreference_clusters": sum(clusters[1], []),
372
- }