Downloads · 30 days
8K
64% of all-time downloads
ayymen/stt_zgh_fastconformer_ctc_small
stt_zgh_fastconformer_ctc_small is a automatic speech recognition model from ayymen. Use it when you need speech turned into text. It is set up for nemo. The card lists the license as cc-by-4.0.
<DESCRIBE IN ONE LINE THE MODEL AND ITS USE
Downloads · 30 days
8K
64% of all-time downloads
All-time downloads
12.5K
Public
Repo size
153 MB
Likes
1
Public
Click a slice to open those files.
.nemo50.9 MB · 100%
From the Hugging Face model README
To train, fine-tune or play with the model you will need to install NVIDIA NeMo. We recommend you install it after you've installed latest Pytorch version.
pip install nemo_toolkit['asr']
The model is available for use in the NeMo toolkit [3], 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.ASRModel.from_pretrained("ayymen/stt_zgh_fastconformer_ctc_small")
First, let's get a sample
wget https://dldata-public.s3.us-east-2.amazonaws.com/2086-149220-0033.wav
Then simply do:
asr_model.transcribe(['2086-149220-0033.wav'])
python [NEMO_GIT_FOLDER]/examples/asr/transcribe_speech.py pretrained_name="ayymen/stt_zgh_fastconformer_ctc_small" audio_dir="<DIRECTORY CONTAINING AUDIO FILES>"
This model accepts 16000 KHz Mono-channel Audio (wav files) as input.
This model provides transcribed speech as a string for a given audio sample.
The model was fine-tuned from an older checkpoint on a NVIDIA GeForce RTX 4050 Laptop GPU.
Common Voice 18 kab and zgh splits, Tatoeba (kab, ber, shy), and bible readings in Tachelhit and Tarifit.
Metrics are computed on the cleaned, non-punctuated test sets of zgh and kab (converted to Tifinagh).
Eg: Since this model was trained on publicly 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.