José Ángel González
commited on
Commit
•
c08b1b7
1
Parent(s):
cb46ff9
Update config.json
Browse files- config.json +10 -0
config.json
CHANGED
@@ -34,6 +34,16 @@
|
|
34 |
"LABEL_1": 1,
|
35 |
"LABEL_2": 2
|
36 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
"mask_sent_token_id": 6,
|
38 |
"mask_token_id": 5,
|
39 |
"max_position_embeddings": 512,
|
|
|
34 |
"LABEL_1": 1,
|
35 |
"LABEL_2": 2
|
36 |
},
|
37 |
+
"task_specific_params": {
|
38 |
+
"summarization": {
|
39 |
+
"early_stopping": true,
|
40 |
+
"length_penalty": 2.0,
|
41 |
+
"max_length": 150,
|
42 |
+
"min_length": 25,
|
43 |
+
"no_repeat_ngram_size": 3,
|
44 |
+
"num_beams": 4
|
45 |
+
}
|
46 |
+
},
|
47 |
"mask_sent_token_id": 6,
|
48 |
"mask_token_id": 5,
|
49 |
"max_position_embeddings": 512,
|