Update config.json
Browse files- config.json +5 -26
config.json
CHANGED
@@ -3,49 +3,28 @@
|
|
3 |
"AlbertForQuestionAnswering"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
-
"
|
|
|
7 |
"down_scale_factor": 1,
|
8 |
"embedding_size": 128,
|
9 |
-
"
|
10 |
"gap_size": 0,
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
13 |
"hidden_size": 2048,
|
14 |
-
"id2label": {
|
15 |
-
"0": "LABEL_0",
|
16 |
-
"1": "LABEL_1"
|
17 |
-
},
|
18 |
"initializer_range": 0.02,
|
19 |
"inner_group_num": 1,
|
20 |
"intermediate_size": 8192,
|
21 |
-
"is_decoder": false,
|
22 |
-
"label2id": {
|
23 |
-
"LABEL_0": 0,
|
24 |
-
"LABEL_1": 1
|
25 |
-
},
|
26 |
"layer_norm_eps": 1e-12,
|
27 |
-
"length_penalty": 1.0,
|
28 |
-
"max_length": 20,
|
29 |
"max_position_embeddings": 512,
|
|
|
30 |
"net_structure_type": 0,
|
31 |
"num_attention_heads": 16,
|
32 |
-
"num_beams": 1,
|
33 |
"num_hidden_groups": 1,
|
34 |
"num_hidden_layers": 24,
|
35 |
-
"num_labels": 2,
|
36 |
"num_memory_blocks": 0,
|
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": 30000
|
51 |
-
}
|
|
|
3 |
"AlbertForQuestionAnswering"
|
4 |
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"bos_token_id": 2,
|
7 |
+
"classifier_dropout_prob": 0.1,
|
8 |
"down_scale_factor": 1,
|
9 |
"embedding_size": 128,
|
10 |
+
"eos_token_id": 3,
|
11 |
"gap_size": 0,
|
12 |
"hidden_act": "gelu",
|
13 |
"hidden_dropout_prob": 0.1,
|
14 |
"hidden_size": 2048,
|
|
|
|
|
|
|
|
|
15 |
"initializer_range": 0.02,
|
16 |
"inner_group_num": 1,
|
17 |
"intermediate_size": 8192,
|
|
|
|
|
|
|
|
|
|
|
18 |
"layer_norm_eps": 1e-12,
|
|
|
|
|
19 |
"max_position_embeddings": 512,
|
20 |
+
"model_type": "albert",
|
21 |
"net_structure_type": 0,
|
22 |
"num_attention_heads": 16,
|
|
|
23 |
"num_hidden_groups": 1,
|
24 |
"num_hidden_layers": 24,
|
|
|
25 |
"num_memory_blocks": 0,
|
|
|
|
|
|
|
26 |
"output_past": true,
|
27 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
"type_vocab_size": 2,
|
|
|
29 |
"vocab_size": 30000
|
30 |
+
}
|