NVIDIA
NVIDIA
Speech to Text English QuartzNet
Model
NVIDIA
NVIDIA
Speech to Text English QuartzNet

Speech to Text Quartznet model for English.

Speech Recognition: QuartzNet Model Card

Model Overview

QuartzNet models are end-to-end neural automatic speech recognition (ASR) models that transcribe segments of audio to text.

Model Architecture

These models are based on the QuartzNet architecture, which is a variant of Jasper that uses 1D time-channel separable convolutional layers in its convolutional residual blocks and are therefore smaller than Jasper models.

QuartzNet models take in audio segments and transcribe them to letter, byte pair, or word piece sequences. The pretrained models here can be used immediately for fine-tuning or dataset evaluation.

Intended Use

Primary use case intended for these models is automatic speech recognition.

Input: Single-channel audio files (WAV) with a 16kHz sample rate

Output: Transcripts, which are sequences of valid vocabulary labels as given by the specification file

How to Use This Model

QuartzNet is an end-to-end architecture that is trained using CTC loss. These model checkpoints are intended to be used with the Transfer Learning Toolkit (TLT). In order to use these checkpoints, there should be a specification file (.yaml) that specifies hyperparameters, datasets for training and evaluation, and any other information needed for the experiment. For more information on the experiment spec files for each use case, please refer to the Transfer Learning Toolkit User Guide.

The model is encrypted and will only operate with the model encryption key tlt_encode.

To fine-tune from a model checkpoint (.tlt), use the following command:

!tlt speech-to-text finetune -e <experiment_spec> \
                             -m <model_checkpoint> \
                             -g <num_gpus>

Where the <experiment_spec> parameter should be a valid path to the file that specifies the fine-tuning hyperparameters, the dataset to fine-tune on, the dataset to evaluate on, and whether or not a change of vocabulary from the default (lowercase English letters, space, and apostrophe) is needed.

To evaluate an existing dataset using a model checkpoint (.tlt), use the following command:

!tlt speech-to-text evaluate -e <experiment_spec> \
                             -m <model_checkpoint> \
                             -g <num_gpus>

The <experiment_spec> parameter should be a valid path to the file that specifies the dataset that is being evaluated.

Training Information

This QuartzNet model was trained on a combination of seven datasets of English speech, with a total of 7,133 hours of audio samples. Samples were limited to a minimum duration of 0.1s long, and a maximum duration of 16.7s long. The model was trained for 300 epochs with Apex/Amp optimization level O1.

It achieves a Word Error Rate (WER) of 4.38% on LibriSpeech dev-clean, and a WER of 11.30% on LibriSpeech dev-other.

The datasets included in training are detailed in the table below.

DatasetDuration (h)
LibriSpeech961
Wall Street Journal81
Fisher English Training Speech1,906
Switchboard316
Mozilla Common Voice*1,039
Appen English Speech972
NSC Singapore English (Part 1)1,857

* Only non-dev and non-test validated clips from Mozilla Common Voice version en_1488h_2019-12-10.

Limitations

Currently, TLT QuartzNet models only support training and inference on .wav audio files. All models included here were trained and evaluated on audio files with a sample rate of 16kHz, so for best performance you may need to upsample or downsample audio files to 16kHz.

In addition, the model will perform best on audio samples that are longer than 0.1 seconds long. For training and fine-tuning QuartzNet models, it is recommended that samples are capped at a maximum length of around 15 seconds, depending on the amount of memory available to you. You do not need to place a maximum length limitation for evaluation.

License

By downloading and using the models and resources packaged with TLT Conversational AI, you would be accepting the terms of the Jarvis license

Suggested Reading

Ethical AI

NVIDIA’s platforms and application frameworks enable developers to build a wide array of AI applications. Consider potential algorithmic bias when choosing or creating the models being deployed. Work with the model’s developer to ensure that it meets the requirements for the relevant industry and use case; that the necessary instruction and documentation are provided to understand error rates, confidence intervals, and results; and that the model is being used under the conditions and in the manner intended.

Publisher
NVIDIA
NVIDIA
Latest Versiondeployable_v1.2
UpdatedApril 4, 2023 UTC
Compressed Size67.62 MB

NVIDIA uses cookies to improve your experience on our web site. We and our third-party partners also use cookies and other tools to collect and record information you provide as well as information about your interactions with our websites for performance improvement, analytics, and to assist in marketing efforts. By clicking "Accept All", you consent to our use of cookies and other tools as described in our Cookie Policy. You can manage your cookie settings by clicking on "Manage Settings." By continuing to use this site or by clicking one of the buttons below, you agree to our Terms of Service (which contains important waivers). Please see our Privacy Policy for more information on our privacy practices.