Text Classification
Transformers
PyTorch
Safetensors
English
bert
Inference Endpoints
AyoubChLin commited on
Commit
68d3446
1 Parent(s): f53882a

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +19 -18
config.json CHANGED
@@ -9,29 +9,30 @@
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
 
12
  "id2label": {
13
- "0": "LABEL_0",
14
- "1": "LABEL_1",
15
- "2": "LABEL_2",
16
- "3": "LABEL_3",
17
- "4": "LABEL_4",
18
- "5": "LABEL_5",
19
- "6": "LABEL_6",
20
- "7": "LABEL_7",
21
- "8": "LABEL_8"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
- "LABEL_0": 0,
27
- "LABEL_1": 1,
28
- "LABEL_2": 2,
29
- "LABEL_3": 3,
30
- "LABEL_4": 4,
31
- "LABEL_5": 5,
32
- "LABEL_6": 6,
33
- "LABEL_7": 7,
34
- "LABEL_8": 8
35
  },
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
 
9
  "hidden_act": "gelu",
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
+
13
  "id2label": {
14
+ "0": "auto",
15
+ "1": "business",
16
+ "2": "entertainment",
17
+ "3": "health",
18
+ "4": "news",
19
+ "5": "politics",
20
+ "6": "sci/tech",
21
+ "7": "sport",
22
+ "8": "world"
23
  },
24
  "initializer_range": 0.02,
25
  "intermediate_size": 3072,
26
  "label2id": {
27
+ "auto": 0,
28
+ "business": 1,
29
+ "entertainment": 2,
30
+ "health": 3,
31
+ "news": 4,
32
+ "politics": 5,
33
+ "sci/tech": 6,
34
+ "sport": 7,
35
+ "world": 8
36
  },
37
  "layer_norm_eps": 1e-12,
38
  "max_position_embeddings": 512,