Install python
Refer Install python with Miniconda to install python 3.10.10
Install PyTorch
Get the following conda command from https://pytorch.org/get-started/locally/
|
|
Install Chocolatey
Refer https://chocolatey.org/Finstall to get a one liner (from Administrator prompt) like this:
|
|
Install FFMPEG
To read different formats of audio files. run the following command from Administrator prompt to install.
|
|
Install Whisper
Refer https://github.com/openai/whisper to get instructions.
|
|
Use Whisper
- set language can save time to detect languages.
- fp16 False is for CPU machine.
- Refer to Available models and languages for –model choices.
|
|
medium is the sweet spot, much better than default and faster than large.
You can also translate (only to English) with –task translate option.