Adding generation config file(s)

This commit is contained in:
Joao Gante 2023-01-24 15:02:39 +00:00 committed by huggingface-web
parent 0bb2f7f768
commit 259537ef00
1 changed files with 16 additions and 0 deletions

16
generation_config.json Normal file
View File

@ -0,0 +1,16 @@
{
"_from_model_config": true,
"bad_words_ids": [
[
59513
]
],
"bos_token_id": 0,
"decoder_start_token_id": 59513,
"eos_token_id": 0,
"forced_eos_token_id": 0,
"max_length": 512,
"num_beams": 4,
"pad_token_id": 59513,
"transformers_version": "4.27.0.dev0"
}