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.1a0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: whisper_turbo_mlx-0.0.1a0.tar.gz
  • Upload date:
  • Size: 5.5 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.1a0.tar.gz
Algorithm Hash digest
SHA256 2c0f104d27beb88caf7f24e7ee802b2143926ef37524c50aab8de2899250e010
MD5 740caaee453de331ad5cd1955f96249e
BLAKE2b-256 51221a8a5205b23e4af81087cebfc5247e1f93c93c14af62dfd71b0240614de9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for whisper_turbo_mlx-0.0.1a0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ffd32a3228e627b69de880e059ba02911f5ff90b7524279ecacbd227252e089
MD5 6a5b8d5d74224361454f72eb9e04e1e5
BLAKE2b-256 c19c1601e27ce8b8a6b10dd6c997f9a1c97a687419617d637e008b31d2965aa3

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