albertvillanova HF staff commited on
Commit
2bb053e
1 Parent(s): 5bfae71

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 +34 -35
README.md CHANGED
@@ -17,8 +17,41 @@ task_categories:
17
  - text-classification
18
  task_ids:
19
  - topic-classification
20
- paperswithcode_id: null
21
  pretty_name: YahooAnswersTopics
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  train-eval-index:
23
  - config: yahoo_answers_topics
24
  task: text-classification
@@ -68,40 +101,6 @@ train-eval-index:
68
  name: Recall weighted
69
  args:
70
  average: weighted
71
- dataset_info:
72
- features:
73
- - name: id
74
- dtype: int32
75
- - name: topic
76
- dtype:
77
- class_label:
78
- names:
79
- 0: Society & Culture
80
- 1: Science & Mathematics
81
- 2: Health
82
- 3: Education & Reference
83
- 4: Computers & Internet
84
- 5: Sports
85
- 6: Business & Finance
86
- 7: Entertainment & Music
87
- 8: Family & Relationships
88
- 9: Politics & Government
89
- - name: question_title
90
- dtype: string
91
- - name: question_content
92
- dtype: string
93
- - name: best_answer
94
- dtype: string
95
- config_name: yahoo_answers_topics
96
- splits:
97
- - name: train
98
- num_bytes: 760460695
99
- num_examples: 1400000
100
- - name: test
101
- num_bytes: 32661362
102
- num_examples: 60000
103
- download_size: 319476345
104
- dataset_size: 793122057
105
  ---
106
 
107
  # Dataset Card for "Yahoo Answers Topics"
 
17
  - text-classification
18
  task_ids:
19
  - topic-classification
 
20
  pretty_name: YahooAnswersTopics
21
+ dataset_info:
22
+ features:
23
+ - name: id
24
+ dtype: int32
25
+ - name: topic
26
+ dtype:
27
+ class_label:
28
+ names:
29
+ '0': Society & Culture
30
+ '1': Science & Mathematics
31
+ '2': Health
32
+ '3': Education & Reference
33
+ '4': Computers & Internet
34
+ '5': Sports
35
+ '6': Business & Finance
36
+ '7': Entertainment & Music
37
+ '8': Family & Relationships
38
+ '9': Politics & Government
39
+ - name: question_title
40
+ dtype: string
41
+ - name: question_content
42
+ dtype: string
43
+ - name: best_answer
44
+ dtype: string
45
+ config_name: yahoo_answers_topics
46
+ splits:
47
+ - name: train
48
+ num_bytes: 760460695
49
+ num_examples: 1400000
50
+ - name: test
51
+ num_bytes: 32661362
52
+ num_examples: 60000
53
+ download_size: 319476345
54
+ dataset_size: 793122057
55
  train-eval-index:
56
  - config: yahoo_answers_topics
57
  task: text-classification
 
101
  name: Recall weighted
102
  args:
103
  average: weighted
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
104
  ---
105
 
106
  # Dataset Card for "Yahoo Answers Topics"