Skip to content

Navigation Menu

Sign in
Appearance settings
Sign up
Appearance settings
Discussion options

Thanks for your great work!
I'm curious: the plain whispercpp supports custom ggml-models. Is there any way to use it with python-bindings? I'm thinking from_pretrained could get a local path to a ggml-model.bin.
Is that already possible / feasible?

You must be logged in to vote

Replies: 1 comment · 2 replies

Comment options

I haven't implemented that yet. But it is pretty easy to support. We can do that in the Python side. Right now it handles the saved weights here.

Feel free to open a PR for it. One thing to note is that we just have to handle from_pretrained to also accepts arbitrary path.

You must be logged in to vote
2 replies
@sorgfresser
Comment options

PR is created. Not so sure about arbitrary paths. I'm checking using os.path.isfile right now.

@aarnphm
Comment options

you can probably do os.path.abspath

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.