Skip to main content

Whisper Turbo in MLX

Project description

WTM (Whisper Turbo MLX)

This repository provides a fast implementation of the Whisper model using MLX, designed for efficient audio transcription.

Alt text

Features

  • Fast Audio Transcription: Optimized for quick processing.
  • Simplified Architecture: Focus on ease of use with minimal decoding strategies.
  • Custom Tokenizer: Supports multilingual tokenization.

Installation

# Quick install (note: PyPI version may not always be up to date)
brew install ffmpeg
pip install whisper-turbo-mlx

# For the latest version, you can install directly from the repository:
# git clone https://github.com/JosefAlbers/whisper-turbo-mlx.git
# cd whisper-turbo-mlx
# pip install -e .

Usage

To transcribe an audio file, call the transcribe function:

transcribe 'test.wav'

Contributing

Contributions are welcome! Feel free to submit issues or pull requests.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

whisper_turbo_mlx-0.0.1b0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

whisper_turbo_mlx-0.0.1b0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file whisper_turbo_mlx-0.0.1b0.tar.gz.

File metadata

  • Download URL: whisper_turbo_mlx-0.0.1b0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for whisper_turbo_mlx-0.0.1b0.tar.gz
Algorithm Hash digest
SHA256 6629c27de729dcbfc831641a28075d3a5cc1fd1441161cff5469e38dd4e2d346
MD5 61e4bc960c0ea72e0a1fe300ff976538
BLAKE2b-256 8201054b03e94c757b4ca20880be8a4d5f8d9bbe732cabd31ad24b57ffbe286c

See more details on using hashes here.

File details

Details for the file whisper_turbo_mlx-0.0.1b0-py3-none-any.whl.

File metadata

File hashes

Hashes for whisper_turbo_mlx-0.0.1b0-py3-none-any.whl
Algorithm Hash digest
SHA256 e100474bd93ce64734c4047b527e2c6a1ef8fce063de1fc559490d1ec96d524b
MD5 bb8f9c6aa606b91a9d7dae7ed7e2f082
BLAKE2b-256 c4ada1a5d3a2925287774cbac23eb7f09b4af592b7c80bc3eb29c33992b41234

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page