mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-02 13:40:48 +08:00
Fix max_tokens (#1148)
This commit is contained in:

committed by
Billel Mokeddem

parent
64781fddf1
commit
b83a73049d
@@ -79,7 +79,7 @@ def main():
|
|||||||
model,
|
model,
|
||||||
tokenizer,
|
tokenizer,
|
||||||
prompt,
|
prompt,
|
||||||
args.max_tokens,
|
max_tokens=args.max_tokens,
|
||||||
sampler=make_sampler(args.temp, args.top_p),
|
sampler=make_sampler(args.temp, args.top_p),
|
||||||
prompt_cache=prompt_cache,
|
prompt_cache=prompt_cache,
|
||||||
):
|
):
|
||||||
|
Reference in New Issue
Block a user