speechbrain / spkrec-xvect-voxceleb

huggingface.co
Total runs: 230.8K
24-hour runs: 0
7-day runs: 0
30-day runs: -24.5K
Model's Last Updated: February 26 2024
audio-classification

Introduction of spkrec-xvect-voxceleb

Model Details of spkrec-xvect-voxceleb



Speaker Verification with xvector embeddings on Voxceleb

This repository provides all the necessary tools to extract speaker embeddings with a pretrained TDNN model using SpeechBrain. The system is trained on Voxceleb 1+ Voxceleb2 training data.

For a better experience, we encourage you to learn more about SpeechBrain . The given model performance on Voxceleb1-test set (Cleaned) is:

Release EER(%)
05-03-21 3.2
Pipeline description

This system is composed of a TDNN model coupled with statistical pooling. The system is trained with Categorical Cross-Entropy Loss.

Install SpeechBrain

First of all, please install SpeechBrain with the following command:

pip install speechbrain

Please notice that we encourage you to read our tutorials and learn more about SpeechBrain .

Compute your speaker embeddings
import torchaudio
from speechbrain.inference.speaker import EncoderClassifier
classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-xvect-voxceleb", savedir="pretrained_models/spkrec-xvect-voxceleb")
signal, fs = torchaudio.load('tests/samples/ASR/spk1_snt1.wav')
embeddings = classifier.encode_batch(signal)

The system is trained with recordings sampled at 16kHz (single channel). The code will automatically normalize your audio (i.e., resampling + mono channel selection) when calling classify_file if needed. Make sure your input tensor is compliant with the expected sampling rate if you use encode_batch and classify_batch .

Inference on GPU

To perform inference on the GPU, add run_opts={"device":"cuda"} when calling the from_hparams method.

Training

The model was trained with SpeechBrain (aa018540). To train it from scratch follows these steps:

  1. Clone SpeechBrain:
git clone https://github.com/speechbrain/speechbrain/
  1. Install it:
cd speechbrain
pip install -r requirements.txt
pip install -e .
  1. Run Training:
cd  recipes/VoxCeleb/SpeakerRec/
python train_speaker_embeddings.py hparams/train_x_vectors.yaml --data_folder=your_data_folder

You can find our training results (models, logs, etc) here .

Limitations

The SpeechBrain team does not provide any warranty on the performance achieved by this model when used on other datasets.

Referencing xvectors
  author    = {David Snyder and
               Daniel Garcia{-}Romero and
               Alan McCree and
               Gregory Sell and
               Daniel Povey and
               Sanjeev Khudanpur},
  title     = {Spoken Language Recognition using X-vectors},
  booktitle = {Odyssey 2018},
  pages     = {105--111},
  year      = {2018},
}

Citing SpeechBrain

Please, cite SpeechBrain if you use it for your research or business.

@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}
}

Runs of speechbrain spkrec-xvect-voxceleb on huggingface.co

230.8K
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
-24.5K
30-day runs

More Information About spkrec-xvect-voxceleb huggingface.co Model

More spkrec-xvect-voxceleb license Visit here:

https://choosealicense.com/licenses/apache-2.0

spkrec-xvect-voxceleb huggingface.co

spkrec-xvect-voxceleb huggingface.co is an AI model on huggingface.co that provides spkrec-xvect-voxceleb's model effect (), which can be used instantly with this speechbrain spkrec-xvect-voxceleb model. huggingface.co supports a free trial of the spkrec-xvect-voxceleb model, and also provides paid use of the spkrec-xvect-voxceleb. Support call spkrec-xvect-voxceleb model through api, including Node.js, Python, http.

spkrec-xvect-voxceleb huggingface.co Url

https://huggingface.co/speechbrain/spkrec-xvect-voxceleb

speechbrain spkrec-xvect-voxceleb online free

spkrec-xvect-voxceleb huggingface.co is an online trial and call api platform, which integrates spkrec-xvect-voxceleb's modeling effects, including api services, and provides a free online trial of spkrec-xvect-voxceleb, you can try spkrec-xvect-voxceleb online for free by clicking the link below.

speechbrain spkrec-xvect-voxceleb online free url in huggingface.co:

https://huggingface.co/speechbrain/spkrec-xvect-voxceleb

spkrec-xvect-voxceleb install

spkrec-xvect-voxceleb is an open source model from GitHub that offers a free installation service, and any user can find spkrec-xvect-voxceleb on GitHub to install. At the same time, huggingface.co provides the effect of spkrec-xvect-voxceleb install, users can directly use spkrec-xvect-voxceleb installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

spkrec-xvect-voxceleb install url in huggingface.co:

https://huggingface.co/speechbrain/spkrec-xvect-voxceleb

Url of spkrec-xvect-voxceleb

spkrec-xvect-voxceleb huggingface.co Url

Provider of spkrec-xvect-voxceleb huggingface.co

speechbrain
ORGANIZATIONS

Other API from speechbrain

huggingface.co

Total runs: 2.4K
Run Growth: -474
Growth Rate: -19.99%
Updated:February 26 2024