Gen config fix
Browse files- generation_config.json +5 -0
generation_config.json
CHANGED
@@ -3,5 +3,10 @@
|
|
3 |
"decoder_start_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
|
|
|
|
|
|
|
|
|
|
6 |
"transformers_version": "4.28.0.dev0"
|
7 |
}
|
|
|
3 |
"decoder_start_token_id": 1,
|
4 |
"eos_token_id": 2,
|
5 |
"pad_token_id": 0,
|
6 |
+
"num_beams": 5,
|
7 |
+
"max_length": 512,
|
8 |
+
"top_p": 0.9,
|
9 |
+
"do_sample": true,
|
10 |
+
"no_repeat_ngram_size": 4,
|
11 |
"transformers_version": "4.28.0.dev0"
|
12 |
}
|