NVIDIA
NVIDIA
STT Es Quartznet15x5
Model
NVIDIA
NVIDIA
STT Es Quartznet15x5

Speech To Text (STT) model based on QuartzNet for recognizing Spanish speech.

  • Model Overview

    This model is based on the QuartzNet architecture [1]. The pre-trained models here can be used immediately for fine-tuning or dataset evaluation.

    It utilizes a character encoding scheme, and transcribes text in the standard character set that is provided in the Spanish portion of Common Voice from Mozilla (MCV) [2].

    Model Architecture

    The Quartznet model is composed of multiple blocks with residual connections between them, trained with CTC loss. Each block consists of one or more modules with 1D time-channel separable convolutional layers, batch normalization, and ReLU layers.

    The Quartznet 15x5 model consists of 79 layers and has a total of 18.9 million parameters, with five blocks that repeat fifteen times plus four additional convolutional layers [1].

    Training

    This model was fine-tuned from English language to Spanish. We took an encoder from the English version of QuartzNet network trained on ~3,000 hours of public English data. Then we changed the model's decoder to output characters from Spanish alphabet and fine-tuned this model using Spanish portion of Common Voice from Mozilla (MCV) [2]. We trained it on non-dev and non-test validated clips from Mozilla Common Voice version 6.0.

    See details of the training procedure here [3].

    Datasets

    While training this model, we used the following datasets:

    • Librispeech 960 hours of English speech (pre-training)
    • Fisher Corpus (pre-training)
    • Switchboard-1 Dataset (pre-training)
    • WSJ-0 and WSJ-1 (pre-training)
    • Mozilla Common Voice (Spanish) (fine-tuning)

    Performance

    The performance of Automatic Speech Recognition models is measuring using Word Error Rate.

    The model obtains the following scores on the following evaluation datasets -

    • 12.9 % on the dev set from Spanish MCV dataset.

    Note that these scores on this evaluation sets are not particularly indicative of the quality of transcriptions that models trained on ASR Set will achieve, but they are a useful proxy.

    How to Use this Model

    The model is available for use in the NeMo toolkit [4], 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.EncDecCTCModel.from_pretrained(model_name="stt_es_quartznet15x5")
    

    Transcribing text with this model

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

    Input

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

    Output

    This model provides transcribed speech as a string for a given audio sample.

    Limitations

    Since this model was trained on publically 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.

    This model was trained on relatively small amount of speech data. It's performance will vary greatly based on your application and audio. We recommend using it as a starting point for fine-tuning your own models.

    References

    [1] Kriman, Samuel, et al. "Quartznet: Deep automatic speech recognition with 1d time-channel separable convolutions." ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). IEEE, 2020.

    [2] Mozilla Common Voice

    [3] Huang, Jocelyn, et al. "Cross-Language Transfer Learning, Continuous Learning, and Domain Adaptation for End-to-End Automatic Speech Recognition." arXiv preprint arXiv:2005.04290 (2020).

    [4] NVIDIA NeMo Toolkit

    Licence

    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.

    Publisher
    NVIDIA
    NVIDIA
    Latest Version1.0.0rc1
    UpdatedApril 4, 2023 UTC
    Compressed Size67.82 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.