|
## show available models |
|
```python |
|
import whisper |
|
print(whisper.available_models()) |
|
``` |
|
## download model example |
|
```python |
|
whisper.load_model('large-v3', download_root=r"D:\models\openai-whisper") |
|
``` |
|
|
|
## choose model |
|
| Size | Parameters | English-only model | Multilingual model | Required VRAM | Relative speed | |
|
|:------:|:----------:|:------------------:|:------------------:|:-------------:|:--------------:| |
|
| tiny | 39 M | `tiny.en` | `tiny` | ~1 GB | ~32x | |
|
| base | 74 M | `base.en` | `base` | ~1 GB | ~16x | |
|
| small | 244 M | `small.en` | `small` | ~2 GB | ~6x | |
|
| medium | 769 M | `medium.en` | `medium` | ~5 GB | ~2x | |
|
| large | 1550 M | N/A | `large` | ~10 GB | 1x | |