albertvillanova HF staff commited on
Commit
13ec0ad
1 Parent(s): 7f4a46d

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 +22 -23
README.md CHANGED
@@ -17,8 +17,29 @@ task_categories:
17
  - text-classification
18
  task_ids:
19
  - sentiment-classification
20
- paperswithcode_id: null
21
  pretty_name: Amazon Review Polarity
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  train-eval-index:
23
  - config: amazon_polarity
24
  task: text-classification
@@ -68,28 +89,6 @@ train-eval-index:
68
  name: Recall weighted
69
  args:
70
  average: weighted
71
- dataset_info:
72
- features:
73
- - name: label
74
- dtype:
75
- class_label:
76
- names:
77
- 0: negative
78
- 1: positive
79
- - name: title
80
- dtype: string
81
- - name: content
82
- dtype: string
83
- config_name: amazon_polarity
84
- splits:
85
- - name: train
86
- num_bytes: 1604364432
87
- num_examples: 3600000
88
- - name: test
89
- num_bytes: 178176193
90
- num_examples: 400000
91
- download_size: 688339454
92
- dataset_size: 1782540625
93
  ---
94
 
95
  # Dataset Card for Amazon Review Polarity
 
17
  - text-classification
18
  task_ids:
19
  - sentiment-classification
 
20
  pretty_name: Amazon Review Polarity
21
+ dataset_info:
22
+ features:
23
+ - name: label
24
+ dtype:
25
+ class_label:
26
+ names:
27
+ '0': negative
28
+ '1': positive
29
+ - name: title
30
+ dtype: string
31
+ - name: content
32
+ dtype: string
33
+ config_name: amazon_polarity
34
+ splits:
35
+ - name: train
36
+ num_bytes: 1604364432
37
+ num_examples: 3600000
38
+ - name: test
39
+ num_bytes: 178176193
40
+ num_examples: 400000
41
+ download_size: 688339454
42
+ dataset_size: 1782540625
43
  train-eval-index:
44
  - config: amazon_polarity
45
  task: text-classification
 
89
  name: Recall weighted
90
  args:
91
  average: weighted
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
92
  ---
93
 
94
  # Dataset Card for Amazon Review Polarity