You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to suppress numeral tokens using whisper-large-v3 model and TensorRT backend, but after changing asr_options["suppress_tokens"] model output was the same. I've looked at the function call stack and their signatures and figured out some strange things on the tensorrt_llm side. For example, tensorrt_llm.GenerationSession.decode takes both SamplingConfig that has bad_words_list attribute and bad_words_list as arguments. In any case, everything points to the fact that the asr_options["suppress_tokens"] argument is ignored under the TRT backend. Am I right or could anyone help me?
The text was updated successfully, but these errors were encountered:
yv0vaa
changed the title
bad_word_list argument for TRT backend
bad_word_list argument for TRT backend is ignored
Aug 1, 2024
I was trying to suppress numeral tokens using whisper-large-v3 model and TensorRT backend, but after changing
asr_options["suppress_tokens"]
model output was the same. I've looked at the function call stack and their signatures and figured out some strange things on the tensorrt_llm side. For example,tensorrt_llm.GenerationSession.decode
takes bothSamplingConfig
that hasbad_words_list
attribute andbad_words_list
as arguments. In any case, everything points to the fact that theasr_options["suppress_tokens"]
argument is ignored under the TRT backend. Am I right or could anyone help me?The text was updated successfully, but these errors were encountered: