fix renamed arg

This commit is contained in:
Daniel Strobusch 2023-12-18 19:09:07 +01:00
parent 44b546d446
commit ad91fd073a
No known key found for this signature in database
GPG Key ID: 305FC1B7491BC270

View File

@ -294,7 +294,7 @@ def few_shot_generate(args):
mx.eval(token) mx.eval(token)
prompt_processing = toc("Prompt processing", start) prompt_processing = toc("Prompt processing", start)
if len(tokens) >= args.num_tokens: if len(tokens) >= args.max_tokens:
break break
mx.eval(tokens) mx.eval(tokens)