From bc2d02a898f90dc53f59f8f6dc7b032b62ab3adf Mon Sep 17 00:00:00 2001 From: v0xie Date: Mon, 17 Apr 2023 16:10:55 -0700 Subject: [PATCH] Correct api-example-stream custom_stopping_strings type --- api-example-stream.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-example-stream.py b/api-example-stream.py index a046fabd..57c6d6e6 100644 --- a/api-example-stream.py +++ b/api-example-stream.py @@ -42,7 +42,7 @@ async def run(context): 'early_stopping': False, 'seed': -1, 'add_bos_token': True, - 'custom_stopping_strings': [], + 'custom_stopping_strings': '', 'truncation_length': 2048, 'ban_eos_token': False, 'skip_special_tokens': True,