MrFitzmaurice commited on
Commit
3768d38
1 Parent(s): 86de6a6

Updated labels

Browse files
Files changed (1) hide show
  1. config.json +47 -48
config.json CHANGED
@@ -10,58 +10,57 @@
10
  "hidden_act": "gelu",
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",
 
10
  "hidden_act": "gelu",
11
  "hidden_dropout_prob": 0.1,
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",