Skip to content

Commit

Permalink
readme : improve Core ML model conversion guidance (ggerganov#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
jhen0409 authored May 14, 2023
1 parent fd01209 commit 16564f5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,12 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
pip install coremltools
```

- To ensure `coremltools` operates correctly, please confirm that [Xcode](https://developer.apple.com/xcode/) is installed and execute `xcode-select --install` to install the command-line tools.
- Python 3.10 is recommended.
- [OPTIONAL] It is recommended to utilize a Python version management system, such as [Miniconda](https://docs.conda.io/en/latest/miniconda.html) for this step:
- To create an environment, use: `conda create -n py310-whisper python=3.10 -y`
- To activate the environment, use: `conda activate py310-whisper`

- Generate a Core ML model. For example, to generate a `base.en` model, use:

```bash
Expand Down

0 comments on commit 16564f5

Please sign in to comment.