/plushcap/analysis/deepgram/how-to-run-openai-whisper-in-command-line

How to Run OpenAI Whisper in the Command Line

What's this blog post about?

The article provides a step-by-step guide on how to run the OpenAI Whisper tool on your machine using the command line. It starts with setting up a virtual environment and installing necessary dependencies such as Python, torch, numpy, transformers, tqdm, more-itertools, and ffmpeg-python. The author then demonstrates how to use the tool by transcribing an audio file of Nicholas Tesla's vision of a wireless future. Additionally, it introduces Deepgram's Whisper API endpoint as an alternative for those who want to avoid the complexities of setting up and running OpenAI Whisper locally. The article also highlights that transcript results may vary between runs due to non-deterministic nature of these models.

Company
Deepgram

Date published
Oct. 4, 2022

Author(s)
Kate Weber

Word count
1027

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.