Skip to content

Commit

Permalink
Fix the new stop_token_ids argument (#1558)
Browse files Browse the repository at this point in the history
We forgot the default somewhere
  • Loading branch information
mattdangerw authored Apr 6, 2024
1 parent 1c0c02a commit b50f19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion keras_nlp/models/causal_lm.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ def generate(
self,
inputs,
max_length=None,
stop_token_ids=None,
stop_token_ids="auto",
):
"""Generate text given prompt `inputs`.
Expand Down

0 comments on commit b50f19c

Please sign in to comment.