Update README.md
Browse files
README.md
CHANGED
@@ -22,30 +22,33 @@ Steps for getting started:
|
|
22 |
git clone https://github.com/ggerganov/whisper.cpp.git
|
23 |
cd whisper.cpp
|
24 |
```
|
25 |
-
2.
|
|
|
26 |
```bash
|
27 |
-
|
28 |
```
|
29 |
-
And download the GGML weights for `kotoba-tech/kotoba-whisper-v1.0` using the following Python snippet:
|
30 |
|
31 |
-
|
32 |
-
from huggingface_hub import hf_hub_download
|
33 |
|
34 |
-
|
|
|
|
|
35 |
```
|
36 |
|
37 |
-
|
|
|
38 |
|
39 |
```bash
|
40 |
-
wget https://huggingface.co/kotoba-tech/kotoba-whisper-v1.0-ggml/resolve/main/ggml-kotoba-whisper-v1.0.bin -P ./models
|
41 |
```
|
42 |
|
43 |
-
|
44 |
-
|
45 |
```bash
|
46 |
-
|
|
|
47 |
```
|
48 |
|
|
|
49 |
## Model Details
|
50 |
|
51 |
For more information about the kotoba-whisper-v1.0, refer to the original [model card](https://huggingface.co/kotoba-tech/kotoba-whisper-v1.0).
|
|
|
22 |
git clone https://github.com/ggerganov/whisper.cpp.git
|
23 |
cd whisper.cpp
|
24 |
```
|
25 |
+
2. Download the GGML weights for `kotoba-tech/kotoba-whisper-v1.0`:
|
26 |
+
|
27 |
```bash
|
28 |
+
wget https://huggingface.co/kotoba-tech/kotoba-whisper-v1.0-ggml/resolve/main/ggml-kotoba-whisper-v1.0.bin -P ./models
|
29 |
```
|
|
|
30 |
|
31 |
+
3. Run inference using the provided sample audio:
|
|
|
32 |
|
33 |
+
```bash
|
34 |
+
wget
|
35 |
+
make -j && ./main -m models/ggml-kotoba-whisper-v1.0.bin -f sample_ja_speech.wav
|
36 |
```
|
37 |
|
38 |
+
### Quantized Model
|
39 |
+
To use the quantized model, download the quantized GGML weights:
|
40 |
|
41 |
```bash
|
42 |
+
wget https://huggingface.co/kotoba-tech/kotoba-whisper-v1.0-ggml/resolve/main/ggml-kotoba-whisper-v1.0-q5_0.bin -P ./models
|
43 |
```
|
44 |
|
45 |
+
Run inference on the sample audio:
|
|
|
46 |
```bash
|
47 |
+
wget
|
48 |
+
make -j && ./main -m models/ggml-kotoba-whisper-v1.0-q5_0.bin -f sample_ja_speech.wav
|
49 |
```
|
50 |
|
51 |
+
|
52 |
## Model Details
|
53 |
|
54 |
For more information about the kotoba-whisper-v1.0, refer to the original [model card](https://huggingface.co/kotoba-tech/kotoba-whisper-v1.0).
|