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
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
To translate:
whisper-ctranslate2 inaguracio2011.mp3 --model medium --task translate
Contact
Jordi Mas jmas@softcatala.org
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file whisper-ctranslate2-0.0.3.tar.gz
.
File metadata
- Download URL: whisper-ctranslate2-0.0.3.tar.gz
- Upload date:
- Size: 11.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c35f59b842683d30125b861d619ebb31cbe900b82258d6d697b1f49b9f83bbf |
|
MD5 | d051928f51d43454ec16d8f4a5167ff0 |
|
BLAKE2b-256 | 1525447c4a1736d253ab083243c5cea60288f3f160b0a5c691045a3f964dd1c4 |
File details
Details for the file whisper_ctranslate2-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: whisper_ctranslate2-0.0.3-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06a7669921343d5d2395c206d0aea3aa8bd8b3df436d95e17dfdae0160e64b35 |
|
MD5 | 9bbba72bb76aad8bac03abcfb21201c0 |
|
BLAKE2b-256 | 2ac18680991a00214096ae17a873bc32fc1f7db6bd3fdf456bed8482e305fcd9 |