ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
34.83k stars 3.55k forks source link

Can't use CoreML model #2009

Open shell1986 opened 6 months ago

shell1986 commented 6 months ago

Hello, I'm using a macbook m1 Mac OS version 14.4.1 I assembled whisper for myself following the instructions. As a result, it gives me an error that it cannot load the generated models.

./main -m models/ggml-base.en.bin -f samples/jfk.wav whisper_init_from_file_with_params_no_state: loading model from 'models/ggml-base.en.bin' whisper_init_from_file_with_params_no_state: failed to open 'models/ggml-base.en.bin' error: failed to initialize whisper context

ephemer commented 6 months ago

You first need to download the model via make [MODEL_NAME]. This is described further in the readme.