Add the "max_length" parameter to the Generation configuration.

#2
Files changed (1) hide show
  1. generation_config.json +1 -0
generation_config.json CHANGED
@@ -2,6 +2,7 @@
2
  "_from_model_config": true,
3
  "bos_token_id": 0,
4
  "decoder_start_token_id": 2,
 
5
  "eos_token_id": 2,
6
  "pad_token_id": 1,
7
  "transformers_version": "4.27.0.dev0"
 
2
  "_from_model_config": true,
3
  "bos_token_id": 0,
4
  "decoder_start_token_id": 2,
5
+ "max_length": 200,
6
  "eos_token_id": 2,
7
  "pad_token_id": 1,
8
  "transformers_version": "4.27.0.dev0"