This repository contains the conversion of deepdml/whisper-large-v3-turbo to the CTranslate2 model format.
This model can be used in CTranslate2 or projects based on CTranslate2 such as faster-whisper.
from faster_whisper import WhisperModel
model = WhisperModel("deepdml/faster-whisper-large-v3-turbo-ct2")
segments, info = model.transcribe("audio.mp3")
for segment in segments:
print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))The original model was converted with the following command:
ct2-transformers-converter --model deepdml/whisper-large-v3-turbo --output_dir faster-whisper-large-v3-turbo \
--copy_files tokenizer.json preprocessor_config.json --quantization float16Note that the model weights are saved in FP16. This type can be changed when the model is loaded using the compute_type option in CTranslate2.
For more information about the original model, see its model card.
This repository contains the model weights and configuration files for local loading:
| File | Description |
|---|---|
model.bin | CTranslate2 model weights (FP16, ~1.6GB, Git LFS) |
config.json | Model configuration |
configuration.json | CTranslate2 configuration |
preprocessor_config.json | Preprocessor configuration |
tokenizer.json | Tokenizer vocabulary |
vocabulary.json | Vocabulary |
README.md | This model card |
Use it directly with faster-whisper:
from faster_whisper import WhisperModel
model = WhisperModel("/path/to/faster-whisper-large-v3-turbo-ct2")