mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
fix renamed arg (#140)
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user