albertvillanova HF staff commited on
Commit
5ec7497
1 Parent(s): c4921c7

Replace YAML keys from int to str

Browse files

Replace YAML metadata integer keys with strings, as the Hub does not support integers.
See: https://github.com/huggingface/datasets/issues/5275

Files changed (1) hide show
  1. README.md +49 -50
README.md CHANGED
@@ -17,8 +17,56 @@ task_categories:
17
  - text-classification
18
  task_ids:
19
  - multi-label-classification
20
- paperswithcode_id: null
21
  pretty_name: JigsawToxicityPred
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  train-eval-index:
23
  - config: default
24
  task: text-classification
@@ -68,55 +116,6 @@ train-eval-index:
68
  name: Recall weighted
69
  args:
70
  average: weighted
71
- dataset_info:
72
- features:
73
- - name: comment_text
74
- dtype: string
75
- - name: toxic
76
- dtype:
77
- class_label:
78
- names:
79
- 0: 'false'
80
- 1: 'true'
81
- - name: severe_toxic
82
- dtype:
83
- class_label:
84
- names:
85
- 0: 'false'
86
- 1: 'true'
87
- - name: obscene
88
- dtype:
89
- class_label:
90
- names:
91
- 0: 'false'
92
- 1: 'true'
93
- - name: threat
94
- dtype:
95
- class_label:
96
- names:
97
- 0: 'false'
98
- 1: 'true'
99
- - name: insult
100
- dtype:
101
- class_label:
102
- names:
103
- 0: 'false'
104
- 1: 'true'
105
- - name: identity_hate
106
- dtype:
107
- class_label:
108
- names:
109
- 0: 'false'
110
- 1: 'true'
111
- splits:
112
- - name: train
113
- num_bytes: 71282358
114
- num_examples: 159571
115
- - name: test
116
- num_bytes: 28241991
117
- num_examples: 63978
118
- download_size: 0
119
- dataset_size: 99524349
120
  ---
121
 
122
  # Dataset Card for [Dataset Name]
 
17
  - text-classification
18
  task_ids:
19
  - multi-label-classification
 
20
  pretty_name: JigsawToxicityPred
21
+ dataset_info:
22
+ features:
23
+ - name: comment_text
24
+ dtype: string
25
+ - name: toxic
26
+ dtype:
27
+ class_label:
28
+ names:
29
+ '0': 'false'
30
+ '1': 'true'
31
+ - name: severe_toxic
32
+ dtype:
33
+ class_label:
34
+ names:
35
+ '0': 'false'
36
+ '1': 'true'
37
+ - name: obscene
38
+ dtype:
39
+ class_label:
40
+ names:
41
+ '0': 'false'
42
+ '1': 'true'
43
+ - name: threat
44
+ dtype:
45
+ class_label:
46
+ names:
47
+ '0': 'false'
48
+ '1': 'true'
49
+ - name: insult
50
+ dtype:
51
+ class_label:
52
+ names:
53
+ '0': 'false'
54
+ '1': 'true'
55
+ - name: identity_hate
56
+ dtype:
57
+ class_label:
58
+ names:
59
+ '0': 'false'
60
+ '1': 'true'
61
+ splits:
62
+ - name: train
63
+ num_bytes: 71282358
64
+ num_examples: 159571
65
+ - name: test
66
+ num_bytes: 28241991
67
+ num_examples: 63978
68
+ download_size: 0
69
+ dataset_size: 99524349
70
  train-eval-index:
71
  - config: default
72
  task: text-classification
 
116
  name: Recall weighted
117
  args:
118
  average: weighted
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  ---
120
 
121
  # Dataset Card for [Dataset Name]