File size: 6,078 Bytes
412d114
1229121
 
 
 
 
 
 
 
 
 
 
412d114
1229121
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
---
language: en
license: apache-2.0
library_name: ctranslate2
pipeline_tag: automatic-speech-recognition
tags:
  - whisper
  - ctranslate2
  - speech-recognition
  - transcription
  - float32
base_model: openai/whisper-tiny
---

# πŸ—£οΈ Whisper Tiny β€” CTranslate2 (`float32`)

This is [OpenAI's whisper-tiny](https://huggingface.co/openai/whisper-tiny) 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-ct2-float16) Β· [`bfloat16`](https://huggingface.co/ctranslate2-4you/whisper-tiny-ct2-bfloat16)

---

## πŸ“‹ Details

| | |
|---|---|
| **Base model** | [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny) |
| **Format** | CTranslate2 |
| **Precision** | `float32` |
| **Language** | Multilingual |
| **Task** | Automatic Speech Recognition |

---

## ⚑ Quick Start

Install the inference library:

```bash
pip install whisper-s2t-reborn
```

Transcribe an audio file:

```python
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](https://github.com/BBC-Esq/WhisperS2T-reborn) repository for the full list of available parameters.*

---

## πŸ“¦ All Available CTranslate2 Whisper Models

Every 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](https://huggingface.co/openai/whisper-tiny)