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 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:")