Return failure if probability is too low #416
Unanswered
miesepeter
asked this question in
Q&A
Replies: 1 comment
-
The option If you want to implement some logics based on the log probability, you can read the segment log probability in |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am getting real time spoken user input into my application (short clips under 30 seconds in length). Now sometimes this input cannot be understood (e.g., because of background noise) and faster-whisper just makes up some gibberish. I want to indicate to the user that the input cannot be understood, so that he/she can repeat the input or change the conditions.
Based on the transcribe() method I understand that log_prob_treshold is the setting I am looking for. But I do not understand how a log_prob lower than my threshold could be a condition I can use in my code (as this "failure" info is never returned to me). Am I missing something?
Currently I am using faster-whisper in the following way:
Beta Was this translation helpful? Give feedback.
All reactions