Update config.json
Browse files- config.json +10 -46
config.json
CHANGED
@@ -1,56 +1,20 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
|
4 |
-
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
-
"
|
7 |
-
"
|
8 |
-
"
|
9 |
-
"
|
10 |
-
"early_stopping": false,
|
11 |
"embedding_size": 768,
|
12 |
-
"eos_token_id": null,
|
13 |
-
"finetuning_task": null,
|
14 |
"hidden_act": "gelu",
|
15 |
"hidden_dropout_prob": 0.1,
|
16 |
-
"hidden_size": 768,
|
17 |
-
"id2label": {
|
18 |
-
"0": "LABEL_0",
|
19 |
-
"1": "LABEL_1"
|
20 |
-
},
|
21 |
"initializer_range": 0.02,
|
22 |
-
"intermediate_size": 3072,
|
23 |
-
"is_decoder": false,
|
24 |
-
"is_encoder_decoder": false,
|
25 |
-
"label2id": {
|
26 |
-
"LABEL_0": 0,
|
27 |
-
"LABEL_1": 1
|
28 |
-
},
|
29 |
"layer_norm_eps": 1e-12,
|
30 |
-
"length_penalty": 1.0,
|
31 |
-
"max_length": 20,
|
32 |
"max_position_embeddings": 512,
|
33 |
-
"
|
34 |
-
"model_type": "electra",
|
35 |
-
"no_repeat_ngram_size": 0,
|
36 |
-
"num_attention_heads": 12,
|
37 |
-
"num_beams": 1,
|
38 |
-
"num_hidden_layers": 12,
|
39 |
-
"num_return_sequences": 1,
|
40 |
-
"output_attentions": false,
|
41 |
-
"output_hidden_states": false,
|
42 |
-
"output_past": true,
|
43 |
-
"pad_token_id": 0,
|
44 |
-
"prefix": null,
|
45 |
-
"pruned_heads": {},
|
46 |
-
"repetition_penalty": 1.0,
|
47 |
-
"task_specific_params": null,
|
48 |
-
"temperature": 1.0,
|
49 |
-
"top_k": 50,
|
50 |
-
"top_p": 1.0,
|
51 |
-
"torchscript": false,
|
52 |
"type_vocab_size": 2,
|
53 |
-
"use_bfloat16": false,
|
54 |
"vocab_size": 32200,
|
55 |
-
"
|
56 |
-
}
|
|
|
1 |
{
|
2 |
+
"architectures": [
|
3 |
+
"ElectraForPreTraining"
|
4 |
+
],
|
5 |
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"hidden_size": 768,
|
7 |
+
"intermediate_size": 3072,
|
8 |
+
"num_attention_heads": 12,
|
9 |
+
"num_hidden_layers": 12,
|
|
|
10 |
"embedding_size": 768,
|
|
|
|
|
11 |
"hidden_act": "gelu",
|
12 |
"hidden_dropout_prob": 0.1,
|
|
|
|
|
|
|
|
|
|
|
13 |
"initializer_range": 0.02,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
"layer_norm_eps": 1e-12,
|
|
|
|
|
15 |
"max_position_embeddings": 512,
|
16 |
+
"model_type": "electra",,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
"type_vocab_size": 2,
|
|
|
18 |
"vocab_size": 32200,
|
19 |
+
"pad_token_id": 0
|
20 |
+
}
|