Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bad_word_list argument for TRT backend is ignored #69

Open
yv0vaa opened this issue Aug 1, 2024 · 0 comments
Open

bad_word_list argument for TRT backend is ignored #69

yv0vaa opened this issue Aug 1, 2024 · 0 comments

Comments

@yv0vaa
Copy link

yv0vaa commented 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 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?

@yv0vaa yv0vaa changed the title bad_word_list argument for TRT backend bad_word_list argument for TRT backend is ignored Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant