MrFitzmaurice commited on
Commit
fdf8913
1 Parent(s): f446778

Update config for correct labels

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