Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions whisper/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Speech recognition with Whisper in MLX. Whisper is a set of open source speech
recognition models from OpenAI, ranging from 39 million to 1.5 billion
parameters.[^1]

### Setup
## Setup

Install [`ffmpeg`](https://ffmpeg.org/):

Expand All @@ -19,9 +19,9 @@ Install the `mlx-whisper` package with:
pip install mlx-whisper
```

### Run
## Run

#### CLI
### CLI

At its simplest:

Expand All @@ -44,7 +44,7 @@ some-process | mlx_whisper -
The default output file name will be `content.*`. You can specify the name with
the `--output-name` flag.

#### API
### API

Transcribe audio with:

Expand Down Expand Up @@ -82,7 +82,7 @@ To see more transcription options use:
>>> help(mlx_whisper.transcribe)
```

### Converting models
## Converting models

> [!TIP]
> Skip the conversion step by using pre-converted checkpoints from the Hugging
Expand Down