m2m100-12B-last-ckpt / generation_config.json
tomsherborne's picture
Add the "max_length" parameter to the Generation configuration.
bfe20d3
raw
history blame
189 Bytes
{
"_from_model_config": true,
"bos_token_id": 0,
"decoder_start_token_id": 2,
"max_length": 200,
"eos_token_id": 2,
"pad_token_id": 1,
"transformers_version": "4.27.0.dev0"
}