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

Silero VAD #51

Open
Trevor-Z opened this issue Oct 3, 2023 · 2 comments
Open

Silero VAD #51

Trevor-Z opened this issue Oct 3, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Trevor-Z
Copy link

Trevor-Z commented Oct 3, 2023

First of all, thanks for this project, it's very easy to set up and run locally.

Transcribing on this webui, the large-v2 model skips the first three sentences in a file I tested, just like what happens over here with the Silero VAD turned off : https://huggingface.co/spaces/aadnk/faster-whisper-webui

I guess the VAD is included here (silero_vad.onnx). Is it on by default? Are there any settings I could tweak?

@jhj0517
Copy link
Owner

jhj0517 commented Oct 3, 2023

Hi @Trevor-Z !
According to faster-whisper, the vad filter (Silero VAD) is turned off by default.
So it's turned off when you just transcribed in this webui.
I may have to add the vad filter options in the Advanced Paramters.

For now, if Whisper doesn't transcribe the first few sentences, it may mean that Whisper recognized them as a "silent" part of the audio.

You can adjust the log_prob_threshold and no_speech_threshold values in the Advanced Parameters tab to adjust how Whisper handles a silent part.
You can see how to use these parameters in the wiki.

@jhj0517 jhj0517 added the enhancement New feature or request label Oct 3, 2023
@Trevor-Z
Copy link
Author

Trevor-Z commented Oct 3, 2023

What's the valid range of values for log_prob_threshold and no_speech_threshold?

Also, is there some way to turn the vad on now? Like changing a parameter in some .py file?

@jhj0517 jhj0517 mentioned this issue May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants