A library to perform automatic speech recognition with huggingface transformers.
Project description
Elpis Core Library
The Core Elpis Library, providing a quick api to :hugs: transformers for automatic-speech-recognition.
You can use the library to:
- Perform standalone inference using a pretrained HFT model.
- Fine tune a pretrained ASR model on your own dataset.
- Generate text and Elan files from inference results for further analysis.
Documentation
Documentation for the library can be be found here.
Dependencies
While we try to be as machine-independant as possible, there are some dependencies you should be aware of when using this library:
- Processing datasets (
elpis.datasets.processing
) requireslibrosa
, which depends on havinglibsndfile
installed on your computer. If you're using elpis within a docker container, you may have to manually installlibsndfile
. - Transcription (
elpis.transcription.transcribe
) requiresffmpeg
if your audio you're attempting to transcribe needs to be resampled before it can be used. The default sample rate we assume is 16khz. - The preprocessing flow (
elpis.datasets.preprocessing
) is free of external dependencies.
Installation
You can install the elpis library with:
pip3 install elpis
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
elpis-0.1.1.tar.gz
(12.8 kB
view details)
Built Distribution
elpis-0.1.1-py3-none-any.whl
(16.3 kB
view details)
File details
Details for the file elpis-0.1.1.tar.gz
.
File metadata
- Download URL: elpis-0.1.1.tar.gz
- Upload date:
- Size: 12.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.6 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4aecf064d4c8d52481ed0f470f687c965edd1079d73e407bdd3642cf621811e4 |
|
MD5 | 68ef7ac8dc8b0674ff6b57ffd72e6b9e |
|
BLAKE2b-256 | c621d54b7bcce44feef3351bd41f5de152e2f85798f257131bccf0380f183389 |
File details
Details for the file elpis-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: elpis-0.1.1-py3-none-any.whl
- Upload date:
- Size: 16.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.13 CPython/3.10.6 Darwin/21.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d324d741c4f9ddaa886528542e5cb779edd6c5a3ab4a57a6edefe862a154e71 |
|
MD5 | 72f853604253c0db358cc8c99f704642 |
|
BLAKE2b-256 | d73506433c2af59ad9b4dec39c116f376097864b3006033016c1f4fdcbd646fe |