ArthurZ HF staff commited on
Commit
fceae1b
1 Parent(s): 7f6255b

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +4 -8
config.json CHANGED
@@ -13,8 +13,7 @@
13
  "hidden_act": "gelu",
14
  "hidden_dropout_prob": 0.1,
15
  "hidden_size": 768,
16
- "id2label": [
17
- {
18
  "0": "mainland China politics",
19
  "1": "Hong Kong - Macau politics",
20
  "2": "International news",
@@ -22,12 +21,10 @@
22
  "4": "culture",
23
  "5": "entertainment",
24
  "6": "sports"
25
- }
26
- ],
27
  "initializer_range": 0.02,
28
  "intermediate_size": 3072,
29
- "label2id": [
30
- {
31
  "Hong Kong - Macau politics": 1,
32
  "International news": 2,
33
  "culture": 4,
@@ -35,8 +32,7 @@
35
  "financial news": 3,
36
  "mainland China politics": 0,
37
  "sports": 6
38
- }
39
- ],
40
  "layer_norm_eps": 1e-12,
41
  "max_position_embeddings": 512,
42
  "model_type": "roc_bert",
 
13
  "hidden_act": "gelu",
14
  "hidden_dropout_prob": 0.1,
15
  "hidden_size": 768,
16
+ "id2label": {
 
17
  "0": "mainland China politics",
18
  "1": "Hong Kong - Macau politics",
19
  "2": "International news",
 
21
  "4": "culture",
22
  "5": "entertainment",
23
  "6": "sports"
24
+ },
 
25
  "initializer_range": 0.02,
26
  "intermediate_size": 3072,
27
+ "label2id": {
 
28
  "Hong Kong - Macau politics": 1,
29
  "International news": 2,
30
  "culture": 4,
 
32
  "financial news": 3,
33
  "mainland China politics": 0,
34
  "sports": 6
35
+ },
 
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
38
  "model_type": "roc_bert",