speechbrain/speechbrain

★ 11,822⑂ 0

A PyTorch-based Speech Toolkit

About speechbrain/speechbrain

speechbrain/speechbrain is an open-source project on GitHub, mainly written in Python. A PyTorch-based Speech Toolkit It currently holds 11,822 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the AI Audio Projects board and on the AI AI Audio Projects list.

GitHub Repository Details

Repository speechbrain/speechbrain · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

https://github.com/speechbrain/speechbrain/blob/HEAD/SpeechBrain Logo

Typing SVG

| 📘 Tutorials | 🌐 Website | 📚 Documentation | 🤝 Contributing | 🤗 HuggingFace | ▶️ YouTube | 🐦 X |

GitHub Repo stars Please, help our community project. Star on GitHub!

Exciting News (January, 2024): Discover what is new in SpeechBrain 1.0 here!

# 🗣️💬 What SpeechBrain Offers

🌐 Vision

📚 Training Recipes

python train.py hparams/train.yaml

https://github.com/speechbrain/speechbrain/blob/HEAD/drawing Pretrained Models and Inference

from speechbrain.inference import EncoderDecoderASR

asr_model = EncoderDecoderASR.from_hparams(source="speechbrain/asr-conformer-transformerlm-librispeech", savedir="pretrained_models/asr-transformer-transformerlm-librispeech") asr_model.transcribe_file("speechbrain/asr-conformer-transformerlm-librispeech/example.wav")

https://github.com/speechbrain/speechbrain/blob/HEAD/drawing Documentation

🎯 Use Cases

# 🚀 Quick Start

To get started with SpeechBrain, follow these simple steps:

🛠️ Installation

Install via PyPI

1. Install SpeechBrain using PyPI:

    pip install speechbrain
    

2. Access SpeechBrain in your Python code:

    import speechbrain as sb
    

Install from GitHub

This installation is recommended for users who wish to conduct experiments and customize the toolkit according to their needs.

1. Clone the GitHub repository and install the requirements:

    git clone https://github.com/speechbrain/speechbrain.git
    cd speechbrain
    pip install -r requirements.txt
    pip install --editable .
    

2. Access SpeechBrain in your Python code:

    import speechbrain as sb
    

Any modifications made to the speechbrain package will be automatically reflected, thanks to the --editable flag.

✔️ Test Installation

Ensure your installation is correct by running the following commands:

pytest tests
pytest --doctest-modules speechbrain

🏃‍♂️ Running an Experiment

In SpeechBrain, you can train a model for any task using the following steps:

cd recipes///
python experiment.py params.yaml

The results will be saved in the output_folder specified in the YAML file.

📘 Learning SpeechBrain

# 🔧 Supported Technologies

🎙️ Speech/Audio Processing

| Tasks | Datasets | Technologies/Models | | ------------- |-------------| -----| | Speech Recognition | AISHELL-1, CommonVoice, DVoice, LibriSpeech, MEDIA, RescueSpeech, Switchboard, TIMIT, Tedlium2, Voicebank | CTC, Transducers, Transformers, Seq2Seq, Beamsearch techniques for CTC,seq2seq,transducers), Rescoring, Conformer, Branchformer, Hyperconformer, Kaldi2-FST | | Speaker Recognition | VoxCeleb | ECAPA-TDNN, ResNET, Xvectors, PLDA, Score Normalization | | Speech Separation | WSJ0Mix, LibriMix, WHAM!, WHAMR!, Aishell1Mix, BinauralWSJ0Mix | SepFormer, RESepFormer, SkiM, DualPath RNN, ConvTasNET | | Speech Enhancement | DNS, Voicebank | SepFormer, MetricGAN, MetricGAN-U, SEGAN, spectral masking, time masking | | Interpretability | ESC50 | Listenable Maps for Audio Classifiers (L-MAC), Learning-to-Interpret (L2I), Non-Negative Matrix Factorization (NMF), PIQ | | Speech Generation | AudioMNIST | Diffusion, Latent Diffusion | | Text-to-Speech | LJSpeech, LibriTTS | Tacotron2, Zero-Shot Multi-Speaker Tacotron2, FastSpeech2 | | Vocoding | LJSpeech, LibriTTS | HiFiGAN, DiffWave | Spoken Language Understanding | MEDIA, SLURP, Fluent Speech Commands, Timers-and-Such | Direct SLU, Decoupled SLU, Multistage SLU | | Speech-to-Speech Translation | CVSS | Discrete Hubert, HiFiGAN, wav2vec2 | | Speech Translation | Fisher CallHome (Spanish), IWSLT22(lowresource) | wav2vec2 | | Emotion Classification | IEMOCAP, ZaionEmotionDataset | ECAPA-TDNN, wav2vec2, Emotion Diarization | | Language Identification | VoxLingua107, CommonLanguage| ECAPA-TDNN | | Voice Activity Detection | LibriParty | CRDNN | | Sound Classification | ESC50, UrbanSound | CNN14, ECAPA-TDNN | | Self-Supervised Learning | CommonVoice, LibriSpeech | wav2vec2 | | Metric Learning | REAL-M, Voicebank | Blind SNR-Estimation, PESQ Learning | | Alignment | TIMIT | CTC, Viterbi, Forward Forward | | Diarization | AMI | ECAPA-TDNN, X-vectors, Spectral Clustering |

