fix to use actual prompt (#227)

This commit is contained in:
Awni Hannun
2024-01-04 11:12:05 -08:00
committed by GitHub
parent a9ee883bf7
commit 7e7b817ddf

View File

@@ -16,7 +16,7 @@ def generate(
temp: float = 0.0,
):
prompt = tokenizer(
args.prompt,
prompt,
return_tensors="np",
return_attention_mask=False,
)[