Adding generation config file(s)

This commit is contained in:
Joao Gante 2023-01-24 16:42:49 +00:00 committed by huggingface-web
parent c4455b515a
commit 8d8ffc158a
1 changed files with 12 additions and 0 deletions

12
generation_config.json Normal file
View File

@ -0,0 +1,12 @@
{
"_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.6,
"max_length": 64,
"num_beams": 8,
"pad_token_id": 0,
"transformers_version": "4.27.0.dev0"
}