-
Notifications
You must be signed in to change notification settings - Fork 0
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
Unable to Load Spanish Model in Custom Whisper Environment #12
Comments
So you mean that bumping ctranslate2 to 4.1 will solve your problem? Can you please link your model? |
Thank you for your prompt reply. Unfortunately, I'm not certain if bumping ctranslate2 to version 4.1 would solve the issue. Regarding the model, the one I'm interested in is located at this link: https://huggingface.co/guillaumekln/faster-whisper-medium Thank you very much!! |
This is the standard faster-whisper model which is more than 1 years old. So bumping ctranslate2 to the latest version will not solve your problem, the current one should handle it seamlessly.... Since You are trying to reach the standard faster-whisper model, You can select the default medium model instead of the custom link (they are totally the same). Unfortunatelly, my custom_whisper addon uses the same mechanism for model folder purge at statup as the official whisper addon, then You won't achieve any better result. Nowadays, HF is very slow. As a workaround I would suggest to download the desired model (and their vocab and config files) and republish them on a private webserver (or even under your ha instance) then you can use it as custom model. I'm planning to release a new, more complex, totally rewritten addon, Where you can handle pre-downloaded models as well. please stay tuned until that. |
Hello!! I'm sharing the complete error in case it helps. I understand that the models don't have the same structure, which is why it's not finding the files. It really works very well with the Hungarian models, and I would love to have it in Spanish. I'll keep an eye on the repository! Thank you very much for sharing!!!
|
well, maybe it is in connection with the missing hash file in the repo. (I do not plan any new bugfix to introduce on this repo anymore) - I would like to release the new addon/solution within a few weeks (as soon as I have some free time).
|
Greetings!
I hope this message finds you well. I'm reaching out from Argentina, currently attempting to load a Spanish model into Whisper. I've successfully installed custom_whisper in Docker using the suggested docker-compose.yml, and everything is running smoothly. However, when I try to load a model.bin from another Spanish model, I encounter the following error:
RuntimeError: Unsupported model binary version. This executable supports models with binary version v6 or below, but the model has binary version v1868833084. This usually means that the model was generated by a later version of CTranslate2. (Forward compatibility is not guaranteed.)
I've tested several models, all yielding the same result. Are there any Spanish models compatible with this setup? I'm pleased with how easy it was to set up, but the Hungarian language isn't suitable for my needs.
Thank you for your assistance!
The text was updated successfully, but these errors were encountered: