SpeechBrain PyTorch Conversational AI and Speech Processing Toolkit
SpeechBrain is an open-source PyTorch toolkit that accelerates conversational AI development. It provides recipes and pretrained models for speech recognition, speaker verification, speech enhancement, speech separation, language modeling, and text-to-speech across 40+ datasets.
Installation
Use the upstream install or setup path that matches your environment:
- pip install speechbrain
- git clone https://github.com/speechbrain/speechbrain.git
- pip install -r requirements.txt
- pip install --editable .
Requirements and caveats from upstream:
- python
- python train.py hparams/train.yaml
- The hyperparameters are encapsulated in a YAML file, while the training process is orchestrated through a Python script.
Basic usage or getting-started notes:
asr_model.transcribe_file("speechbrain/asr-conformer-transformerlm-librispeech/example.wav")
Every class or function has clear explanations and examples that you can run. Check out the documentation for more details 📚.
🚀 Quick Start
Extracted from upstream docs: https://raw.githubusercontent.com/speechbrain/speechbrain/HEAD/README.md