Citrinet-512 model with kernel scaling factor (gamma) of 25%, which has been trained on the ASR Set dataset with over 7000 hours of english speech.
It utilizes a Google SentencePiece [1] tokenizer with vocabulary size 1024, and transcribes text in lower case english alphabet along with spaces, apostrophes and a few other characters.
Citrinet is a deep residual convolutional neural network architecture that is optimized for Automatic Speech Recognition tasks. There are many variants of the Citrinet family of models, which are further discussed in the paper [2].
These models were trained on a composite dataset comprising of several thousand hours of speech, compiled from various publicly available sources. The NeMo toolkit [3] was used for training this model over several hundred epochs on multiple GPUs.
While training this model, we used the following datasets:
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=1024 \
--tokenizer="spe" \
--spe_type="unigram" \
--spe_character_coverage=1.0 \
--no_lower_case \
--log
The performance of Automatic Speech Recognition models is measuring using Word Error Rate. Since this dataset is trained on multiple domains and a much larger corpus, it will generally perform better at transcribing audio in general.
The model obtains the following scores on the following evaluation datasets -
Librispeech dev-clean
Librispeech dev-other
Librispeech test-clean
Librispeech test-other
WSJ Eval 92
WSJ Dev 93
NSC Part 1
Note that these scores on Librispeech are not particularly indicative of the quality of transcriptions that models trained on ASR Set will achieve, but they are a useful proxy.
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_en_citrinet_512_gamma_0_25")
python [NEMO_GIT_FOLDER]/examples/asr/transcribe_speech.py \
pretrained_name="stt_en_citrinet_512_gamma_0_25" \
audio_dir="<DIRECTORY CONTAINING AUDIO FILES>"
This model accepts 16000 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
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.