Skip to content

Commit b50f19c

Browse files
authored
Fix the new stop_token_ids argument (#1558)
We forgot the default somewhere
1 parent 1c0c02a commit b50f19c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keras_nlp/models/causal_lm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ def generate(
299299
self,
300300
inputs,
301301
max_length=None,
302-
stop_token_ids=None,
302+
stop_token_ids="auto",
303303
):
304304
"""Generate text given prompt `inputs`.
305305

0 commit comments

Comments
 (0)