We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623a9a6 commit 82f8713Copy full SHA for 82f8713
examples/models/llama/runner/eager.py
@@ -91,10 +91,11 @@ def main() -> None:
91
else runner.text_completion(
92
prompt=args.prompt,
93
temperature=args.temperature,
94
+ echo=True,
95
)
96
97
if args.show_tokens:
- print(f"Tokens: {generated_tokens}")
98
+ print(f"Generated {len(generated_tokens)} tokens: {generated_tokens}")
99
100
101
if __name__ == "__main__":
0 commit comments