It is a self-supervised pre-trained conformer encoder model trained on MahaDhwani dataset.
Language
Contains training data from 22 scheduled languages of India.
Input
This model accepts 16000 KHz Mono-channel Audio (wav files) as input.
Output
This model provides conformer encoder embeddings as the output for a given audio sample.
Model Architecture
This model is a conformer-Large model, consisting of 120M parameters, as the encoder. The model has 17 conformer blocks with
512 as the model dimension.
AI4Bharat NeMo:
To load, train, fine-tune or play with the model you will need to install
AI4Bharat NeMo
. We recommend you install it using the command shown below
import pydub
import numpy as np
import torch
import nemo.collections.asr as nemo_asr
model = nemo_asr.models.ASRModel.from_pretrained("ai4bharat/MahaDhwani_pretrained_conformer")
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
model.freeze() # inference mode
model = model.to(device) # transfer model to device
Get an audio file ready by running the command shown below in your terminal. This will convert the audio to 16000 Hz and monochannel.
MahaDhwani_pretrained_conformer huggingface.co is an AI model on huggingface.co that provides MahaDhwani_pretrained_conformer's model effect (), which can be used instantly with this ai4bharat MahaDhwani_pretrained_conformer model. huggingface.co supports a free trial of the MahaDhwani_pretrained_conformer model, and also provides paid use of the MahaDhwani_pretrained_conformer. Support call MahaDhwani_pretrained_conformer model through api, including Node.js, Python, http.
MahaDhwani_pretrained_conformer huggingface.co is an online trial and call api platform, which integrates MahaDhwani_pretrained_conformer's modeling effects, including api services, and provides a free online trial of MahaDhwani_pretrained_conformer, you can try MahaDhwani_pretrained_conformer online for free by clicking the link below.
ai4bharat MahaDhwani_pretrained_conformer online free url in huggingface.co:
MahaDhwani_pretrained_conformer is an open source model from GitHub that offers a free installation service, and any user can find MahaDhwani_pretrained_conformer on GitHub to install. At the same time, huggingface.co provides the effect of MahaDhwani_pretrained_conformer install, users can directly use MahaDhwani_pretrained_conformer installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
MahaDhwani_pretrained_conformer install url in huggingface.co: