This collection contains large size versions of Conformer-CTC (around 120M parameters) trained on NeMo ASRSet with around 500 hours of Italian speech.
It utilizes a Google SentencePiece [1] tokenizer with vocabulary size 128, and transcribes speech in lowercase Italian alphabet along with spaces and apostrophes.
Conformer-CTC model is a non-autoregressive variant of Conformer model [2] 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.
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 for these models were built using the text transcripts of the train set with this script.
All the models in this collection are trained on a composite dataset (NeMo ASRSET) comprising of 487 hours of Italian speech:
The tokenizer for this model was built using text corpus provided with the train dataset.
We build a Google Sentencepiece Tokenizer [1] with the following script :
python [NEMO_GIT_FOLDER]/scripts/tokenizers/process_asr_text_tokenizer.py \
--manifest="train_manifest.json" \
--data_root="<OUTPUT DIRECTORY FOR TOKENIZER>" \
--vocab_size=128 \
--tokenizer="spe" \
--spe_type="unigram" \
--spe_character_coverage=1.0 \
--no_lower_case \
--log
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.
Version | Tokenizer | Vocabulary Size | MCV 11.0 Dev | MCV 11.0 Test | MLS Dev | MLS Test | VoxPopuli Dev | VoxPopuli Test | Train Dataset |
---|---|---|---|---|---|---|---|---|---|
1.13.0 | SentencePiece Unigram | 128 | 6.65 | 7.20 | 14.77 | 11.76 | 14.77 | 18.06 | NeMo ASRSET It 2.0 |
You can combine this model with external language models to further improve WER. The table below shows results of beam search decoding with 5-gram KenLM model (included with this NGC model). To train 5-gram language model only the transcriptions from the training dataset were used.
Language Modeling | MCV 11.0 Dev | MCV 11.0 Test | MLS Dev | MLS Test | VoxPopuli Dev | VoxPopuli Test | Comment |
---|---|---|---|---|---|---|---|
N-gram LM | 5.38 | 5.92 | 13.16 | 10.62 | 13.43 | 16.75 | N=5, beam_width=128, n_gram_alpha=2.0, n_gram_beta=2.0 |
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.
import nemo.collections.asr as nemo_asr
asr_model = nemo_asr.models.EncDecCTCModelBPE.from_pretrained(model_name="stt_it_conformer_ctc_large")
python [NEMO_GIT_FOLDER]/examples/asr/transcribe_speech.py \
pretrained_name="stt_es_conformer_ctc_large" \
audio_dir="<DIRECTORY CONTAINING AUDIO FILES>"
This model accepts 16 KHz Mono-channel Audio (wav files) as input.
This model provides transcribed speech as a string for a given audio sample.
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.
[1] Google Sentencepiece Tokenizer
[2] Conformer: Convolution-augmented Transformer for Speech Recognition
License to use this model is covered by the CC-BY-4 License 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 CC-BY-4 License.