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

add new model to use #201

Open
lewdon opened this issue Mar 7, 2024 · 5 comments
Open

add new model to use #201

lewdon opened this issue Mar 7, 2024 · 5 comments

Comments

@lewdon
Copy link

lewdon commented Mar 7, 2024

I want to add new model as ASR_MODEL=base ,but I try to download the Belle-distilwhisper-large-v2 to the Model Path.But it can't run rightly ?

@lewdon
Copy link
Author

lewdon commented Mar 11, 2024

Any update?

@cmccullough14
Copy link

I actually have the same issue, I would prefer to use the "medium" model but when I use either of the following commands the webserver won't even open for me once the container starts.

  1. docker run -d --net whispernetwork --name project_openai_whisper_asr_webservice -h whisperai -p 9000:9000 -e ASR_MODEL=medium -e ASR_ENGINE=openai_whisper -it onerahmet/openai-whisper-asr-webservice:latest
  2. docker run -d --net whispernetwork --name project_openai_whisper_asr_webservice -h whisperai -p 9000:9000 -e ASR_MODEL=small -e ASR_ENGINE=openai_whisper -it onerahmet/openai-whisper-asr-webservice:latest

However running this command does work and the webserver starts immediately:

  1. docker run -d --net whispernetwork --name project_openai_whisper_asr_webservice -h whisperai -p 8080:9000 -e ASR_MODEL=base -e ASR_ENGINE=openai_whisper -it onerahmet/openai-whisper-asr-webservice:latest

What I'd love to see would be a model-switcher so I can save whichever model(s) I want to use and then select it in the UI or specify the model to use in the endpoint

@almarax
Copy link

almarax commented Mar 13, 2024

same here, it doesn't work:
ASR_MODEL=large-v3

docker command:
docker run -d --gpus all -p 9000:9000 -e ASR_MODEL=large-v3 -e ASR_ENGINE=openai_whisper onerahmet/openai-whisper-asr-webservice:latest-gpu

docker log output:
RuntimeError: Model large-v3 not found; available models = ['tiny.en', 'tiny', 'base.en', 'base', 'small.en', 'small', 'medium.en', 'medium', 'large-v1', 'large-v2', 'large']

@lewdon
Copy link
Author

lewdon commented Mar 18, 2024

any update ?

@wheynelau
Copy link

@lewdon I will try to take a look at this, just chanced on this repo

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

4 participants