This collection contains large size versions of Conformer-CTC (around 120M parameters) trained on Mozilla Common Voice 9.0 Kinyarwanda dataset with around 2000 hours of Kinyarwanda speech. The model transcribes speech in lower case latin alphabet along with spaces and apostrophes.
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.
The NeMo toolkit [2] was used for training the models for over several hundred epochs. These models are trained with this example script and this base config.
Mozilla Common Voice (v9.0) Kinyarwanda dataset
The tokenizer for this model was built using text corpus provided with the train dataset.
We build a Google Sentencepiece Tokenizer [3] with the following script:
python [NEMO_GIT_FOLDER]/scripts/tokenizers/process_asr_text_tokenizer.py \
--manifest=dev_manifest.json,train_manifest.json \
--vocab_size=128 \
--data_root="" \
--tokenizer="spe" \
--spe_type=bpe \
--spe_character_coverage=1.0 \
--spe_max_sentencepiece_length=2
--log
The performance of Automatic Speech Recognition models is measured using Word Error Rate(WER) and Character Error Rate(CER).
The model obtains the following scores on the Mozilla Common Voice test set: 18.22 % WER, 5.45 % CER
The model is available for use in the NeMo toolkit [2], 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_rw_conformer_ctc_large")
python [NEMO_GIT_FOLDER]/examples/asr/transcribe_speech.py \
pretrained_name="stt_rw_conformer_ctc_large" \
audio_dir="<DIRECTORY CONTAINING AUDIO FILES>"
This model accepts 16000 Hz 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] Conformer: Convolution-augmented Transformer for Speech Recognition
[3] 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.