Spaces:
Running
Running
Adam Jones
commited on
docs: Fix main -> whisper-cli in download scripts (#2707)
Browse files- models/README.md +1 -1
- models/download-coreml-model.sh +1 -1
- models/download-ggml-model.cmd +1 -1
- models/download-ggml-model.sh +1 -1
models/README.md
CHANGED
|
@@ -17,7 +17,7 @@ models/ggml-base.en.bin 100%[==========================================
|
|
| 17 |
Done! Model 'base.en' saved in 'models/ggml-base.en.bin'
|
| 18 |
You can now use it like this:
|
| 19 |
|
| 20 |
-
$ ./
|
| 21 |
```
|
| 22 |
|
| 23 |
### 2. Manually download pre-converted models
|
|
|
|
| 17 |
Done! Model 'base.en' saved in 'models/ggml-base.en.bin'
|
| 18 |
You can now use it like this:
|
| 19 |
|
| 20 |
+
$ ./build/bin/whisper-cli -m models/ggml-base.en.bin -f samples/jfk.wav
|
| 21 |
```
|
| 22 |
|
| 23 |
### 2. Manually download pre-converted models
|
models/download-coreml-model.sh
CHANGED
|
@@ -81,5 +81,5 @@ printf "Done! Model '%s' saved in 'models/ggml-%s.mlmodel'\n" "$model" "$model"
|
|
| 81 |
printf "Run the following command to compile it:\n\n"
|
| 82 |
printf " $ xcrun coremlc compile ./models/ggml-%s.mlmodel ./models\n\n" "$model"
|
| 83 |
printf "You can now use it like this:\n\n"
|
| 84 |
-
printf " $ ./
|
| 85 |
printf "\n"
|
|
|
|
| 81 |
printf "Run the following command to compile it:\n\n"
|
| 82 |
printf " $ xcrun coremlc compile ./models/ggml-%s.mlmodel ./models\n\n" "$model"
|
| 83 |
printf "You can now use it like this:\n\n"
|
| 84 |
+
printf " $ ./build/bin/whisper-cli -m models/ggml-%s.bin -f samples/jfk.wav\n" "$model"
|
| 85 |
printf "\n"
|
models/download-ggml-model.cmd
CHANGED
|
@@ -50,7 +50,7 @@ if %ERRORLEVEL% neq 0 (
|
|
| 50 |
|
| 51 |
echo Done! Model %model% saved in %root_path%\models\ggml-%model%.bin
|
| 52 |
echo You can now use it like this:
|
| 53 |
-
echo
|
| 54 |
|
| 55 |
goto :eof
|
| 56 |
|
|
|
|
| 50 |
|
| 51 |
echo Done! Model %model% saved in %root_path%\models\ggml-%model%.bin
|
| 52 |
echo You can now use it like this:
|
| 53 |
+
echo build\bin\Release\whisper-cli.exe -m %root_path%\models\ggml-%model%.bin -f %root_path%\samples\jfk.wav
|
| 54 |
|
| 55 |
goto :eof
|
| 56 |
|
models/download-ggml-model.sh
CHANGED
|
@@ -128,5 +128,5 @@ fi
|
|
| 128 |
|
| 129 |
printf "Done! Model '%s' saved in '%s/ggml-%s.bin'\n" "$model" "$models_path" "$model"
|
| 130 |
printf "You can now use it like this:\n\n"
|
| 131 |
-
printf " $ ./
|
| 132 |
printf "\n"
|
|
|
|
| 128 |
|
| 129 |
printf "Done! Model '%s' saved in '%s/ggml-%s.bin'\n" "$model" "$models_path" "$model"
|
| 130 |
printf "You can now use it like this:\n\n"
|
| 131 |
+
printf " $ ./build/bin/whisper-cli -m %s/ggml-%s.bin -f samples/jfk.wav\n" "$models_path" "$model"
|
| 132 |
printf "\n"
|