From 23f0e37315af444e416739a191dfbe69da96fdf0 Mon Sep 17 00:00:00 2001 From: "chengzhi.mu" Date: Sat, 21 Jun 2025 10:54:31 +0800 Subject: [PATCH 1/2] vad: unify model download path --- models/convert-silero-vad-to-ggml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/convert-silero-vad-to-ggml.py b/models/convert-silero-vad-to-ggml.py index 078131c91b3..9d3afd4c3d8 100644 --- a/models/convert-silero-vad-to-ggml.py +++ b/models/convert-silero-vad-to-ggml.py @@ -20,7 +20,7 @@ def convert_silero_vad(output_path, print_tensors=True): cleaned_dict[clean_key] = value base, ext = os.path.splitext(output_path) - output_file = f"{base}-v{silero_version}-ggml{ext}" + output_file = f"ggml-{base}-v{silero_version}{ext}" print(f"Saving GGML Silero-VAD model to {output_file}") print("\nTensor info for debugging:") From e7070cb78e7b8df815df8bc5fb15006b45ba0c01 Mon Sep 17 00:00:00 2001 From: "chengzhi.mu" Date: Sat, 21 Jun 2025 10:55:03 +0800 Subject: [PATCH 2/2] chore: update vad model path --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0298818cc24..bc0bae91b74 100644 --- a/README.md +++ b/README.md @@ -781,7 +781,7 @@ This model can be also be converted manually to ggml using the following command $ python3 -m venv venv && source venv/bin/activate $ (venv) pip install silero-vad $ (venv) $ python models/convert-silero-vad-to-ggml.py --output models/silero.bin -Saving GGML Silero-VAD model to models/silero-v5.1.2-ggml.bin +Saving GGML Silero-VAD model to models/ggml-silero-v5.1.2.bin ``` And it can then be used with whisper as follows: ```console @@ -789,7 +789,7 @@ $ ./build/bin/whisper-cli \ --file ./samples/jfk.wav \ --model ./models/ggml-base.en.bin \ --vad \ - --vad-model ./models/silero-v5.1.2-ggml.bin + --vad-model ./models/ggml-silero-v5.1.2.bin ``` ### VAD Options