convert-ckpt-to-ggml.py : error #11242
Unanswered
raphael10-collab
asked this question in
Q&A
Replies: 1 comment 1 reply
-
The convert-ckpt-to-ggml.py script you initially tried is for gpt models, not Whisper. It expects:
Get the Whisper-specific conversion script:
convert the speechbrain checkpoint to standard whisper format
Clone the official whisper repo https://github.com/openai/whisper then run the final conversion with the parameters:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I want to convert this https://huggingface.co/speechbrain/asr-whisper-medium-commonvoice-it ckpt model to ggml :
Downloaded the model:
Downloaded convert-ckpt-to-ggml.py from :
https://github.com/ggerganov/ggml/blob/master/examples/gpt-2/convert-ckpt-to-ggml.py
And tried to convert the file , but got
FileNotFoundError: [Errno 2] No such file or directory: './encoder.json'
error :How to make it work?
Beta Was this translation helpful? Give feedback.
All reactions