NGC | Catalog
Welcome Guest


For downloads and more information, please view on a desktop device.
Logo for TitaNet-L


TitaNet model for Speaker Verification and Diarization tasks



Use Case

Speaker Diarization



Latest Version



December 7, 2021


90.43 MB

Model Overview

Speaker Recognition is a broad research area that solves two major tasks: speaker identification (who is speaking?) and speaker verification (is the speaker who they claim to be?). In this work, we focus on far-field, text-independent speaker recognition when the identity of the speaker is based on how the speech is spoken, not necessarily on what is being said. Typically such SR systems operate on unconstrained speech utterances, which are converted into vectors of fixed length, called speaker embeddings. Speaker embeddings are also used in automatic speech recognition (ASR) and speech synthesis.

This model with contextnet based encoder[1] is trained end-to-end using angular softmax loss for speaker verification and diarization purposes and for extracting speaker embeddings

Model Architecture

TitaNet-L (large) models employ 1D depth-wise separable convolutions with Squeezeand-Excitation (SE) layers with global context followed by channel attention based statistics pooling layer to map variable-length utterances to a fixed-length embedding (tvector).[1]


These models were trained on a composite dataset comprising of several thousand hours of speech, compiled from various publicly available sources. The NeMo toolkit [2] was used for training this model over few hundred epochs on multiple GPUs.


The following datasets are used for training


This is TitaNet-L model which is based on 1D convolutions, residual connections and SEs structure with 25.3M parameters achieves 0.68% EER on voxceleb clean test trial file and Also achieves the following diarization results on common evaluation datasets (without finetuning on any dev set):

ORACLEKNOWN #SPEAKERS 6.73 2.03 1.73 1.19
ORACLEUNKNOWN #SPEAKERS 5.38 2.03 1.89 1.63

How to use this model

For training and extracting embeddings detailed step by step, procedure has provided in Speaker Verification notebook. and Embeddings extraction script

For a single audio file, one can also extract embeddings inline using

import nemo.collections.asr as nemo_asr
speaker_model = nemo_asr.models.EncDecSpeakerLabelModel.from_pretrained(model_name='titanet_large')
embs = speaker_model.get_embedding('audio_path')


This model accepts 16000 KHz Mono-channel Audio (wav files) as input.


This model provides embeddings of size 192 from a speaker for a given audio sample.


This model is trained on both telephonic and non-telephonic speech from voxceleb datasets, Fisher and switch board. If your domain of data differs from trained data or doesnot show relatively good performance consider finetuning for that speech domain.


[1] TitaNet: Neural Model for speaker representation with 1D Depth-wise separable convolutions and global context [2] NVIDIA NeMo Toolkit


License to use this model is covered by the license of the NeMo Toolkit [2]. By downloading the public and release version of the model, you accept the terms and conditions of this license.