metadata
language: en
license: apache-2.0
library_name: ctranslate2
pipeline_tag: automatic-speech-recognition
tags:
- whisper
- ctranslate2
- speech-recognition
- transcription
- float16
base_model: openai/whisper-tiny.en
π£οΈ Whisper Tiny.en β CTranslate2 (float16)
This is OpenAI's whisper-tiny.en converted to CTranslate2 format with float16 precision.
π Details
| Base model | openai/whisper-tiny.en |
| Format | CTranslate2 |
| Precision | float16 |
| Language | English |
| Task | Automatic Speech Recognition |
β‘ Quick Start
Install the inference library:
pip install whisper-s2t-reborn
Transcribe an audio file:
import whisper_s2t
model = whisper_s2t.load_model(
model_identifier="tiny.en",
compute_type="float16",
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"])
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.
π¦ All Available CTranslate2 Whisper Models
Every model below is hosted at huggingface.co/ctranslate2-4you and works with whisper-s2t-reborn.
π Standard Whisper (Multilingual)
| 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 |
πΊπΈ Whisper English-Only
| Model | float32 |
float16 |
bfloat16 |
|---|---|---|---|
| tiny.en | Link | Link | Link |
| base.en | Link | Link | Link |
| small.en | Link | Link | Link |
| medium.en | Link | Link | Link |
β‘ Distilled Whisper
| Model | float32 |
float16 |
bfloat16 |
|---|---|---|---|
| distil-small.en | Link | Link | Link |
| distil-medium.en | Link | Link | Link |
| distil-large-v3 | Link | Link | Link |
π Whisper Large-v3 Turbo
π Links
- π¦ Inference library β whisper-s2t-reborn
- ποΈ CTranslate2 β github.com/OpenNMT/CTranslate2
- π§ Original model β openai/whisper-tiny.en