Bump torch from 1.4.0 to 2.8.0 |
||
|---|---|---|
| jasper | ||
| .flake8 | ||
| .gitignore | ||
| LICENSE | ||
| Notes.md | ||
| README.md | ||
| setup.py | ||
| validation_ui.py | ||
README.md
Jasper ASR
Generates text from speech audio
Table of Contents
Prerequisites
# apt install libsndfile-dev ffmpeg
Features
- ASR using Jasper (from NemoToolkit )
Installation
To install the packages and its dependencies run.
python setup.py install
or with pip
pip install .[server]
The installation should work on Python 3.6 or newer. Untested on Python 2.7
Usage
from jasper.asr import JasperASR
asr_model = JasperASR("/path/to/model_config_yaml","/path/to/encoder_checkpoint","/path/to/decoder_checkpoint") # Loads the models
TEXT = asr_model.transcribe(wav_data) # Returns the text spoken in the wav