Skip to main content

Whisper command line client that uses CTranslate2

Project description

Introduction

Whisper command line client compatible with original OpenAI client based on CTranslate2.

It uses CTranslate2 and Faster-whisper Whisper implementation that is up to 4 times faster than openai/whisper for the same accuracy while using less memory.

Goals of the project:

  • Provide an easy way to use the CTranslate2 Whisper implementation
  • Easy the migration for people using OpenAI Whisper CLI

Installation

You need to install this dependency first:

pip install git+https://github.com/guillaumekln/faster-whisper

And then, just type:

pip install -U whisper-ctranslate2

Alternatively, the following command will pull and install the latest commit from this repository, along with its Python dependencies:

pip install https://github.com/jordimas/whisper-ctranslate2

Usage

Same command line that OpenAI whisper.

To transcribe:

whisper-ctranslate2 inaguracio2011.mp3 --model medium
image

To translate:

whisper-ctranslate2 inaguracio2011.mp3 --model medium --task translate
image

Contact

Jordi Mas jmas@softcatala.org

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-ctranslate2-0.0.2.tar.gz (11.0 kB view details)

Uploaded Source

Built Distribution

whisper_ctranslate2-0.0.2-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file whisper-ctranslate2-0.0.2.tar.gz.

File metadata

  • Download URL: whisper-ctranslate2-0.0.2.tar.gz
  • Upload date:
  • Size: 11.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for whisper-ctranslate2-0.0.2.tar.gz
Algorithm Hash digest
SHA256 97d30e8eddd31567da5cf598420e17c55bba136eb734c31d8733476fdce8c768
MD5 5fff9452bd70b87b0ef312481ae09dd4
BLAKE2b-256 cf81163dfa70d91c7f56ca2a6ab1c87c4961ddd50f5ad10e29d85b8d3d6eb85c

See more details on using hashes here.

File details

Details for the file whisper_ctranslate2-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for whisper_ctranslate2-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2ffde9f22517b1217dc0f7bfc02253cfda8b001eab5c237e95b7da5490ef2ae6
MD5 a9b0780cc18c02db526c69ff22437370
BLAKE2b-256 373452a480284bdfbb96c5cc5f2123408121155d2ff97229083cb831129aaa28

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