This is a
mHuBERT-147
ASR fine-tuned model.
The training parameters are available in
config.json
.
We highlight the use of 0.3 for hubert.final_dropout, which we found to be very helpful in convergence. We also use fp32 training, as we found fp16 training to be unstable.
ASR Model Class
We use the mHubertForCTC class for our model, which is nearly identical to the existing HubertForCTC class.
The key difference is that we've added a few additional hidden layers at the end of the Transformer stack, just before the lm_head.
The code is available in
CTC_model.py
.
Running Inference
The
run_inference.py
file illustrates how to load the model for inference (
load_asr_model
), and how to produce transcription for a file (
run_asr_inference
).
Please follow the
requirements file
to avoid incorrect model loading.
Here is a simple example of the inference loop. Please notice that the sampling rate must be 16,000Hz.
mHuBERT-147-ASR-fr huggingface.co is an AI model on huggingface.co that provides mHuBERT-147-ASR-fr's model effect (), which can be used instantly with this naver mHuBERT-147-ASR-fr model. huggingface.co supports a free trial of the mHuBERT-147-ASR-fr model, and also provides paid use of the mHuBERT-147-ASR-fr. Support call mHuBERT-147-ASR-fr model through api, including Node.js, Python, http.
mHuBERT-147-ASR-fr huggingface.co is an online trial and call api platform, which integrates mHuBERT-147-ASR-fr's modeling effects, including api services, and provides a free online trial of mHuBERT-147-ASR-fr, you can try mHuBERT-147-ASR-fr online for free by clicking the link below.
naver mHuBERT-147-ASR-fr online free url in huggingface.co:
mHuBERT-147-ASR-fr is an open source model from GitHub that offers a free installation service, and any user can find mHuBERT-147-ASR-fr on GitHub to install. At the same time, huggingface.co provides the effect of mHuBERT-147-ASR-fr install, users can directly use mHuBERT-147-ASR-fr installed effect in huggingface.co for debugging and trial. It also supports api for free installation.