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.4.tar.gz
.
File metadata
- Download URL: whisper-ctranslate2-0.0.4.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 | 3192d1a462edd011cd1ab10c3b1882d604af699c3b24ac92e4fdd65937b3c142 |
|
MD5 | a7cb4fba44706973129e00c54d35f118 |
|
BLAKE2b-256 | 842d494f56ce218d6f1079fb71bc5fd4426a3545ed3e5d4a9704c3d030580b3a |
File details
Details for the file whisper_ctranslate2-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: whisper_ctranslate2-0.0.4-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 | 367c93502acbcce66d68724dc587225612f4c3ea85bb4fb979ffa14784f32624 |
|
MD5 | 34dd89a761ab34463603e25a5839dc6a |
|
BLAKE2b-256 | 30ce89dd4a9553017888af6999dee3a082445fde757850c4ade82d54e3aef24d |