albertvillanova HF staff commited on
Commit
ce3ffe1
1 Parent(s): a3d860a

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 +20 -20
README.md CHANGED
@@ -29,62 +29,62 @@ dataset_info:
29
  dtype:
30
  class_label:
31
  names:
32
- 0: Text Non Informative
33
- 1: Text Informative
34
  - name: Image_Only_Informative
35
  dtype:
36
  class_label:
37
  names:
38
- 0: Image Non Informative
39
- 1: Image Informative
40
  - name: Directed_Hate
41
  dtype:
42
  class_label:
43
  names:
44
- 0: Directed Hate Absent
45
- 1: Directed Hate Present
46
  - name: Generalized_Hate
47
  dtype:
48
  class_label:
49
  names:
50
- 0: Generalized Hate Absent
51
- 1: Generalized Hate Present
52
  - name: Sarcasm
53
  dtype:
54
  class_label:
55
  names:
56
- 0: Sarcasm Absent
57
- 1: Sarcasm Present
58
  - name: Allegation
59
  dtype:
60
  class_label:
61
  names:
62
- 0: Allegation Absent
63
- 1: Allegation Present
64
  - name: Justification
65
  dtype:
66
  class_label:
67
  names:
68
- 0: Justification Absent
69
- 1: Justification Present
70
  - name: Refutation
71
  dtype:
72
  class_label:
73
  names:
74
- 0: Refutation Absent
75
- 1: Refutation Present
76
  - name: Support
77
  dtype:
78
  class_label:
79
  names:
80
- 0: Support Absent
81
- 1: Support Present
82
  - name: Oppose
83
  dtype:
84
  class_label:
85
  names:
86
- 0: Oppose Absent
87
- 1: Oppose Present
88
  splits:
89
  - name: train
90
  num_bytes: 821738
 
29
  dtype:
30
  class_label:
31
  names:
32
+ '0': Text Non Informative
33
+ '1': Text Informative
34
  - name: Image_Only_Informative
35
  dtype:
36
  class_label:
37
  names:
38
+ '0': Image Non Informative
39
+ '1': Image Informative
40
  - name: Directed_Hate
41
  dtype:
42
  class_label:
43
  names:
44
+ '0': Directed Hate Absent
45
+ '1': Directed Hate Present
46
  - name: Generalized_Hate
47
  dtype:
48
  class_label:
49
  names:
50
+ '0': Generalized Hate Absent
51
+ '1': Generalized Hate Present
52
  - name: Sarcasm
53
  dtype:
54
  class_label:
55
  names:
56
+ '0': Sarcasm Absent
57
+ '1': Sarcasm Present
58
  - name: Allegation
59
  dtype:
60
  class_label:
61
  names:
62
+ '0': Allegation Absent
63
+ '1': Allegation Present
64
  - name: Justification
65
  dtype:
66
  class_label:
67
  names:
68
+ '0': Justification Absent
69
+ '1': Justification Present
70
  - name: Refutation
71
  dtype:
72
  class_label:
73
  names:
74
+ '0': Refutation Absent
75
+ '1': Refutation Present
76
  - name: Support
77
  dtype:
78
  class_label:
79
  names:
80
+ '0': Support Absent
81
+ '1': Support Present
82
  - name: Oppose
83
  dtype:
84
  class_label:
85
  names:
86
+ '0': Oppose Absent
87
+ '1': Oppose Present
88
  splits:
89
  - name: train
90
  num_bytes: 821738