phanerozoic
commited on
Update config.json
Browse files- 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": "
|
14 |
-
"1": "
|
15 |
-
"2": "
|
16 |
-
"3": "
|
17 |
-
"4": "
|
18 |
-
"5": "
|
19 |
-
"6": "
|
20 |
-
"7": "EVENT",
|
21 |
-
"8": "OTHER"
|
22 |
},
|
23 |
"initializer_range": 0.02,
|
24 |
"intermediate_size": 3072,
|
25 |
"label2id": {
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
31 |
-
"
|
32 |
-
"
|
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,
|