MrFitzmaurice commited on
Commit
673ebfa
1 Parent(s): 3768d38

fixed labels

Browse files
Files changed (1) hide show
  1. config.json +45 -45
config.json CHANGED
@@ -12,55 +12,55 @@
12
  "hidden_size": 768,
13
 
14
  "id2label": {
15
- "0": "disasters",
16
- "1": "medicine",
17
- "2": "science",
18
- "3": "politics",
19
- "4": "foods",
20
- "5": "mathematics",
21
- "6": "religion",
22
- "7": "technology",
23
- "8": "culture",
24
- "9": "sports",
25
- "10": "education",
26
- "11": "news",
27
- "12": "videogames",
28
- "13": "business",
29
- "14": "geography",
30
- "15": "entertainment",
31
- "16": "nature",
32
- "17": "law",
33
- "18": "history",
34
- "19": "music",
35
- "20": "economics",
36
- "21": "computerscience",
37
- "22": "philosophy"
38
  },
39
  "initializer_range": 0.02,
40
  "intermediate_size": 3072,
41
  "label2id": {"disasters": 0,
42
- "medicine": 1,
43
- "science": 2,
44
- "politics": 3,
45
- "foods": 4,
46
- "mathematics": 5,
47
- "religion": 6,
48
- "technology": 7,
49
- "culture": 8,
50
- "sports": 9,
51
- "education": 10,
52
- "news": 11,
53
- "videogames": 12,
54
- "business": 13,
55
- "geography": 14,
56
- "entertainment": 15,
57
- "nature": 16,
58
- "law": 17,
59
- "history": 18,
60
- "music": 19,
61
- "economics": 20,
62
- "computerscience": 21,
63
- "philosophy": 22},
64
  "layer_norm_eps": 1e-05,
65
  "max_position_embeddings": 514,
66
  "model_type": "roberta",
 
12
  "hidden_size": 768,
13
 
14
  "id2label": {
15
+ "0": "music",
16
+ "1": "mathematics",
17
+ "2": "nature",
18
+ "3": "philosophy",
19
+ "4": "politics",
20
+ "5": "law",
21
+ "6": "foods",
22
+ "7": "culture",
23
+ "8": "science",
24
+ "9": "business",
25
+ "10": "history",
26
+ "11": "videogames",
27
+ "12": "disasters",
28
+ "13": "geography",
29
+ "14": "technology",
30
+ "15": "medicine",
31
+ "16": "economics",
32
+ "17": "entertainment",
33
+ "18": "sports",
34
+ "19": "religion",
35
+ "20": "education",
36
+ "21": "news",
37
+ "22": "computerscience"
38
  },
39
  "initializer_range": 0.02,
40
  "intermediate_size": 3072,
41
  "label2id": {"disasters": 0,
42
+ "music": 1,
43
+ "mathematics": 2,
44
+ "philosophy": 3,
45
+ "politics": 4,
46
+ "law": 5,
47
+ "foods": 6,
48
+ "culture": 7,
49
+ "science": 8,
50
+ "business": 9,
51
+ "history": 10,
52
+ "videogames": 11,
53
+ "disasters": 12,
54
+ "geography": 13,
55
+ "technology": 14,
56
+ "medicine": 15,
57
+ "economics": 16,
58
+ "entertainment": 17,
59
+ "sports": 18,
60
+ "religion": 19,
61
+ "education": 20,
62
+ "news": 21,
63
+ "computerscience": 22},
64
  "layer_norm_eps": 1e-05,
65
  "max_position_embeddings": 514,
66
  "model_type": "roberta",