whisper.rn 0.3.0-rc.1 → 0.3.0-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/cpp/ggml.c +6486 -4317
- package/cpp/ggml.h +205 -12
- package/cpp/whisper.cpp +40 -38
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -89,7 +89,7 @@ To use Core ML on iOS, you will need to have the Core ML model files.
|
|
|
89
89
|
|
|
90
90
|
The `.mlmodelc` model files is load depend on the ggml model file path. For example, if your ggml model path is `ggml-base.en.bin`, the Core ML model path will be `ggml-base.en-encoder.mlmodelc`. Please note that the ggml model is still needed as decoder or encoder fallback.
|
|
91
91
|
|
|
92
|
-
Currently there is no official way to get the Core ML models by URL, you will need to convert
|
|
92
|
+
Currently there is no official way to get the Core ML models by URL, you will need to convert Core ML models by yourself. Please see [Core ML Support](https://github.com/ggerganov/whisper.cpp#core-ml-support) of whisper.cpp for more details.
|
|
93
93
|
|
|
94
94
|
During the `.mlmodelc` is a directory, you will need to download 5 files:
|
|
95
95
|
|
|
@@ -98,12 +98,12 @@ During the `.mlmodelc` is a directory, you will need to download 5 files:
|
|
|
98
98
|
'model.mil',
|
|
99
99
|
'metadata.json',
|
|
100
100
|
'coremldata.bin',
|
|
101
|
-
'weights/
|
|
102
|
-
'
|
|
101
|
+
'weights/weight.bin',
|
|
102
|
+
'analytics/coremldata.bin',
|
|
103
103
|
]
|
|
104
104
|
```
|
|
105
105
|
|
|
106
|
-
Or just add them to your app's bundle
|
|
106
|
+
Or just add them to your app's bundle resources, like the example app does, but this would increase the app size significantly.
|
|
107
107
|
|
|
108
108
|
## Run with example
|
|
109
109
|
|