Update config.json
Browse files- config.json +7 -23
config.json
CHANGED
@@ -1,20 +1,15 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"BertForTokenClassification"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
-
"do_sample": false,
|
7 |
-
"finetuning_task": null,
|
8 |
"hidden_act": "gelu",
|
9 |
"hidden_dropout_prob": 0.1,
|
10 |
"hidden_size": 768,
|
11 |
"id2label": {
|
12 |
"0": "O",
|
13 |
"1": "OBJ",
|
14 |
-
"10": "LOC/PRS",
|
15 |
-
"11": "LOC/ORG",
|
16 |
-
"12": "MSR",
|
17 |
-
"13": "EVN",
|
18 |
"2": "TME",
|
19 |
"3": "ORG/PRS",
|
20 |
"4": "OBJ/ORG",
|
@@ -22,11 +17,14 @@
|
|
22 |
"6": "WRK",
|
23 |
"7": "LOC",
|
24 |
"8": "ORG",
|
25 |
-
"9": "PER"
|
|
|
|
|
|
|
|
|
26 |
},
|
27 |
"initializer_range": 0.02,
|
28 |
"intermediate_size": 3072,
|
29 |
-
"is_decoder": false,
|
30 |
"label2id": {
|
31 |
"EVN": 13,
|
32 |
"LOC": 7,
|
@@ -44,26 +42,12 @@
|
|
44 |
"WRK": 6
|
45 |
},
|
46 |
"layer_norm_eps": 1e-12,
|
47 |
-
"length_penalty": 1.0,
|
48 |
-
"max_length": 20,
|
49 |
"max_position_embeddings": 512,
|
50 |
"model_type": "bert",
|
51 |
"num_attention_heads": 12,
|
52 |
-
"num_beams": 1,
|
53 |
"num_hidden_layers": 12,
|
54 |
-
"num_labels": 14,
|
55 |
-
"num_return_sequences": 1,
|
56 |
-
"output_attentions": false,
|
57 |
-
"output_hidden_states": false,
|
58 |
"output_past": true,
|
59 |
"pad_token_id": 0,
|
60 |
-
"pruned_heads": {},
|
61 |
-
"repetition_penalty": 1.0,
|
62 |
-
"temperature": 1.0,
|
63 |
-
"top_k": 50,
|
64 |
-
"top_p": 1.0,
|
65 |
-
"torchscript": false,
|
66 |
"type_vocab_size": 2,
|
67 |
-
"use_bfloat16": false,
|
68 |
"vocab_size": 50325
|
69 |
-
}
|
|
|
1 |
{
|
2 |
+
"_num_labels": 14,
|
3 |
"architectures": [
|
4 |
"BertForTokenClassification"
|
5 |
],
|
6 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
7 |
"hidden_act": "gelu",
|
8 |
"hidden_dropout_prob": 0.1,
|
9 |
"hidden_size": 768,
|
10 |
"id2label": {
|
11 |
"0": "O",
|
12 |
"1": "OBJ",
|
|
|
|
|
|
|
|
|
13 |
"2": "TME",
|
14 |
"3": "ORG/PRS",
|
15 |
"4": "OBJ/ORG",
|
|
|
17 |
"6": "WRK",
|
18 |
"7": "LOC",
|
19 |
"8": "ORG",
|
20 |
+
"9": "PER",
|
21 |
+
"10": "LOC/PRS",
|
22 |
+
"11": "LOC/ORG",
|
23 |
+
"12": "MSR",
|
24 |
+
"13": "EVN"
|
25 |
},
|
26 |
"initializer_range": 0.02,
|
27 |
"intermediate_size": 3072,
|
|
|
28 |
"label2id": {
|
29 |
"EVN": 13,
|
30 |
"LOC": 7,
|
|
|
42 |
"WRK": 6
|
43 |
},
|
44 |
"layer_norm_eps": 1e-12,
|
|
|
|
|
45 |
"max_position_embeddings": 512,
|
46 |
"model_type": "bert",
|
47 |
"num_attention_heads": 12,
|
|
|
48 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
|
|
49 |
"output_past": true,
|
50 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
"type_vocab_size": 2,
|
|
|
52 |
"vocab_size": 50325
|
53 |
+
}
|