Add large-v3-turbo model
#17
by
kth8
- opened
curl -O https://openaipublic.azureedge.net/main/whisper/models/aff26ae408abcba5fbf8813c21e62b0941638c5f6eebfb145be0c9839262a19a/large-v3-turbo.pt
curl -O https://raw.githubusercontent.com/ggerganov/whisper.cpp/refs/heads/master/models/convert-pt-to-ggml.py
git clone --depth 1 https://github.com/openai/whisper.git
podman run --rm -t -v .:/workspace docker.io/pytorch/pytorch python convert-pt-to-ggml.py large-v3-turbo.pt whisper .
Thanks. Are you interested in opening a PR? I don't have "podman" and normal "python" fails for some reason.
Added
ggerganov
changed discussion status to
closed
You can replace podman
with docker
and it would work the same. Here is an alternative method using conda:
conda create -n pytorch -y python=3.8
conda activate pytorch
conda install -y pytorch
curl -O https://openaipublic.azureedge.net/main/whisper/models/aff26ae408abcba5fbf8813c21e62b0941638c5f6eebfb145be0c9839262a19a/large-v3-turbo.pt
curl -O https://raw.githubusercontent.com/ggerganov/whisper.cpp/refs/heads/master/models/convert-pt-to-ggml.py
git clone --depth 1 https://github.com/openai/whisper.git
python convert-pt-to-ggml.py large-v3-turbo.pt whisper .
Added
Great, also what about the encoder.mlmodelc for it and updating the readme
I tried to generate the CoreML model, but the scripts no longer work with new versions of python and CoreML, so I gave up. Hopefully someone will provide them in the future.