Skip to content

Commit

Permalink
format file
Browse files Browse the repository at this point in the history
Signed-off-by: waleedqk <[email protected]>
  • Loading branch information
waleedqk committed Aug 1, 2024
1 parent 12eeab2 commit 842bba3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion caikit_nlp/toolkit/text_generation/tgis_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ def validate_inf_params(
error.type_check("<NLP65883540E>", bool, token_logprobs=token_logprobs)
error.type_check("<NLP65883541E>", bool, token_ranks=token_ranks)
error.type_check(
"<NLP65883542E>", bool, allow_none=True, include_stop_sequence=include_stop_sequence
"<NLP65883542E>",
bool,
allow_none=True,
include_stop_sequence=include_stop_sequence,
)
error.type_check("<NLP85452188E>", str, allow_none=True, eos_token=eos_token)
error.type_check(
Expand Down

0 comments on commit 842bba3

Please sign in to comment.