Run whisper.cpp with CoreML support
git clone https://github.com/ggerganov/whisper.cpp.git
cd whisper.cpp
python3 -m venv .
source bin/activate
pip install ane_transformers openai-whisper coremltools==7.0b2
make clean
WHISPER_COREML=1 make -j
Use OpenAI Whisper Large v2
git clone https://github.com/openai/whisper
git clone https://huggingface.co/openai/whisper-large-v2
python models/convert-h5-to-ggml.py ./whisper-large-v2 ./whisper ./models
mv ./models/ggml-model.bin ./models/ggml-large.bin
./models/generate-coreml-model.sh large
./main -m models/ggml-large.bin -f samples/jfk.wav