Adding generation config file(s)

This commit is contained in:
Joao Gante 2023-01-24 16:42:26 +00:00 committed by huggingface-web
parent 811b08dd23
commit 40d588fdab
1 changed files with 13 additions and 0 deletions

13
generation_config.json Normal file
View File

@ -0,0 +1,13 @@
{
"_from_model_config": true,
"bos_token_id": 0,
"decoder_start_token_id": 0,
"eos_token_id": 1,
"forced_eos_token_id": 1,
"length_penalty": 0.8,
"max_length": 128,
"min_length": 32,
"num_beams": 8,
"pad_token_id": 0,
"transformers_version": "4.27.0.dev0"
}