whisper icon indicating copy to clipboard operation
whisper copied to clipboard

Bugfix: Illogical "Avoid computing higher temperatures on no_speech"

Open Purfview opened this issue 6 months ago • 7 comments

Bugfix for https://github.com/openai/whisper/pull/1279

The bug: It's "silence" when decoding has failed due to compression_ratio_threshold [+no_speech_threshold] in https://github.com/openai/whisper/pull/1279, when further down the code it's not "silence" anymore.

"Silence" should be only when decoding has failed due to logprob_threshold [+no_speech_threshold].

Like described there: https://github.com/openai/whisper/blob/8bc8860694949db53c42ba47ddc23786c2e02a8b/whisper/transcribe.py#L421

And in code there: https://github.com/openai/whisper/blob/8bc8860694949db53c42ba47ddc23786c2e02a8b/whisper/transcribe.py#L243-L251

Purfview avatar Dec 17 '23 05:12 Purfview