asahi417 commited on
Commit
fcd126e
·
verified ·
1 Parent(s): fcccba5

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +14 -11
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. Install the Hugging Face Hub Python package:
 
26
  ```bash
27
- pip install --upgrade huggingface_hub
28
  ```
29
- And download the GGML weights for `kotoba-tech/kotoba-whisper-v1.0` using the following Python snippet:
30
 
31
- ```python
32
- from huggingface_hub import hf_hub_download
33
 
34
- hf_hub_download(repo_id='kotoba-tech/kotoba-whisper-v1.0-ggml', filename='ggml-kotoba-whisper-v1.0.bin', local_dir='./models')
 
 
35
  ```
36
 
37
- Note that if you do not have a Python environment set-up, you can also download the weights directly with `wget`:
 
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
- 3. Run inference using the provided sample audio:
44
-
45
  ```bash
46
- make -j && ./main -m models/ggml-kotoba-whisper-v1.0.bin -f samples/jfk.wav
 
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).