phanerozoic commited on
Commit
c0a92ad
·
verified ·
1 Parent(s): 3c15e68

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +19 -19
config.json CHANGED
@@ -10,28 +10,28 @@
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
- "7": "B-MISC",
21
- "8": "I-MISC"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
- "O": 0,
27
- "B-PER": 1,
28
- "I-PER": 2,
29
- "B-ORG": 3,
30
- "I-ORG": 4,
31
- "B-LOC": 5,
32
- "I-LOC": 6,
33
- "B-MISC": 7,
34
- "I-MISC": 8
35
  },
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
@@ -45,4 +45,4 @@
45
  "type_vocab_size": 2,
46
  "use_cache": true,
47
  "vocab_size": 30522
48
- }
 
10
  "hidden_dropout_prob": 0.1,
11
  "hidden_size": 768,
12
  "id2label": {
13
+ "0": "PERSON",
14
+ "1": "ORG",
15
+ "2": "LOC",
16
+ "3": "DATE",
17
+ "4": "TIME",
18
+ "5": "MONEY",
19
+ "6": "PERCENT",
20
+ "7": "EVENT",
21
+ "8": "OTHER"
22
  },
23
  "initializer_range": 0.02,
24
  "intermediate_size": 3072,
25
  "label2id": {
26
+ "PERSON": 0,
27
+ "ORG": 1,
28
+ "LOC": 2,
29
+ "DATE": 3,
30
+ "TIME": 4,
31
+ "MONEY": 5,
32
+ "PERCENT": 6,
33
+ "EVENT": 7,
34
+ "OTHER": 8
35
  },
36
  "layer_norm_eps": 1e-12,
37
  "max_position_embeddings": 512,
 
45
  "type_vocab_size": 2,
46
  "use_cache": true,
47
  "vocab_size": 30522
48
+ }