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

how to modify the config scheme #88

Open
sharefly617 opened this issue Dec 3, 2023 · 1 comment
Open

how to modify the config scheme #88

sharefly617 opened this issue Dec 3, 2023 · 1 comment

Comments

@sharefly617
Copy link

how to modify the config scheme if i want to use in
create_model('openai/whisper', {'model_type': 'base'},model_config={"vad":"auditok"})
can you give me an example?

@abdeladim-s
Copy link
Owner

@sharefly617,

You can provide a dict containing your config scheme to the model_config param.
like the following for example:

create_model('openai/whisper', model_config={'model_type': 'base', "vad":"auditok"})

But you have to check what configs that model support first.
Please take a look at the docs for the config_schema of every model.

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