Token Classification
Transformers
Safetensors
bert
Inference Endpoints
Xmm commited on
Commit
58a3750
1 Parent(s): b07e637

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +14 -14
config.json CHANGED
@@ -10,24 +10,24 @@
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
  },
21
  "initializer_range": 0.02,
22
  "intermediate_size": 3072,
23
  "label2id": {
24
- "LABEL_0": 0,
25
- "LABEL_1": 1,
26
- "LABEL_2": 2,
27
- "LABEL_3": 3,
28
- "LABEL_4": 4,
29
- "LABEL_5": 5,
30
- "LABEL_6": 6
31
  },
32
  "layer_norm_eps": 1e-12,
33
  "max_position_embeddings": 512,
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "O",
14
+ "1": "B-PER",
15
+ "2": "I-PER",
16
+ "3": "B-ORG",
17
+ "4": "I-ORG",
18
+ "5": "B-LOC",
19
+ "6": "I-LOC"
20
  },
21
  "initializer_range": 0.02,
22
  "intermediate_size": 3072,
23
  "label2id": {
24
+ "O": 0,
25
+ "B-PER": 1,
26
+ "I-PER": 2,
27
+ "B-ORG": 3,
28
+ "I-ORG": 4,
29
+ "B-LOC": 5,
30
+ "I-LOC": 6
31
  },
32
  "layer_norm_eps": 1e-12,
33
  "max_position_embeddings": 512,