STT Ca Conformer-CTC Large
Model
STT Ca Conformer-CTC Large

Conformer-CTC-Large model for Catalan automatic speech recognition, trained on MCV 9.0 dataset.

  • Model Overview

    This collection contains large size versions of Conformer-CTC (around 120M parameters) trained on MCV-9.0 Catalan dataset.

    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 [3] was used for training the models for over several hundred epochs. These model are trained with this example script and this base config.

    The tokenizers [2] for these models were built using the text transcripts of the train set with this script, and can be found inside the .nemo files.

    The vocabulary we use contains 44 characters: [' ', "'", '-', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '·', 'à', 'á', 'ç', 'è', 'é', 'í', 'ï', 'ñ', 'ò', 'ó', 'ú', 'ü', 'ı', '–', '—']

    Full config can be found inside the .nemo files.

    Datasets

    All the models in this collection are trained on MCV-9.0 Catalan dataset, which contains around 1203 hours training, 28 hours of development and 27 hours of testing speech audios.

    Performance

    The list of the available models in this collection is shown in the following table. Performances of the ASR models are reported in terms of Word Error Rate (WER%) with greedy decoding.

    VersionTokenizerVocabulary SizeDev WERTest WERTrain Dataset
    1.11.0SentencePiece Unigram1284.704.27MCV-9.0 Train set

    You may use language models (LMs) and beam search to improve the accuracy of the models, as reported in the follwoing table.

    Language ModelTest WERTest WER w/ Oracle LMTrain DatasetSettings
    N-gram LM3.771.54MCV-9.0 Train setN=6, beam_width=128, ngram_alpha=1.5, ngram_beta=2.0

    How to Use this Model

    The model is available for use in the NeMo toolkit [3], 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_ca_conformer_ctc_large")
    

    Transcribing text with this model

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

    Input

    This model accepts 16 kHz mono-channel audio (wav files) as input.

    Output

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

    Limitations

    Since all models are trained on just MCV-9.0 dataset, 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.

    Reference

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

    [2] Google Sentencepiece Tokenizer

    [3] 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
    Latest Version1.11.0
    UpdatedApril 4, 2023 UTC
    Compressed Size464.15 MB