set `renormalize_logits=True` for better performance (see `transformers` issue #4290)
Browse files- generation_config.json +2 -2
generation_config.json
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
{
|
2 |
-
"_from_model_config": true,
|
3 |
"bad_words_ids": [
|
4 |
[
|
5 |
59953
|
@@ -12,5 +11,6 @@
|
|
12 |
"max_length": 512,
|
13 |
"num_beams": 6,
|
14 |
"pad_token_id": 59953,
|
15 |
-
"
|
|
|
16 |
}
|
|
|
1 |
{
|
|
|
2 |
"bad_words_ids": [
|
3 |
[
|
4 |
59953
|
|
|
11 |
"max_length": 512,
|
12 |
"num_beams": 6,
|
13 |
"pad_token_id": 59953,
|
14 |
+
"renormalize_logits": true,
|
15 |
+
"transformers_version": "4.32.0.dev0"
|
16 |
}
|