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