updated template
Browse files
README.md
CHANGED
|
@@ -221,11 +221,15 @@ $ make
|
|
| 221 |
$ wget -N https://github.com/NbAiLab/nb-whisper/raw/main/audio/king.mp3
|
| 222 |
$ ffmpeg -i king.mp3 -ar 16000 -ac 1 -c:a pcm_s16le king.wav
|
| 223 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 224 |
# And run it with the f16 default model
|
| 225 |
-
$ ./main -m /
|
| 226 |
|
| 227 |
# Or the quantized version
|
| 228 |
-
$ ./main -m /
|
| 229 |
```
|
| 230 |
|
| 231 |
### API
|
|
|
|
| 221 |
$ wget -N https://github.com/NbAiLab/nb-whisper/raw/main/audio/king.mp3
|
| 222 |
$ ffmpeg -i king.mp3 -ar 16000 -ac 1 -c:a pcm_s16le king.wav
|
| 223 |
|
| 224 |
+
# Lets download the two ggml-files from this site
|
| 225 |
+
wget -N https://huggingface.co/NbAiLabBeta/nb-whisper-large/resolve/main/ggml-model.bin -O models/nb-large-ggml-model.bin
|
| 226 |
+
wget -N https://huggingface.co/NbAiLabBeta/nb-whisper-large/resolve/main/ggml-model-q5_0.bin -O models/nb-large-ggml-model-q5_0.bin
|
| 227 |
+
|
| 228 |
# And run it with the f16 default model
|
| 229 |
+
$ ./main -l no -m models/nb-large-ggml-model.bin king.wav
|
| 230 |
|
| 231 |
# Or the quantized version
|
| 232 |
+
$ ./main -l no -m models/nb-large-ggml-model-q5_0.bin king.wav
|
| 233 |
```
|
| 234 |
|
| 235 |
### API
|