Update config.json
Browse files- config.json +6 -15
config.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
{
|
2 |
"_num_labels": 3,
|
3 |
"activation_dropout": 0.0,
|
4 |
-
"
|
|
|
5 |
"attention_dropout": 0.0,
|
6 |
"bos_token_id": 0,
|
7 |
"classif_dropout": 0.0,
|
@@ -11,21 +12,19 @@
|
|
11 |
"decoder_layerdrop": 0.0,
|
12 |
"decoder_layers": 12,
|
13 |
"decoder_start_token_id": 2,
|
14 |
-
"do_sample": false,
|
15 |
"dropout": 0.1,
|
16 |
"early_stopping": true,
|
17 |
"encoder_attention_heads": 16,
|
18 |
"encoder_ffn_dim": 4096,
|
19 |
"encoder_layerdrop": 0.0,
|
20 |
"encoder_layers": 12,
|
21 |
-
"
|
22 |
"id2label": {
|
23 |
"0": "LABEL_0",
|
24 |
"1": "LABEL_1",
|
25 |
"2": "LABEL_2"
|
26 |
},
|
27 |
"init_std": 0.02,
|
28 |
-
"is_decoder": false,
|
29 |
"is_encoder_decoder": true,
|
30 |
"label2id": {
|
31 |
"LABEL_0": 0,
|
@@ -38,16 +37,13 @@
|
|
38 |
"min_length": 56,
|
39 |
"model_type": "bart",
|
40 |
"no_repeat_ngram_size": 3,
|
|
|
41 |
"num_beams": 4,
|
42 |
"num_hidden_layers": 12,
|
43 |
-
"num_return_sequences": 1,
|
44 |
-
"output_attentions": false,
|
45 |
-
"output_hidden_states": false,
|
46 |
"output_past": true,
|
47 |
"pad_token_id": 1,
|
48 |
"prefix": " ",
|
49 |
-
"
|
50 |
-
"repetition_penalty": 1.0,
|
51 |
"task_specific_params": {
|
52 |
"summarization": {
|
53 |
"early_stopping": true,
|
@@ -58,10 +54,5 @@
|
|
58 |
"num_beams": 4
|
59 |
}
|
60 |
},
|
61 |
-
"temperature": 1.0,
|
62 |
-
"top_k": 50,
|
63 |
-
"top_p": 1.0,
|
64 |
-
"torchscript": false,
|
65 |
-
"use_bfloat16": false,
|
66 |
"vocab_size": 50264
|
67 |
-
}
|
|
|
1 |
{
|
2 |
"_num_labels": 3,
|
3 |
"activation_dropout": 0.0,
|
4 |
+
"activation_function": "gelu",
|
5 |
+
"add_final_layer_norm": false,
|
6 |
"attention_dropout": 0.0,
|
7 |
"bos_token_id": 0,
|
8 |
"classif_dropout": 0.0,
|
|
|
12 |
"decoder_layerdrop": 0.0,
|
13 |
"decoder_layers": 12,
|
14 |
"decoder_start_token_id": 2,
|
|
|
15 |
"dropout": 0.1,
|
16 |
"early_stopping": true,
|
17 |
"encoder_attention_heads": 16,
|
18 |
"encoder_ffn_dim": 4096,
|
19 |
"encoder_layerdrop": 0.0,
|
20 |
"encoder_layers": 12,
|
21 |
+
"eos_token_id": 2,
|
22 |
"id2label": {
|
23 |
"0": "LABEL_0",
|
24 |
"1": "LABEL_1",
|
25 |
"2": "LABEL_2"
|
26 |
},
|
27 |
"init_std": 0.02,
|
|
|
28 |
"is_encoder_decoder": true,
|
29 |
"label2id": {
|
30 |
"LABEL_0": 0,
|
|
|
37 |
"min_length": 56,
|
38 |
"model_type": "bart",
|
39 |
"no_repeat_ngram_size": 3,
|
40 |
+
"normalize_before": false,
|
41 |
"num_beams": 4,
|
42 |
"num_hidden_layers": 12,
|
|
|
|
|
|
|
43 |
"output_past": true,
|
44 |
"pad_token_id": 1,
|
45 |
"prefix": " ",
|
46 |
+
"scale_embedding": false,
|
|
|
47 |
"task_specific_params": {
|
48 |
"summarization": {
|
49 |
"early_stopping": true,
|
|
|
54 |
"num_beams": 4
|
55 |
}
|
56 |
},
|
|
|
|
|
|
|
|
|
|
|
57 |
"vocab_size": 50264
|
58 |
+
}
|