Fix stopping strings in the gradio API

This commit is contained in:
oobabooga 2023-04-19 13:52:21 -03:00
parent 69d50e2e86
commit 9d9ae62938
2 changed files with 5 additions and 3 deletions

View file

@ -36,10 +36,10 @@ params = {
'early_stopping': False,
'seed': -1,
'add_bos_token': True,
'custom_stopping_strings': [],
'truncation_length': 2048,
'ban_eos_token': False,
'skip_special_tokens': True,
'stopping_strings': [],
}
# Input prompt