📝 Text Processing

| Tasks | Datasets | Technologies/Models | | ------------- |-------------| -----| | Language Modeling | CommonVoice, LibriSpeech| n-grams, RNNLM, TransformerLM | | Response Generation | MultiWOZ| GPT2, Llama2 | | Grapheme-to-Phoneme | LibriSpeech | RNN, Transformer, Curriculum Learning, Homograph loss |

🧠 EEG Processing

| Tasks | Datasets | Technologies/Models | | ------------- |-------------| -----| | Motor Imagery | BNCI2014001, BNCI2014004, BNCI2015001, Lee2019_MI, Zhou201 | EEGNet, ShallowConvNet, EEGConformer | | P300 | BNCI2014009, EPFLP300, bi2015a, | EEGNet | | SSVEP | Lee2019_SSVEP | EEGNet |

🔍 Additional Features

SpeechBrain includes a range of native functionalities that enhance the development of Conversational AI technologies. Here are some examples:

SpeechBrain is rapidly evolving, with ongoing efforts to support a growing array of technologies in the future.

📊 Performance

# 📜 License

# 🔮Future Plans

We have ambitious plans for the future, with a focus on the following priorities:

# 🤝 Contributing

# 🙏 Sponsors

https://github.com/speechbrain/speechbrain/blob/HEAD/Image 1     https://github.com/speechbrain/speechbrain/blob/HEAD/Image 3     https://github.com/speechbrain/speechbrain/blob/HEAD/Image 4



https://github.com/speechbrain/speechbrain/blob/HEAD/Image 5     https://github.com/speechbrain/speechbrain/blob/HEAD/Image 2     https://github.com/speechbrain/speechbrain/blob/HEAD/Image 6



https://github.com/speechbrain/speechbrain/blob/HEAD/Image 7     https://github.com/speechbrain/speechbrain/blob/HEAD/Image 9     https://github.com/speechbrain/speechbrain/blob/HEAD/Image 8    

# 📖 Citing SpeechBrain

If you use SpeechBrain in your research or business, please cite it using the following BibTeX entry:

@article{speechbrain_v1,
  author  = {Mirco Ravanelli and Titouan Parcollet and Adel Moumen and Sylvain de Langen and Cem Subakan and Peter Plantinga and Yingzhi Wang and Pooneh Mousavi and Luca Della Libera and Artem Ploujnikov and Francesco Paissan and Davide Borra and Salah Zaiem and Zeyu Zhao and Shucong Zhang and Georgios Karakasidis and Sung-Lin Yeh and Pierre Champion and Aku Rouhe and Rudolf Braun and Florian Mai and Juan Zuluaga-Gomez and Seyed Mahed Mousavi and Andreas Nautsch and Ha Nguyen and Xuechen Liu and Sangeet Sagar and Jarod Duret and Salima Mdhaffar and Ga{{\"e}}lle Laperri{{\e}}re and Mickael Rouvier and Renato De Mori and Yannick Est{{\e}}ve},
  title   = {Open-Source Conversational AI with SpeechBrain 1.0},
  journal = {Journal of Machine Learning Research},
  year    = {2024},
  volume  = {25},
  number  = {333},
  url     = {http://jmlr.org/papers/v25/24-0991.html}
}

@misc{speechbrain, title={{SpeechBrain}: A General-Purpose Speech Toolkit}, author={Mirco Ravanelli and Titouan Parcollet and Peter Plantinga and Aku Rouhe and Samuele Cornell and Loren Lugosch and Cem Subakan and Nauman Dawalatabad and Abdelwahab Heba and Jianyuan Zhong and Ju-Chieh Chou and Sung-Lin Yeh and Szu-Wei Fu and Chien-Feng Liao and Elena Rastorgueva and François Grondin and William Aris and Hwidong Na and Yan Gao and Renato De Mori and Yoshua Bengio}, year={2021}, eprint={2106.04624}, archivePrefix={arXiv}, primaryClass={eess.AS}, note={arXiv:2106.04624} }

GitHub Stars & Activity

11,822Stars
0Forks
0Open issues
PythonLanguage

GitHub Popularity

GitHub stars11,822
Forks0
Open issues0
Primary languagePython
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related AI Projects

1

huggingface / transformers

Python★ 166,221⑂ 0
2

harry0703 / MoneyPrinterTurbo

Python★ 124,071⑂ 0
3

unslothai / unsloth

Python★ 76,216⑂ 0
4

RVC-Boss / GPT-SoVITS

Python★ 61,795⑂ 0
5

calesthio / OpenMontage

Python★ 59,377⑂ 0
6

coqui-ai / TTS

Python★ 46,016⑂ 0
7

2noise / ChatTTS

Python★ 39,845⑂ 0
8

OpenBMB / VoxCPM

Python★ 37,599⑂ 0

More AI Rankings