shovan commited on
Commit
f24744f
·
1 Parent(s): 621aed7

Update label from category id to category strings.

Browse files
Files changed (1) hide show
  1. config.json +26 -26
config.json CHANGED
@@ -9,36 +9,36 @@
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
- "0": "LABEL_0",
13
- "1": "LABEL_1",
14
- "2": "LABEL_2",
15
- "3": "LABEL_3",
16
- "4": "LABEL_4",
17
- "5": "LABEL_5",
18
- "6": "LABEL_6",
19
- "7": "LABEL_7",
20
- "8": "LABEL_8",
21
- "9": "LABEL_9",
22
- "10": "LABEL_10",
23
- "11": "LABEL_11",
24
- "12": "LABEL_12"
25
  },
26
  "initializer_range": 0.02,
27
  "intermediate_size": 3072,
28
  "label2id": {
29
- "LABEL_0": 0,
30
- "LABEL_1": 1,
31
- "LABEL_10": 10,
32
- "LABEL_11": 11,
33
- "LABEL_12": 12,
34
- "LABEL_2": 2,
35
- "LABEL_3": 3,
36
- "LABEL_4": 4,
37
- "LABEL_5": 5,
38
- "LABEL_6": 6,
39
- "LABEL_7": 7,
40
- "LABEL_8": 8,
41
- "LABEL_9": 9
42
  },
43
  "layer_norm_eps": 1e-12,
44
  "max_position_embeddings": 512,
 
9
  "hidden_dropout_prob": 0.1,
10
  "hidden_size": 768,
11
  "id2label": {
12
+ "0": "Education",
13
+ "1": "World",
14
+ "2": "Sports",
15
+ "3": "Technology",
16
+ "4": "Crime",
17
+ "5": "Health",
18
+ "6": "Market",
19
+ "7": "Politics",
20
+ "8": "Automobile",
21
+ "9": "Tourism",
22
+ "10": "Literature",
23
+ "11": "Entertainment",
24
+ "12": "Business"
25
  },
26
  "initializer_range": 0.02,
27
  "intermediate_size": 3072,
28
  "label2id": {
29
+ "Education": 0,
30
+ "World": 1,
31
+ "Literature": 10,
32
+ "Entertainment": 11,
33
+ "Business": 12,
34
+ "Sports": 2,
35
+ "Technology": 3,
36
+ "Crime": 4,
37
+ "Health": 5,
38
+ "Market": 6,
39
+ "Politics": 7,
40
+ "Automobile": 8,
41
+ "Tourism": 9
42
  },
43
  "layer_norm_eps": 1e-12,
44
  "max_position_embeddings": 512,