Update generation_config.json
Browse files- generation_config.json +3 -0
generation_config.json
CHANGED
@@ -1,7 +1,10 @@
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
|
|
4 |
"eos_token_id": 1,
|
|
|
|
|
5 |
"pad_token_id": 0,
|
6 |
"transformers_version": "4.36.2"
|
7 |
}
|
|
|
1 |
{
|
2 |
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
4 |
+
"early_stopping": true,
|
5 |
"eos_token_id": 1,
|
6 |
+
"max_length": 370,
|
7 |
+
"num_beams": 4,
|
8 |
"pad_token_id": 0,
|
9 |
"transformers_version": "4.36.2"
|
10 |
}
|