Skip to content

Commit

Permalink
run dsi
Browse files Browse the repository at this point in the history
  • Loading branch information
keyboardAnt committed Sep 13, 2024
1 parent cd78e10 commit e5dc4fb
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions poc/dsi.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,16 +828,16 @@ def generate(model_name: str, prompt: str, max_new_tokens: int) -> str:
### Response:
"""

# asyncio.run(
# run(
# verifier_name=verifier_name,
# drafter_name=drafter_name,
# vocab_size=vocab_size,
# lookahead=lookahead,
# prompt=prompt,
# max_new_tokens=max_new_tokens,
# )
# )
print(generate(model_name=verifier_name, prompt=prompt, max_new_tokens=max_new_tokens))
asyncio.run(
run(
verifier_name=verifier_name,
drafter_name=drafter_name,
vocab_size=vocab_size,
lookahead=lookahead,
prompt=prompt,
max_new_tokens=max_new_tokens,
)
)
# print(generate(model_name=verifier_name, prompt=prompt, max_new_tokens=max_new_tokens))

print("Script completed")

0 comments on commit e5dc4fb

Please sign in to comment.