add generate_config
Browse files- generation_config.json +3 -2
generation_config.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
{
|
2 |
-
"_from_model_config": true,
|
3 |
"decoder_start_token_id": 0,
|
4 |
"eos_token_id": 1,
|
5 |
"pad_token_id": 0,
|
6 |
-
"
|
|
|
|
|
7 |
}
|
|
|
1 |
{
|
|
|
2 |
"decoder_start_token_id": 0,
|
3 |
"eos_token_id": 1,
|
4 |
"pad_token_id": 0,
|
5 |
+
"repetition_penalty": 5.0,
|
6 |
+
"num_beams": 5,
|
7 |
+
"transformers_version": "4.33.0"
|
8 |
}
|