Skip to content

Commit

Permalink
Task for installing benchmark deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimas committed Jul 25, 2024
1 parent dcf97f0 commit 01428c6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ benchmark-samples:
mkdir -p benchmark
if [ ! -d "benchmark/samples" ]; then git clone --depth 1 https://gitlab.softcatala.org/nous-projectes/catalan-audio-samples.git/ benchmark/samples; fi

benchmark-deps: whisper-models benchmark-samples
pip install evaluate jiwer

benchmark-run: whisper-models benchmark-samples
# pip install evaluate jiwer
cd benchmark && python3 whisper.py
@python3 -c 'import faster_whisper; print(f"faster_whisper: {faster_whisper.__version__}")'
@python3 -c 'import ctranslate2; print(f"ctranslate2: {ctranslate2.__version__}")'
Expand Down

0 comments on commit 01428c6

Please sign in to comment.