Downloads Β· 30 days
56
9% of all-time downloads
ctranslate2-4you/whisper-tiny-ct2-float32
whisper-tiny-ct2-float32 is a automatic speech recognition model from ctranslate2-4you. Use it when you need speech turned into text. It is set up for ctranslate2. The card lists the license as apache-2.0.
This is OpenAI's whisper-tiny converted to CTranslate2 format with float32 precision.
Downloads Β· 30 days
56
9% of all-time downloads
All-time downloads
612
Public
Repo size
151 MB
Likes
0
Public
Click a slice to open those files.
.bin151 MB Β· 98%
From the Hugging Face model README
float32)This is OpenAI's whisper-tiny converted to CTranslate2 format with float32 precision.
[!TIP] Also available in other precisions:
float16Β·bfloat16
| Base model | openai/whisper-tiny |
| Format | CTranslate2 |
| Precision | float32 |
| Language | Multilingual |
| Task | Automatic Speech Recognition |
Install the inference library:
pip install whisper-s2t-reborn
Transcribe an audio file:
import whisper_s2t
model = whisper_s2t.load_model(
model_identifier="tiny",
compute_type="float32",
device="cuda",
)
result = model.transcribe_with_vad(
["audio.wav"],
lang_codes=["en"],
tasks=["transcribe"],
initial_prompts=[None],
batch_size=1, # increase this to significantly improve throughput
)
for segment in result[0]:
print(segment["text"])
[!NOTE] Models are auto-downloaded from this repo the first time you run inference. No manual download required.
See the whisper-s2t-reborn repository for the full list of available parameters.
Every model below is hosted at huggingface.co/ctranslate2-4you and works with whisper-s2t-reborn.
| Model | float32 | float16 | bfloat16 |
|---|---|---|---|
| tiny | Link | Link | Link |
| base | Link | Link | Link |
| small | Link | Link | Link |
| medium | Link | Link | Link |
| large-v3 | Link | Link | Link |
| Model | float32 | float16 | bfloat16 |
|---|---|---|---|
| tiny.en | Link | Link | Link |
| base.en | Link | Link | Link |
| small.en | Link | Link | Link |
| medium.en | Link | Link | Link |
| Model | float32 | float16 | bfloat16 |
|---|---|---|---|
| distil-small.en | Link | Link | Link |
| distil-medium.en | Link | Link | Link |
| distil-large-v3 | Link | Link | Link |