Update README.md
Browse files
README.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
---
|
| 4 |
+
|
| 5 |
+
# how to build data
|
| 6 |
+
1. prepare python
|
| 7 |
+
```
|
| 8 |
+
pip3 install torch torchvision torchaudio coremltools
|
| 9 |
+
```
|
| 10 |
+
2. clone whisper code
|
| 11 |
+
```
|
| 12 |
+
git clone https://github.com/openai/whisper.git
|
| 13 |
+
```
|
| 14 |
+
3. run convertion
|
| 15 |
+
```
|
| 16 |
+
./whisper_convert.py
|
| 17 |
+
./compile_model.sh
|
| 18 |
+
```
|
| 19 |
+
4. result outputs in ```index``` and ```output``` directory
|