Nendo Plugin Transcribe Whisper
A nendo plugin for speech transcription, based on Whisper by OpenAI.
Features
- Fast speech transcription with optional word-level timestamps.
Requirements
Since we depend on transformers, please make sure that you fulfill their requirements.
You also need Pytorch installed on your system, please refer to the pytorch installation instructions.
Installation
- Install Nendo
pip install nendo-plugin-transcribe-whisper
If you have a cuda GPU on your machine you can also install flash-attn to get an additional speedup:
pip install flash-attn --no-build-isolation
Then set ATTN_IMPLEMENTATION=flash_attention_2 in your environment variables.
Usage
>>> from nendo import Nendo
>>> nd = Nendo(plugins=["nendo_plugin_transcribe_whisper"])
>>> track = nd.library.add_track(file_path="path/to/file.mp3")
>>> nd.plugins.transcribe_whisper(track=track)
>>> track.get_plugin_value("transcription")
Contributing
Visit our docs to learn all about how to contribute to Nendo: Contributing
License
Nendo: MIT License
Pretrained models: The weights are released under the Apache 2.0 license.
Release files for nendo-plugin-transcribe-whisper 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nendo_plugin_transcribe_whisper-0.1.0.tar.gz | 5.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nendo_plugin_transcribe_whisper-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / nendo_plugin_transcribe_whisper-0.1.0.tar.gz
| Download URL | nendo_plugin_transcribe_whisper-0.1.0.tar.gz |
|---|---|
| Size | 5.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9c5326476588e41495c41838a1f975b88973733f16d9b68d3f3c81a74c92b78
|
|
BLAKE2b-256 checksum How to use checksums |
a4f1d3401aedb19b1a2650d10872524f885129a6114ce6dc4a72bea373613256
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.16 Linux/6.6.11_1
|
Release files / nendo_plugin_transcribe_whisper-0.1.0-py3-none-any.whl
| Download URL | nendo_plugin_transcribe_whisper-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b90d094e63f345a7fc6cdefc6fd8e430921690e899f3a45a4d1fbc5016be0131
|
|
BLAKE2b-256 checksum How to use checksums |
608e1ed3c433c9733ae6ada8d9b7b8e39c1a5a8b074f98feb1666ed933b84b58
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.9.16 Linux/6.6.11_1
|