NGC | Catalog
Welcome Guest
CatalogModelsSTT En Es Conformer CTC Large

STT En Es Conformer CTC Large

For downloads and more information, please view on a desktop device.
Logo for STT En Es Conformer CTC Large

Description

English and Spanish ASR Conformer CTC Large Model

Publisher

NVIDIA

Use Case

Other

Framework

PyTorch

Latest Version

1.0.0

Modified

March 29, 2022

Size

464.84 MB

Model Overview

Conformer-CTC Large model, which was initially pre-trained on the English NeMo ASRSet with around 16000 hours of english speech and then finetuned on a combination of Spanish and English labeled speech data.

It can transcribe audio samples into English or Spanish. The language is detected automatically.

We started with the english Conformer-CTC large model and finetuned it using labelled Spanish portions of the Mozilla CommonVoice (MCV7.0) [2], Multilingual LibriSpeech (MLS) [3], and Voxpopuli [4] training sets, as well as a subset of the Spanish Fisher dataset [5, 6], plus English Librispeech [7]. This amounted to 1,340 hours of Spanish training data and 960 hours of English data.

Model Architecture

Conformer-CTC model is a non-autoregressive variant of Conformer model [1] for Automatic Speech Recognition which uses CTC loss/decoding instead of Transducer. You may find more info on the detail of this model here: Conformer-CTC Model.

Training

The NeMo toolkit [8] was used for training this model over several hundred epochs on multiple GPUs using bfloat16.

Datasets

While finetuning this model, we used the following datasets:

  • Mozilla Common Voice 7.0 (Spanish) - 289 hours of training data after data cleaning
  • Multilingual LibriSpeech (Spanish) - 801 hours of training data after data cleaning
  • Voxpopuli transcribed subset (Spanish) - 110 hours of training data after data cleaning
  • Fisher dataset (Spanish) - 140 hours of training data after data cleaning
  • Librispeech (English) - 960 hours of training data

Performance

The performance of Automatic Speech Recognition models is measured using Word Error Rate (WER).

The model obtains the following greedy scores on the following evaluation datasets:

  • 5.8 % WER on MCV7.0 dev set (es)
  • 3.5 % WER on MLS dev set (es)
  • 5.7 % WER on Voxpopuli dev set (es)
  • 16.7 % WER on Fisher dev set (es)
  • 2.2 % WER on LibriSpeech dev-clean (en)
  • 2.7 % WER on LibriSpeech test-clean (en)
  • 5.5 % WER on LibriSpeech dev-other (en)
  • 5.5 % WER on LibriSpeech test-other (en)

The model was not trained on the above datasets.

How to Use this Model

The model is available for use in the NeMo toolkit [5], and can be used as a pre-trained checkpoint for inference or for fine-tuning on another dataset.

Automatically load the model from NGC

import nemo.collections.asr as nemo_asr
asr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(model_name="stt_enes_conformer_ctc_large")

Transcribing text with this model

python [NEMO_GIT_FOLDER]/examples/asr/transcribe_speech.py \
  pretrained_name="stt_enes_conformer_ctc_large" \
  audio_dir=""

Input

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

Output

This model provides transcribed speech as a string for a given audio sample. The output string may contain English or Spanish characters, depending on the detected language in the audio sample.

Limitations

Since this model was trained on publicly available speech datasets, the performance of this model might degrade for speech which includes technical terms, or vernacular that the model has not been trained on. The model might also perform worse for accented speech.

Finally, the model may not peform well on true "code-switching" samples, where each sample contains more than one language. This is because the model was trained only on samples where each sample had only one language. We will address this in the future releases.

References

[1] Conformer: Convolution-augmented Transformer for Speech Recognition

[2] Mozilla CommonVoice (MCV7.0)

[3] Multilingual LibriSpeech (MLS)

[4] VoxPopuli: A Large-Scale Multilingual Speech Corpus for Representation Learning, Semi-Supervised Learning and Interpretation

[5] Fisher Spanish - Transcripts

[6] Fisher Spanish Speech

[7] LibriSpeech ASR Corpus

[8] NVIDIA NeMo Toolkit

[9] CALLHOME Spanish Transcripts

[10] CALLHOME Spanish Speech

License

License to use this model is covered by the NGC TERMS OF USE unless another License/Terms Of Use/EULA is clearly specified. By downloading the public and release version of the model, you accept the terms and conditions of the NGC TERMS OF USE.