Skip to content

Commit

Permalink
Update to whisper-ctranslate2 0.4.3 and the depending stack. Improvem…
Browse files Browse the repository at this point in the history
…ents in WER
  • Loading branch information
jordimas committed May 7, 2024
1 parent 09bce62 commit 3538c25
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
46 changes: 23 additions & 23 deletions benchmark/results.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,69 +4,69 @@
{
"audio": "samples/15GdH9-curt.mp3",
"wer": "72.57",
"time": 86
"time": 83
},
{
"audio": "samples/EloiBadiaCat.mp3",
"wer": "22.26",
"time": 69
"wer": "22.57",
"time": 63
},
{
"audio": "samples/Son_Goku_catalan_valencian_voice.ogg",
"wer": "51.90",
"time": 32
"wer": "40.51",
"time": 27
},
{
"audio": "samples/Universal_Declaration_of_Human_Rights_-_cat_-_nv.ogg",
"wer": "39.51",
"time": 202
"wer": "31.38",
"time": 200
},
{
"audio": "samples/Ona_catalan-balear.mp3",
"wer": "46.81",
"time": 37
"wer": "46.01",
"time": 38
},
{
"avg_wer": "46.61"
"avg_wer": "42.61"
}
]
},
{
"medium": [
{
"audio": "samples/15GdH9-curt.mp3",
"wer": "35.43",
"time": 174
"wer": "35.62",
"time": 181
},
{
"audio": "samples/EloiBadiaCat.mp3",
"wer": "15.05",
"time": 167
"wer": "14.73",
"time": 175
},
{
"audio": "samples/Son_Goku_catalan_valencian_voice.ogg",
"wer": "25.32",
"time": 50
"wer": "27.85",
"time": 52
},
{
"audio": "samples/Universal_Declaration_of_Human_Rights_-_cat_-_nv.ogg",
"wer": "36.50",
"time": 513
"wer": "19.12",
"time": 532
},
{
"audio": "samples/Ona_catalan-balear.mp3",
"wer": "22.87",
"time": 88
"wer": "21.54",
"time": 92
},
{
"avg_wer": "27.03"
"avg_wer": "23.77"
}
]
},
{
"totals": {
"wer": "36.82",
"time": "1418"
"wer": "33.19",
"time": "1443"
}
}
]
2 changes: 1 addition & 1 deletion transcribe-batch/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN apt-get install python3-pip python3-dev -y --no-install-recommends
# Solve errors:
# - Error: libcudnn_ops_infer.so.8: cannot open shared object file: No such file or directory
# - Error: libcublasLt.so.11: cannot open shared object file: No such file or directory
RUN apt-get install libcudnn8=8.8.1.3-1+cuda11.8 && apt-get install libcublas-11-8 -y
RUN apt-get install libcudnn8=8.8.1.3-1+cuda11.8 && apt-get install libcublas-12-3 && apt-get install libcublas-11-8 -y

WORKDIR /srv

Expand Down
6 changes: 3 additions & 3 deletions transcribe-batch/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
psutil
ctranslate2==3.22
faster-whisper==0.10.1
whisper-ctranslate2==0.3.7
ctranslate2==4.2.1
faster-whisper==1.0.2
whisper-ctranslate2==0.4.3
langdetect==1.0.9

0 comments on commit 3538c25

Please sign in to comment.