Skip to content

French STT v0.8

Compare
Choose a tag to compare
@JRMeyer JRMeyer released this 15 Feb 21:16
· 29 commits to main since this release
9b4f0a6

French STT v0.8 (commonvoice-fr)

Jump to section:

Model details

  • Person or organization developing model: Originally trained and released by the commonvoice-fr project, revived by Waser Technologies
  • Model date: Accessed from Github on February 9, 2022
  • Model type: Speech-to-Text
  • Model version: v0.8
  • Compatible with 🐸 STT version: v1.2.0
  • Code: commonvoice-fr
  • License: MPL 2.0
  • Citation details: @misc{commonvoice-fr, author = {commonvoice-fr Contributors}, title = {Common Voice STT Model}, publisher = {Github}, journal = {GitHub repository}, howpublished = {\url{https://github.com/wasertech/commonvoice-fr/releases/tag/v0.8.0-fr-0.3}}, commit = {0a2d028b124691bbee656f43aa02251169dce69b} }
  • Where to send questions or comments about the model: You can leave an issue on STT-model issues, open a new discussion on STT-model discussions, or chat with us on Gitter.

Intended use

Speech-to-Text for the French Language on 16kHz, mono-channel audio.

Performance Factors

Factors relevant to Speech-to-Text performance include but are not limited to speaker demographics, recording quality, and background noise. Read more about STT performance factors here.

Metrics

STT models are usually evaluated in terms of their transcription accuracy, deployment Real-Time Factor, and model size on disk.

Transcription Accuracy

The following Word Error Rates (WER) are reported on Github.

Test Corpus WER CER
African_Accented_French_test.csv 43.6% 24.8%
Att-HACK 12.8% 6.0%
M-AILABS 12.2% 3.7%
trainingspeech 12.1% 4.0%
Common Voice 37.0% 19.4%
LinguaLibre 59.3% 21.3%
MLS 26.8% 12.2%

Real-Time Factor

Real-Time Factor (RTF) is defined as processing-time / length-of-audio. The exact real-time factor of an STT model will depend on the hardware setup, so you may experience a different RTF.

Recorded average RTF on laptop CPU: ``

Model Size

model.tflite: 46M
kenlm.scorer: 689M

Approaches to uncertainty and variability

Confidence scores and multiple paths from the decoding beam can be used to measure model uncertainty and provide multiple, variable transcripts for any processed audio.

Training data

This French STT model was trained on the following corpora:

  1. Lingua Libre (~40h)
  2. Common Voice FR (v8) (~826h, by allowing up to 32 duplicates)
  3. Training Speech (~180h)
  4. African Accented French (~15h)
  5. M-AILABS French (~315h)
  6. Multilingual LibriSpeech (~1,100h)
  7. Att-HACK (~75h)

Total : ~2,551h
(~1,903h by default)

Evaluation data

The model was tested on the following corpora.

  1. Lingua Libre
  2. Common Voice FR (v8)
  3. Training Speech
  4. African Accented French
  5. M-AILABS French
  6. Multilingual LibriSpeech
  7. Att-HACK

Ethical considerations

Deploying a Speech-to-Text model into any production setting has ethical implications. You should consider these implications before use.

Demographic Bias

You should assume every machine learning model has demographic bias unless proven otherwise. For STT models, it is often the case that transcription accuracy is better for men than it is for women. If you are using this model in production, you should acknowledge this as a potential issue.

Surveillance

Speech-to-Text may be mis-used to invade the privacy of others by recording and mining information from private conversations. This kind of individual privacy is protected by law in may countries. You should not assume consent to record and analyze private speech.

Caveats and recommendations

Machine learning models (like this STT model) perform best on data that is similar to the data on which they were trained. Read about what to expect from an STT model with regard to your data here.

In most applications, it is recommended that you train your own language model to improve transcription accuracy on your speech data.