Update README.md
Browse files123---license: unknown---123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118---language: enlicense: apache-2.0library_name: ctranslate2pipeline_tag: automatic-speech-recognitiontags:- whisper- ctranslate2- speech-recognition- transcription- float32base_model: openai/whisper-tiny.en---# π£οΈ Whisper Tiny.en β CTranslate2 (`float32`)This is [OpenAI's whisper-tiny.en](https://huggingface.co/openai/whisper-tiny.en) converted to [CTranslate2](https://github.com/OpenNMT/CTranslate2) format with `float32` precision.> [!TIP]> Also available in other precisions:> [`float16`](https://huggingface.co/ctranslate2-4you/whisper-tiny.en-ct2-float16) Β· [`bfloat16`](https://huggingface.co/ctranslate2-4you/whisper-tiny.en-ct2-bfloat16)---## π Details| | ||---|---|| **Base model** | [openai/whisper-tiny.en](https://huggingface.co/openai/whisper-tiny.en) || **Format** | CTranslate2 || **Precision** | `float32` || **Language** | English || **Task** | Automatic Speech Recognition |---## β‘ Quick StartInstall the inference library:```bashpip install whisper-s2t-reborn```Transcribe an audio file:```pythonimport whisper_s2tmodel = whisper_s2t.load_model(model_identifier="tiny.en",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](https://github.com/BBC-Esq/WhisperS2T-reborn) repository for the full list of available parameters.*---## π¦ All Available CTranslate2 Whisper ModelsEvery model below is hosted at [huggingface.co/ctranslate2-4you](https://huggingface.co/ctranslate2-4you) and works with [whisper-s2t-reborn](https://github.com/BBC-Esq/WhisperS2T-reborn).### π Standard Whisper (Multilingual)| Model | `float32` | `float16` | `bfloat16` ||---|:---:|:---:|:---:|| **tiny** | [Link](https://huggingface.co/ctranslate2-4you/whisper-tiny-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-tiny-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-tiny-ct2-bfloat16) || **base** | [Link](https://huggingface.co/ctranslate2-4you/whisper-base-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-base-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-base-ct2-bfloat16) || **small** | [Link](https://huggingface.co/ctranslate2-4you/whisper-small-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-small-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-small-ct2-bfloat16) || **medium** | [Link](https://huggingface.co/ctranslate2-4you/whisper-medium-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-medium-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-medium-ct2-bfloat16) || **large-v3** | [Link](https://huggingface.co/ctranslate2-4you/whisper-large-v3-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-large-v3-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-large-v3-ct2-bfloat16) |### πΊπΈ Whisper English-Only| Model | `float32` | `float16` | `bfloat16` ||---|:---:|:---:|:---:|| **tiny.en** | [Link](https://huggingface.co/ctranslate2-4you/whisper-tiny.en-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-tiny.en-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-tiny.en-ct2-bfloat16) || **base.en** | [Link](https://huggingface.co/ctranslate2-4you/whisper-base.en-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-base.en-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-base.en-ct2-bfloat16) || **small.en** | [Link](https://huggingface.co/ctranslate2-4you/whisper-small.en-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-small.en-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-small.en-ct2-bfloat16) || **medium.en** | [Link](https://huggingface.co/ctranslate2-4you/whisper-medium.en-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-medium.en-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-medium.en-ct2-bfloat16) |### β‘ Distilled Whisper| Model | `float32` | `float16` | `bfloat16` ||---|:---:|:---:|:---:|| **distil-small.en** | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-small.en-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-small.en-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-small.en-ct2-bfloat16) || **distil-medium.en** | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-medium.en-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-medium.en-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-medium.en-ct2-bfloat16) || **distil-large-v3** | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-large-v3-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-large-v3-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/distil-whisper-large-v3-ct2-bfloat16) |### π Whisper Large-v3 Turbo| Model | `float32` | `float16` | `bfloat16` ||---|:---:|:---:|:---:|| **large-v3-turbo** | [Link](https://huggingface.co/ctranslate2-4you/whisper-large-v3-turbo-ct2-float32) | [Link](https://huggingface.co/ctranslate2-4you/whisper-large-v3-turbo-ct2-float16) | [Link](https://huggingface.co/ctranslate2-4you/whisper-large-v3-turbo-ct2-bfloat16) |---## π Links- π¦ **Inference library** β [whisper-s2t-reborn](https://github.com/BBC-Esq/WhisperS2T-reborn)- ποΈ **CTranslate2** β [github.com/OpenNMT/CTranslate2](https://github.com/OpenNMT/CTranslate2)- π§ **Original model** β [openai/whisper-tiny.en](https://huggingface.co/openai/whisper-tiny.en)
README.md+116-1