albertvillanova HF staff commited on
Commit
265d7ee
1 Parent(s): 1209ea2

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 +29 -29
README.md CHANGED
@@ -5,13 +5,10 @@ language_creators:
5
  - crowdsourced
6
  language:
7
  - pt
8
- language_bcp47:
9
- - pt-BR
10
  license:
11
  - cc-by-sa-4.0
12
  multilinguality:
13
  - monolingual
14
- pretty_name: ToLD-Br
15
  size_categories:
16
  - 10K<n<100K
17
  source_datasets:
@@ -20,6 +17,9 @@ task_categories:
20
  - text-classification
21
  task_ids: []
22
  paperswithcode_id: told-br
 
 
 
23
  tags:
24
  - hate-speech-detection
25
  dataset_info:
@@ -31,50 +31,50 @@ dataset_info:
31
  dtype:
32
  class_label:
33
  names:
34
- 0: zero_votes
35
- 1: one_vote
36
- 2: two_votes
37
- 3: three_votes
38
  - name: obscene
39
  dtype:
40
  class_label:
41
  names:
42
- 0: zero_votes
43
- 1: one_vote
44
- 2: two_votes
45
- 3: three_votes
46
  - name: insult
47
  dtype:
48
  class_label:
49
  names:
50
- 0: zero_votes
51
- 1: one_vote
52
- 2: two_votes
53
- 3: three_votes
54
  - name: racism
55
  dtype:
56
  class_label:
57
  names:
58
- 0: zero_votes
59
- 1: one_vote
60
- 2: two_votes
61
- 3: three_votes
62
  - name: misogyny
63
  dtype:
64
  class_label:
65
  names:
66
- 0: zero_votes
67
- 1: one_vote
68
- 2: two_votes
69
- 3: three_votes
70
  - name: xenophobia
71
  dtype:
72
  class_label:
73
  names:
74
- 0: zero_votes
75
- 1: one_vote
76
- 2: two_votes
77
- 3: three_votes
78
  splits:
79
  - name: train
80
  num_bytes: 2978006
@@ -89,8 +89,8 @@ dataset_info:
89
  dtype:
90
  class_label:
91
  names:
92
- 0: not-toxic
93
- 1: toxic
94
  splits:
95
  - name: train
96
  num_bytes: 1709560
 
5
  - crowdsourced
6
  language:
7
  - pt
 
 
8
  license:
9
  - cc-by-sa-4.0
10
  multilinguality:
11
  - monolingual
 
12
  size_categories:
13
  - 10K<n<100K
14
  source_datasets:
 
17
  - text-classification
18
  task_ids: []
19
  paperswithcode_id: told-br
20
+ pretty_name: ToLD-Br
21
+ language_bcp47:
22
+ - pt-BR
23
  tags:
24
  - hate-speech-detection
25
  dataset_info:
 
31
  dtype:
32
  class_label:
33
  names:
34
+ '0': zero_votes
35
+ '1': one_vote
36
+ '2': two_votes
37
+ '3': three_votes
38
  - name: obscene
39
  dtype:
40
  class_label:
41
  names:
42
+ '0': zero_votes
43
+ '1': one_vote
44
+ '2': two_votes
45
+ '3': three_votes
46
  - name: insult
47
  dtype:
48
  class_label:
49
  names:
50
+ '0': zero_votes
51
+ '1': one_vote
52
+ '2': two_votes
53
+ '3': three_votes
54
  - name: racism
55
  dtype:
56
  class_label:
57
  names:
58
+ '0': zero_votes
59
+ '1': one_vote
60
+ '2': two_votes
61
+ '3': three_votes
62
  - name: misogyny
63
  dtype:
64
  class_label:
65
  names:
66
+ '0': zero_votes
67
+ '1': one_vote
68
+ '2': two_votes
69
+ '3': three_votes
70
  - name: xenophobia
71
  dtype:
72
  class_label:
73
  names:
74
+ '0': zero_votes
75
+ '1': one_vote
76
+ '2': two_votes
77
+ '3': three_votes
78
  splits:
79
  - name: train
80
  num_bytes: 2978006
 
89
  dtype:
90
  class_label:
91
  names:
92
+ '0': not-toxic
93
+ '1': toxic
94
  splits:
95
  - name: train
96
  num_bytes: 1709560