14 lines
683 B
Bash
Executable File
14 lines
683 B
Bash
Executable File
#!/bin/bash
|
|
|
|
src="https://huggingface.co/ggerganov/whisper.cpp/resolve/main/ggml"
|
|
cd "$(dirname "$(realpath "$BASH_SOURCE")")"
|
|
|
|
# Whisper models
|
|
for model in "tiny.en" "base.en" "small.en" "medium.en" "large-v2"; do
|
|
test -f ./ggml-$model.bin || wget --quiet --show-progress -O ./ggml-$model.bin "$src-$model.bin"
|
|
done
|
|
|
|
test -f ./ggml-distil-medium.en.bin || wget https://huggingface.co/distil-whisper/distil-medium.en/resolve/main/ggml-medium-32-2.en.bin?download=true -O ./ggml-distil-medium.en.bin
|
|
|
|
test -f ./ggml-distil-large-v2.bin || wget https://huggingface.co/distil-whisper/distil-large-v2/resolve/main/ggml-large-32-2.en.bin?download=true -O ./ggml-distil-large-v2.bin
|