Spaces:
Sleeping
Sleeping
readme : improve Core ML model conversion guidance (#915)
Browse files
README.md
CHANGED
|
@@ -261,6 +261,12 @@ speed-up - more than x3 faster compared with CPU-only execution. Here are the in
|
|
| 261 |
pip install coremltools
|
| 262 |
```
|
| 263 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 264 |
- Generate a Core ML model. For example, to generate a `base.en` model, use:
|
| 265 |
|
| 266 |
```bash
|
|
|
|
| 261 |
pip install coremltools
|
| 262 |
```
|
| 263 |
|
| 264 |
+
- 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.
|
| 265 |
+
- Python 3.10 is recommended.
|
| 266 |
+
- [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:
|
| 267 |
+
- To create an environment, use: `conda create -n py310-whisper python=3.10 -y`
|
| 268 |
+
- To activate the environment, use: `conda activate py310-whisper`
|
| 269 |
+
|
| 270 |
- Generate a Core ML model. For example, to generate a `base.en` model, use:
|
| 271 |
|
| 272 |
```bash
|