Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
turboderp committed Jul 24, 2024
2 parents b8a5bcf + 4ad39e0 commit 61e9ae8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/dynamic.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ single completion:
output = generator.generate(
prompt = "Five good reasons to adopt a cat:",
max_new_tokens = 200,
add_bos = True)
add_bos = True,
)

print(output)
Expand Down Expand Up @@ -214,7 +214,7 @@ outputs = generator.generate(
max_new_tokens = 200,
stop_conditions = [tokenizer.eos_token_id],
gen_settings = gen_settings,
add_bos = True)
add_bos = True
)

for o in outputs:
Expand Down Expand Up @@ -287,4 +287,4 @@ depending on the job settings. See the docstring for details.

## To be continued

I may expand on this in the future, maybe with some performance benchmarks or something. Here's a cat: 🐈
I may expand on this in the future, maybe with some performance benchmarks or something. Here's a cat: 🐈

0 comments on commit 61e9ae8

Please sign in to comment.