phanerozoic commited on
Commit
43db742
·
verified ·
1 Parent(s): cf3b52c

Update config.json

Browse files
Files changed (1) hide show
  1. config.json +15 -21
config.json CHANGED
@@ -1,8 +1,6 @@
1
  {
2
  "_name_or_path": "bert-base-uncased",
3
- "architectures": [
4
- "BertForTokenClassification"
5
- ],
6
  "attention_probs_dropout_prob": 0.1,
7
  "classifier_dropout": null,
8
  "gradient_checkpointing": false,
@@ -10,28 +8,24 @@
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,
 
1
  {
2
  "_name_or_path": "bert-base-uncased",
3
+ "architectures": ["BertForTokenClassification"],
 
 
4
  "attention_probs_dropout_prob": 0.1,
5
  "classifier_dropout": null,
6
  "gradient_checkpointing": false,
 
8
  "hidden_dropout_prob": 0.1,
9
  "hidden_size": 768,
10
  "id2label": {
11
+ "0": "O",
12
+ "1": "B-PER",
13
+ "2": "I-PER",
14
+ "3": "B-ORG",
15
+ "4": "I-ORG",
16
+ "5": "B-LOC",
17
+ "6": "I-LOC"
 
 
18
  },
19
  "initializer_range": 0.02,
20
  "intermediate_size": 3072,
21
  "label2id": {
22
+ "O": 0,
23
+ "B-PER": 1,
24
+ "I-PER": 2,
25
+ "B-ORG": 3,
26
+ "I-ORG": 4,
27
+ "B-LOC": 5,
28
+ "I-LOC": 6
 
 
29
  },
30
  "layer_norm_eps": 1e-12,
31
  "max_position_embeddings": 512,