mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-06-25 01:41:19 +08:00
fix to use actual prompt (#227)
This commit is contained in:
parent
f95cf30a31
commit
e14afb3e77
@ -16,7 +16,7 @@ def generate(
|
||||
temp: float = 0.0,
|
||||
):
|
||||
prompt = tokenizer(
|
||||
args.prompt,
|
||||
prompt,
|
||||
return_tensors="np",
|
||||
return_attention_mask=False,
|
||||
)[
|
||||
|
Loading…
Reference in New Issue
Block a user