danbev commited on
Commit
e789f73
·
unverified ·
1 Parent(s): 5e8b0f0

docs : add VAD model download instructions [no ci] (#3180)

Browse files
Files changed (1) hide show
  1. README.md +26 -1
README.md CHANGED
@@ -751,7 +751,32 @@ The following VAD models are currently supported:
751
  [Silero-vad](https://github.com/snakers4/silero-vad) is a lightweight VAD model
752
  written in Python that is fast and accurate.
753
 
754
- This model can be converted to ggml using the following command:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
755
  ```console
756
  $ python3 -m venv venv && source venv/bin/activate
757
  $ (venv) pip install silero-vad
 
751
  [Silero-vad](https://github.com/snakers4/silero-vad) is a lightweight VAD model
752
  written in Python that is fast and accurate.
753
 
754
+ Models can be downloaded by running the following command on Linux or MacOS:
755
+ ```console
756
+ $ ./models/download-vad-model.sh silero-v5.1.2
757
+ Downloading ggml model silero-v5.1.2 from 'https://huggingface.co/ggml-org/whisper-vad' ...
758
+ ggml-silero-v5.1.2.bin 100%[==============================================>] 864.35K --.-KB/s in 0.04s
759
+ Done! Model 'silero-v5.1.2' saved in '/path/models/ggml-silero-v5.1.2.bin'
760
+ You can now use it like this:
761
+
762
+ $ ./build/bin/whisper-cli -vm /path/models/ggml-silero-v5.1.2.bin --vad -f samples/jfk.wav -m models/ggml-base.en.bin
763
+
764
+ ```
765
+ And the following command on Windows:
766
+ ```console
767
+ > .\models\download-vad-model.cmd silero-v5.1.2
768
+ Downloading vad model silero-v5.1.2...
769
+ Done! Model silero-v5.1.2 saved in C:\Users\danie\work\ai\whisper.cpp\ggml-silero-v5.1.2.bin
770
+ You can now use it like this:
771
+
772
+ C:\path\build\bin\Release\whisper-cli.exe -vm C:\path\ggml-silero-v5.1.2.bin --vad -m models/ggml-base.en.bin -f samples\jfk.wav
773
+
774
+ ```
775
+
776
+ To see a list of all available models, run the above commands without any
777
+ arguments.
778
+
779
+ This model can be also be converted manually to ggml using the following command:
780
  ```console
781
  $ python3 -m venv venv && source venv/bin/activate
782
  $ (venv) pip install silero-vad