Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's time to upgrade faster_whisper to support faster-whisper-large-v3-turbo. #412

Open
zxl777 opened this issue Nov 5, 2024 · 3 comments

Comments

@zxl777
Copy link

zxl777 commented Nov 5, 2024

It's time to upgrade faster_whisper to support faster-whisper-large-v3-turbo.

model = stable_whisper.load_faster_whisper("faster-whisper-large-v3-turbo")

Invalid model size 'faster-whisper-large-v3-turbo', expected one of: tiny.en, tiny, base.en, base, small.en, small, medium.en, medium, large-v1, large-v2, large-v3, large, distil-large-v2, distil-medium.en, distil-small.en, distil-large-v3
@jianfch
Copy link
Owner

jianfch commented Nov 5, 2024

That error is from Faster-Whisper. So try updating Faster-Whisper to a version or commit that supports that model.

@zxl777
Copy link
Author

zxl777 commented Nov 6, 2024

I have tried to install the newest Faster-Whisper, but all dependencies are confusing, because stable-ts does not work.

@jianfch
Copy link
Owner

jianfch commented Nov 7, 2024

Try to uninstall both Faster-Whisper and Stable-ts then install the latest commit for both with:

pip install -U git+https://github.com/jianfch/stable-ts.git
pip install "faster-whisper @ https://github.com/SYSTRAN/faster-whisper/archive/refs/heads/master.tar.gz"

Note that the turbo model isn't in the latest PyPI yet, so pip install -U faster-whisper will not work.

The model name for loading should also be "turbo" or "large-v3-turbo" and not "faster-whisper-large-v3-turbo".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants