Downloads · 30 days
0
gabluz/ggml-whisper-large-quantized
ggml-whisper-large-quantized is a machine learning model from gabluz. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
WARNING: this can be slow and CPU intensive
Downloads · 30 days
0
Access
Public
Updated May 22, 2023
Repo size
2.3 GB
Likes
8
Public
Click a slice to open those files.
.bin2.3 GB · 100%
From the Hugging Face model README
WARNING: this can be slow and CPU intensive
Clone whisper.cpp repository:
git clone https://github.com/ggerganov/whisper.cpp
cd whisper.cpp
make
place this model called large_q5_0.bin inside whisper.cpp/models folder and run:
./main -m models/large_q5_0.bin yourfilename.wav
./main -m models/large_q5_0.bin yourfilename.wav --output-srt --print-progress
./main -m models/large_q5_0.bin yourfilename.wav --output-srt --print-progress --translate
It can transcribe ONLY wav files!
ffmpeg -i yourfilename.mp4 -vn -acodec pcm_s16le -ar 16000 -ac 2 yourfilename.wav
find . -type f -iname ".mp4" -exec bash -c 'ffmpeg -i "$0" -vn -acodec pcm_s16le -ar 16000 -ac 2 "${0%.}.wav"' {} ;