FastConformer-Hybrid Large (fr)
This model aims to replicate nvidia/stt_fr_fastconformer_hybrid_large_pc with the goal of predicting only the lowercase French alphabet, hyphen, and apostrophe. While this choice sacrifices broader functionalities like predicting casing, numbers, and punctuation, it can enhance accuracy for specific use cases.
Similar to its sibling, this is a "large" version of the FastConformer Transducer-CTC model (around 115M parameters). It's a hybrid model trained using two loss functions: Transducer (default) and CTC.
Performance
We evaluated our model on the following datasets and re-ran the evaluation on other models for comparison. Please note that the reported WER is the result after converting numbers to text, removing punctuation (except for apostrophes and hyphens), and converting all characters to lowercase.
All the evaluation results can be found here.
Usage
The model is available for use in the NeMo toolkit, and can be used as a pre-trained checkpoint for inference or for fine-tuning on another dataset.
# Install nemo
# !pip install nemo_toolkit['all']
import nemo.collections.asr as nemo_asr
model_name = "bofenghuang/stt_fr_fastconformer_hybrid_large"
asr_model = nemo_asr.models.ASRModel.from_pretrained(model_name=model_name)
# Path to your 16kHz mono-channel audio file
audio_path = "/path/to/your/audio/file"
# Transcribe with defaut transducer decoder
asr_model.transcribe([audio_path])
# (Optional) Switch to CTC decoder
asr_model.change_decoding_strategy(decoder_type="ctc")
# (Optional) Transcribe with CTC decoder
asr_model.transcribe([audio_path])
Datasets
This model has been trained on a composite dataset comprising over 2500 hours of French speech audio and transcriptions, including Common Voice 13.0, Multilingual LibriSpeech, Voxpopuli, Fleurs, African Accented French, and more.
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.
The model exclusively generates the lowercase French alphabet, hyphen, and apostrophe. Therefore, it may not perform well in situations where uppercase characters and additional punctuation are also required.
References
[1] Fast Conformer with Linearly Scalable Attention for Efficient Speech Recognition
[2] Google Sentencepiece Tokenizer
Acknowledgements
Thanks to Nvidia's research on the advanced model architecture and the NeMo team's training framework.
- Downloads last month
- 8
Datasets used to train bofenghuang/stt_fr_fastconformer_hybrid_large
Collection including bofenghuang/stt_fr_fastconformer_hybrid_large
Evaluation results
- WER on Common Voice 13.0test set self-reported9.160
- WER on Multilingual LibriSpeech (MLS)test set self-reported4.820
- WER on VoxPopulitest set self-reported9.230
- WER on Fleurstest set self-reported8.650
- WER on African Accented Frenchtest set self-reported6.550