phanerozoic
commited on
Update config.json
Browse files- config.json +11 -5
config.json
CHANGED
@@ -1,6 +1,8 @@
|
|
1 |
{
|
2 |
"_name_or_path": "bert-base-uncased",
|
3 |
-
"architectures": [
|
|
|
|
|
4 |
"attention_probs_dropout_prob": 0.1,
|
5 |
"classifier_dropout": null,
|
6 |
"gradient_checkpointing": false,
|
@@ -8,24 +10,28 @@
|
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
-
"0": "
|
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 |
-
"
|
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,
|
|
|
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 |
"hidden_dropout_prob": 0.1,
|
11 |
"hidden_size": 768,
|
12 |
"id2label": {
|
13 |
+
"0": "0",
|
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 |
+
"0": 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,
|