files : rename ./extra to ./scripts

This commit is contained in:
Georgi Gerganov 2024-04-09 20:12:17 +03:00
parent 5275074d37
commit 52ccd4a3a8
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735
12 changed files with 7 additions and 7 deletions

View File

@ -744,10 +744,10 @@ https://user-images.githubusercontent.com/1991296/199337538-b7b0c7a3-2753-4a88-a
## Video comparison of different models ## Video comparison of different models
Use the [extra/bench-wts.sh](https://github.com/ggerganov/whisper.cpp/blob/master/extra/bench-wts.sh) script to generate a video in the following format: Use the [scripts/bench-wts.sh](https://github.com/ggerganov/whisper.cpp/blob/master/scripts/bench-wts.sh) script to generate a video in the following format:
```bash ```bash
./extra/bench-wts.sh samples/jfk.wav ./scripts/bench-wts.sh samples/jfk.wav
ffplay ./samples/jfk.wav.all.mp4 ffplay ./samples/jfk.wav.all.mp4
``` ```
@ -768,7 +768,7 @@ Additionally a script to run whisper.cpp with different models and audio files i
You can run it with the following command, by default it will run against any standard model in the models folder. You can run it with the following command, by default it will run against any standard model in the models folder.
```bash ```bash
python3 extra/bench.py -f samples/jfk.wav -t 2,4,8 -p 1,2 python3 scripts/bench.py -f samples/jfk.wav -t 2,4,8 -p 1,2
``` ```
It is written in python with the intention of being easy to modify and extend for your benchmarking use case. It is written in python with the intention of being easy to modify and extend for your benchmarking use case.

View File

@ -4,7 +4,7 @@
# Run from the build directory: # Run from the build directory:
# #
# cd build-em # cd build-em
# ../extra/deploy-wasm.sh # ../scripts/deploy-wasm.sh
# #
# check if emcmake is available # check if emcmake is available

View File

@ -5,7 +5,7 @@
# Usage: # Usage:
# #
# $ cd /path/to/whisper.cpp # $ cd /path/to/whisper.cpp
# $ ./extra/sync-ggml-am.sh -skip hash0,hash1,hash2... # $ ./scripts/sync-ggml-am.sh -skip hash0,hash1,hash2...
# #
set -e set -e
@ -21,7 +21,7 @@ if [ ! -d $SRC_GGML ]; then
exit 1 exit 1
fi fi
lc=$(cat $SRC_WHISPER/extra/sync-ggml.last) lc=$(cat $SRC_WHISPER/scripts/sync-ggml.last)
echo "Syncing ggml changes since commit $lc" echo "Syncing ggml changes since commit $lc"
to_skip="" to_skip=""
@ -182,7 +182,7 @@ fi
# update last commit # update last commit
cd $SRC_GGML cd $SRC_GGML
git log -1 --format=%H > $SRC_WHISPER/extra/sync-ggml.last git log -1 --format=%H > $SRC_WHISPER/scripts/sync-ggml.last
echo "Done" echo "Done"