| license: apache-2.0 | |
| # how to build data | |
| 1. prepare python | |
| ``` | |
| pip3 install torch torchvision torchaudio coremltools | |
| ``` | |
| 2. clone whisper code | |
| ``` | |
| git clone https://github.com/openai/whisper.git | |
| ``` | |
| 3. run convertion | |
| ``` | |
| ./whisper_convert.py | |
| ./compile_model.sh | |
| ``` | |
| 4. result outputs in ```index``` and ```output``` directory |