lhoestq HF staff commited on
Commit
898677c
1 Parent(s): 407371c

Update id2label and label2id

Browse files
Files changed (1) hide show
  1. config.json +14 -14
config.json CHANGED
@@ -15,25 +15,25 @@
15
  "hidden_dropout_prob": 0,
16
  "hidden_size": 1024,
17
  "id2label": {
18
- "0": "0",
19
- "1": "1",
20
- "2": "2",
21
- "3": "3",
22
- "4": "4",
23
- "5": "5",
24
- "6": "6"
25
  },
26
  "initializer_range": 0.02,
27
  "inner_group_num": 1,
28
  "intermediate_size": 4096,
29
  "label2id": {
30
- "0": 0,
31
- "1": 1,
32
- "2": 2,
33
- "3": 3,
34
- "4": 4,
35
- "5": 5,
36
- "6": 6
37
  },
38
  "layer_norm_eps": 1e-12,
39
  "max_length": 128,
 
15
  "hidden_dropout_prob": 0,
16
  "hidden_size": 1024,
17
  "id2label": {
18
+ "0": "O",
19
+ "1": "B-PER",
20
+ "2": "I-PER",
21
+ "3": "B-ORG",
22
+ "4": "I-ORG",
23
+ "5": "B-LOC",
24
+ "6": "I-LOC"
25
  },
26
  "initializer_range": 0.02,
27
  "inner_group_num": 1,
28
  "intermediate_size": 4096,
29
  "label2id": {
30
+ "O": 0,
31
+ "B-PER": 1,
32
+ "I-PER": 2,
33
+ "B-ORG": 3,
34
+ "I-ORG": 4,
35
+ "B-LOC": 5,
36
+ "I-LOC": 6
37
  },
38
  "layer_norm_eps": 1e-12,
39
  "max_length": 128,