Update config.json
Browse files- config.json +2 -18
config.json
CHANGED
@@ -1,10 +1,9 @@
|
|
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,
|
@@ -17,7 +16,6 @@
|
|
17 |
},
|
18 |
"initializer_range": 0.02,
|
19 |
"intermediate_size": 3072,
|
20 |
-
"is_decoder": false,
|
21 |
"label2id": {
|
22 |
"B-ORG": 0,
|
23 |
"B-PER": 1,
|
@@ -26,26 +24,12 @@
|
|
26 |
"O": 4
|
27 |
},
|
28 |
"layer_norm_eps": 1e-12,
|
29 |
-
"length_penalty": 1.0,
|
30 |
-
"max_length": 20,
|
31 |
"max_position_embeddings": 512,
|
32 |
"model_type": "bert",
|
33 |
"num_attention_heads": 12,
|
34 |
-
"num_beams": 1,
|
35 |
"num_hidden_layers": 12,
|
36 |
-
"num_labels": 5,
|
37 |
-
"num_return_sequences": 1,
|
38 |
-
"output_attentions": false,
|
39 |
-
"output_hidden_states": false,
|
40 |
"output_past": true,
|
41 |
"pad_token_id": 0,
|
42 |
-
"pruned_heads": {},
|
43 |
-
"repetition_penalty": 1.0,
|
44 |
-
"temperature": 1.0,
|
45 |
-
"top_k": 50,
|
46 |
-
"top_p": 1.0,
|
47 |
-
"torchscript": false,
|
48 |
"type_vocab_size": 2,
|
49 |
-
"use_bfloat16": false,
|
50 |
"vocab_size": 31102
|
51 |
-
}
|
|
|
1 |
{
|
2 |
+
"_num_labels": 5,
|
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,
|
|
|
16 |
},
|
17 |
"initializer_range": 0.02,
|
18 |
"intermediate_size": 3072,
|
|
|
19 |
"label2id": {
|
20 |
"B-ORG": 0,
|
21 |
"B-PER": 1,
|
|
|
24 |
"O": 4
|
25 |
},
|
26 |
"layer_norm_eps": 1e-12,
|
|
|
|
|
27 |
"max_position_embeddings": 512,
|
28 |
"model_type": "bert",
|
29 |
"num_attention_heads": 12,
|
|
|
30 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
|
|
31 |
"output_past": true,
|
32 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
"type_vocab_size": 2,
|
|
|
34 |
"vocab_size": 31102
|
35 |
+
}
|