Correct api-example-stream custom_stopping_strings type

This commit is contained in:
v0xie 2023-04-17 16:10:55 -07:00
parent 7ff2cc8316
commit bc2d02a898

View File

@ -42,7 +42,7 @@ async def run(context):
'early_stopping': False, 'early_stopping': False,
'seed': -1, 'seed': -1,
'add_bos_token': True, 'add_bos_token': True,
'custom_stopping_strings': [], 'custom_stopping_strings': '',
'truncation_length': 2048, 'truncation_length': 2048,
'ban_eos_token': False, 'ban_eos_token': False,
'skip_special_tokens': True, 'skip_special_tokens': True,