albertvillanova HF staff commited on
Commit
8dbb6e6
1 Parent(s): 06e068d

Replace YAML keys from int to str (#1)

Browse files

- Replace YAML keys from int to str (8d152d11c7c84e4e0c7ec7be6ba182d77308bd80)

Files changed (1) hide show
  1. README.md +18 -18
README.md CHANGED
@@ -36,8 +36,8 @@ dataset_info:
36
  dtype:
37
  class_label:
38
  names:
39
- 0: no_hate_speech
40
- 1: hate_speech
41
  splits:
42
  - name: train
43
  num_bytes: 124823
@@ -52,50 +52,50 @@ dataset_info:
52
  dtype:
53
  class_label:
54
  names:
55
- 0: not_violent
56
- 1: violent
57
  - name: directed_vs_generalized
58
  dtype:
59
  class_label:
60
  names:
61
- 0: generalied
62
- 1: directed
63
  - name: gender
64
  dtype:
65
  class_label:
66
  names:
67
- 0: 'false'
68
- 1: 'true'
69
  - name: race
70
  dtype:
71
  class_label:
72
  names:
73
- 0: 'false'
74
- 1: 'true'
75
  - name: national_origin
76
  dtype:
77
  class_label:
78
  names:
79
- 0: 'false'
80
- 1: 'true'
81
  - name: disability
82
  dtype:
83
  class_label:
84
  names:
85
- 0: 'false'
86
- 1: 'true'
87
  - name: religion
88
  dtype:
89
  class_label:
90
  names:
91
- 0: 'false'
92
- 1: 'true'
93
  - name: sexual_orientation
94
  dtype:
95
  class_label:
96
  names:
97
- 0: 'false'
98
- 1: 'true'
99
  splits:
100
  - name: train
101
  num_bytes: 79112
 
36
  dtype:
37
  class_label:
38
  names:
39
+ '0': no_hate_speech
40
+ '1': hate_speech
41
  splits:
42
  - name: train
43
  num_bytes: 124823
 
52
  dtype:
53
  class_label:
54
  names:
55
+ '0': not_violent
56
+ '1': violent
57
  - name: directed_vs_generalized
58
  dtype:
59
  class_label:
60
  names:
61
+ '0': generalied
62
+ '1': directed
63
  - name: gender
64
  dtype:
65
  class_label:
66
  names:
67
+ '0': 'false'
68
+ '1': 'true'
69
  - name: race
70
  dtype:
71
  class_label:
72
  names:
73
+ '0': 'false'
74
+ '1': 'true'
75
  - name: national_origin
76
  dtype:
77
  class_label:
78
  names:
79
+ '0': 'false'
80
+ '1': 'true'
81
  - name: disability
82
  dtype:
83
  class_label:
84
  names:
85
+ '0': 'false'
86
+ '1': 'true'
87
  - name: religion
88
  dtype:
89
  class_label:
90
  names:
91
+ '0': 'false'
92
+ '1': 'true'
93
  - name: sexual_orientation
94
  dtype:
95
  class_label:
96
  names:
97
+ '0': 'false'
98
+ '1': 'true'
99
  splits:
100
  - name: train
101
  num_bytes: 79112