Update README.md
Browse files
README.md
CHANGED
|
@@ -99,6 +99,7 @@ language:
|
|
| 99 |
- ba
|
| 100 |
- jw
|
| 101 |
- su
|
|
|
|
| 102 |
tags:
|
| 103 |
- audio
|
| 104 |
- automatic-speech-recognition
|
|
@@ -106,6 +107,10 @@ license: mit
|
|
| 106 |
library_name: ctranslate2
|
| 107 |
---
|
| 108 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 109 |
**README.md file is based on "[guillaumekln/faster-whisper-large-v2](https://huggingface.co/guillaumekln/faster-whisper-large-v2)" and has been updated to version 3 content.**
|
| 110 |
|
| 111 |
# Whisper large-v3 model for CTranslate2
|
|
@@ -147,15 +152,17 @@ self.hf_tokenizer.save_pretrained("whisper-large-v3-test")
|
|
| 147 |
|
| 148 |
## How faster-whisper working with Whisper-large-v3
|
| 149 |
|
| 150 |
-
|
| 151 |
|
| 152 |
-
|
| 153 |
-
|
|
|
|
|
|
|
| 154 |
|
| 155 |
-
model = WhisperModel(model_url)
|
| 156 |
|
| 157 |
-
if "large-v3" in model_url:
|
| 158 |
-
|
| 159 |
```
|
| 160 |
|
| 161 |
## More information
|
|
|
|
| 99 |
- ba
|
| 100 |
- jw
|
| 101 |
- su
|
| 102 |
+
- yue
|
| 103 |
tags:
|
| 104 |
- audio
|
| 105 |
- automatic-speech-recognition
|
|
|
|
| 107 |
library_name: ctranslate2
|
| 108 |
---
|
| 109 |
|
| 110 |
+
faster-whisper officially supports the large-v3 model now. The link is [Systran/faster-whisper-large-v3](https://huggingface.co/Systran/faster-whisper-large-v3)
|
| 111 |
+
|
| 112 |
+
___
|
| 113 |
+
|
| 114 |
**README.md file is based on "[guillaumekln/faster-whisper-large-v2](https://huggingface.co/guillaumekln/faster-whisper-large-v2)" and has been updated to version 3 content.**
|
| 115 |
|
| 116 |
# Whisper large-v3 model for CTranslate2
|
|
|
|
| 152 |
|
| 153 |
## How faster-whisper working with Whisper-large-v3
|
| 154 |
|
| 155 |
+
**In faster-whisper version 0.10.0, there is no need to perform this handling.**
|
| 156 |
|
| 157 |
+
~~[Working with Whisper-large-v3 #547](https://github.com/guillaumekln/faster-whisper/issues/547) by. UmarRamzan~~
|
| 158 |
+
|
| 159 |
+
```diff
|
| 160 |
+
- from faster_whisper import WhisperModel
|
| 161 |
|
| 162 |
+
- model = WhisperModel(model_url)
|
| 163 |
|
| 164 |
+
- if "large-v3" in model_url:
|
| 165 |
+
- model.feature_extractor.mel_filters = model.feature_extractor.get_mel_filters(model.feature_extractor.sampling_rate, model.feature_extractor.n_fft, n_mels=128)
|
| 166 |
```
|
| 167 |
|
| 168 |
## More information
|