Vicent Ahuir Esteve
commited on
Commit
·
16bc6ad
1
Parent(s):
c123053
Update config.json
Browse files- config.json +18 -2
config.json
CHANGED
@@ -39,12 +39,28 @@
|
|
39 |
"LABEL_1": 1,
|
40 |
"LABEL_2": 2
|
41 |
},
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
"max_position_embeddings": 1024,
|
44 |
"model_type": "mbart",
|
45 |
"normalize_before": true,
|
46 |
"normalize_embedding": true,
|
47 |
-
"num_beams": 5,
|
48 |
"num_hidden_layers": 12,
|
49 |
"output_past": true,
|
50 |
"pad_token_id": 1,
|
|
|
39 |
"LABEL_1": 1,
|
40 |
"LABEL_2": 2
|
41 |
},
|
42 |
+
|
43 |
+
"task_specific_params": {
|
44 |
+
"summarization": {
|
45 |
+
"early_stopping": true,
|
46 |
+
"repetition_penalty": 2.0,
|
47 |
+
"max_length": 150,
|
48 |
+
"min_length": 25,
|
49 |
+
"no_repeat_ngram_size": 3,
|
50 |
+
"num_beams": 4
|
51 |
+
}
|
52 |
+
},
|
53 |
+
"early_stopping": true,
|
54 |
+
"repetition_penalty": 2.0,
|
55 |
+
"max_length": 150,
|
56 |
+
"min_length": 25,
|
57 |
+
"no_repeat_ngram_size": 3,
|
58 |
+
"num_beams": 4,
|
59 |
+
|
60 |
"max_position_embeddings": 1024,
|
61 |
"model_type": "mbart",
|
62 |
"normalize_before": true,
|
63 |
"normalize_embedding": true,
|
|
|
64 |
"num_hidden_layers": 12,
|
65 |
"output_past": true,
|
66 |
"pad_token_id": 1,
|