mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-09-01 04:14:38 +08:00
fix to use actual prompt
This commit is contained in:
@@ -16,7 +16,7 @@ def generate(
|
||||
temp: float = 0.0,
|
||||
):
|
||||
prompt = tokenizer(
|
||||
args.prompt,
|
||||
prompt,
|
||||
return_tensors="np",
|
||||
return_attention_mask=False,
|
||||
)[
|
||||
|
Reference in New Issue
Block a user