]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commitdiff
docs: Fix main -> whisper-cli in download scripts (#2707)
authorAdam Jones <redacted>
Mon, 6 Jan 2025 13:17:57 +0000 (13:17 +0000)
committerGitHub <redacted>
Mon, 6 Jan 2025 13:17:57 +0000 (15:17 +0200)
models/README.md
models/download-coreml-model.sh
models/download-ggml-model.cmd
models/download-ggml-model.sh

index 3f5f4b51e28e83d723c49f24f75a680befade310..8156370f025bcbc4a354ad49249cb8029b1d7d0d 100644 (file)
@@ -17,7 +17,7 @@ models/ggml-base.en.bin          100%[==========================================
 Done! Model 'base.en' saved in 'models/ggml-base.en.bin'
 You can now use it like this:
 
-  $ ./main -m models/ggml-base.en.bin -f samples/jfk.wav
+  $ ./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/jfk.wav
 ```
 
 ### 2. Manually download pre-converted models
index dca26a2067b9fdb023e5d273fd1e534672b6a0f1..3d80ee7d2aea9e3b843f52a0436a138c9e846748 100755 (executable)
@@ -81,5 +81,5 @@ printf "Done! Model '%s' saved in 'models/ggml-%s.mlmodel'\n" "$model" "$model"
 printf "Run the following command to compile it:\n\n"
 printf "  $ xcrun coremlc compile ./models/ggml-%s.mlmodel ./models\n\n" "$model"
 printf "You can now use it like this:\n\n"
-printf "  $ ./main -m models/ggml-%s.bin -f samples/jfk.wav\n" "$model"
+printf "  $ ./build/bin/whisper-cli -m models/ggml-%s.bin -f samples/jfk.wav\n" "$model"
 printf "\n"
index 5d5b3b86267c584e5f389052a854c83a83586e63..f329011deb1c99a1987ca794c13bffc11df0e25b 100644 (file)
@@ -50,7 +50,7 @@ if %ERRORLEVEL% neq 0 (
 
 echo Done! Model %model% saved in %root_path%\models\ggml-%model%.bin
 echo You can now use it like this:
-echo main.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav
+echo build\bin\Release\whisper-cli.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav
 
 goto :eof
 
index 09690ecd49737200972608bc4756f0da2fa059f8..a1aff210780094962dd7c6172c0b6603d93a6889 100755 (executable)
@@ -128,5 +128,5 @@ fi
 
 printf "Done! Model '%s' saved in '%s/ggml-%s.bin'\n" "$model" "$models_path" "$model"
 printf "You can now use it like this:\n\n"
-printf "  $ ./main -m %s/ggml-%s.bin -f samples/jfk.wav\n" "$models_path" "$model"
+printf "  $ ./build/bin/whisper-cli -m %s/ggml-%s.bin -f samples/jfk.wav\n" "$models_path" "$model"
 printf "\n"