whisper
e334ff14 - Avoid computing higher temperatures on no_speech segments (#1279)

Commit
2 years ago
Avoid computing higher temperatures on no_speech segments (#1279) * Avoid computing higher temperatures on no_speech In decode_with_fallback, we compute higher temperatures in the case where compression_ratio is too high or avg_logprob is too low. But as the computation of no_speech_prob doens't depend on sampling, we can avoid computing higher temperatures if we detect in the first one that the no_speech condition is fulfilled * Update transcribe.py --------- Co-authored-by: Jong Wook Kim <jongwook@openai.com>
Author
Parents
Loading