Run this model with HF Jobs
Run ayymen/stt_zgh_fastconformer_ctc_small on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/ayymen/stt_zgh_fastconformer_ctc_small. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/ayymen/stt_zgh_fastconformer_ctc_small on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use ayymen/stt_zgh_fastconformer_ctc_small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- NeMo
How to use ayymen/stt_zgh_fastconformer_ctc_small with NeMo:
import nemo.collections.asr as nemo_asr asr_model = nemo_asr.models.ASRModel.from_pretrained("ayymen/stt_zgh_fastconformer_ctc_small") transcriptions = asr_model.transcribe(["file.wav"]) - Notebooks
- Google Colab
- Kaggle
Model Overview
NVIDIA NeMo: Training
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']
How to Use this Model
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.
Automatically instantiate the model
import nemo.collections.asr as nemo_asr
asr_model = nemo_asr.models.ASRModel.from_pretrained("ayymen/stt_zgh_fastconformer_ctc_small")
Transcribing using Python
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'])
Transcribing many audio files
python [NEMO_GIT_FOLDER]/examples/asr/transcribe_speech.py pretrained_name="ayymen/stt_zgh_fastconformer_ctc_small" audio_dir="<DIRECTORY CONTAINING AUDIO FILES>"
Input
This model accepts 16000 KHz Mono-channel Audio (wav files) as input.
Output
This model provides transcribed speech as a string for a given audio sample.
Model Architecture
Training
The model was fine-tuned from an older checkpoint on a NVIDIA GeForce RTX 4050 Laptop GPU.
Datasets
Common Voice 18 kab and zgh splits, Tatoeba (kab, ber, shy), and bible readings in Tachelhit and Tarifit.
Performance
Metrics are computed on the cleaned, non-punctuated test sets of zgh and kab (converted to Tifinagh).
Limitations
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.
References
- Downloads last month
- 1,392
Spaces using ayymen/stt_zgh_fastconformer_ctc_small 6
Evaluation results
- Test WER on Mozilla Common Voice 18.0test set self-reported64.170
- Test CER on Mozilla Common Voice 18.0test set self-reported21.540
- Test WER on Mozilla Common Voice 18.0test set self-reported34.870
- Test CER on Mozilla Common Voice 18.0test set self-reported13.110