Automatic Speech Recognition
Transformers
Safetensors
Malagasy
wav2vec2-bert
speech
malagasy
madagascar
w2v-bert-2.0
ctc
low-resource
african-languages
Eval Results (legacy)
Run this model with HF Jobs
Run Flo976/w2v-bert-malagasy 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/Flo976/w2v-bert-malagasy. 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/Flo976/w2v-bert-malagasy 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 Flo976/w2v-bert-malagasy with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Flo976/w2v-bert-malagasy with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("automatic-speech-recognition", model="Flo976/w2v-bert-malagasy")# pip install -U transformers accelerate # Load model directly from transformers import AutoProcessor, AutoModelForCTC processor = AutoProcessor.from_pretrained("Flo976/w2v-bert-malagasy") model = AutoModelForCTC.from_pretrained("Flo976/w2v-bert-malagasy", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Fiche illustree : banniere, badges et graphique par duree
Browse filesFiles changed (4)
- .gitattributes+1
- README.md+5-7
- assets/banner.pngAdded
- assets/wer_by_length.pngAdded
32 unmodified lines33343532 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -text32 unmodified lines3334353632 unmodified lines*.zip filter=lfs diff=lfs merge=lfs -text*.zst filter=lfs diff=lfs merge=lfs -text*tfevents* filter=lfs diff=lfs merge=lfs -textassets/wer_by_length.png filter=lfs diff=lfs merge=lfs -text
57 unmodified lines58596061626321 unmodified lines8586878889909192939495969757 unmodified linesname: CER (greedy)---# w2v-BERT 2.0 — Malagasy speech recognition, robust on short utterances**13.4 % word error rate on short Malagasy utterances (2–8 s), against 21.5 % for a Whisper medium fine-tuned on the same data** — and 5× faster on GPU.21 unmodified linesEach comparison quoted on this card is significant at 95 % (paired bootstrap on the same utterances, 2,000 resamples). Against the Whisper medium, this model gains 8.1 points (95 % CI [−8.64, −7.64]). At equal decoding this model beats its starting point badrex by 5.5 points greedy (95 % CI [−5.76, −5.34]) and by 4.1 points with the language model ([−4.34, −3.93]).WER by utterance length, greedy decoding:| Length | Utterances | this model | badrex | Whisper medium (Flo976) || --- | --- | --- | --- | --- || under 3 s | 587 | **17.4 %** | 27.3 % | 32.4 % || 3–5 s | 4,363 | **14.6 %** | 20.1 % | 21.6 % || 5–8 s | 6,675 | **14.1 %** | 19.4 % | 21.0 % |### Full-length clips — no regression57 unmodified lines5859606162636465666721 unmodified lines8990919293949557 unmodified linesname: CER (greedy)---<p align="center"><img src="assets/banner.png" alt="Malagasy speech recognition: a 5.2 s Malagasy phrase drawn as a waveform, each word placed under the moment it is spoken" width="100%"></p><p align="center"><a href="#results"><img src="https://img.shields.io/badge/WER%2C%202%20to%208%20s%20phrases-13.4%20%25-2F7D55?style=flat-square&labelColor=1E2A5E" alt="WER, 2 to 8 s phrases: 13.4 %"></a> <a href="#full-length-clips--no-regression"><img src="https://img.shields.io/badge/WER%2C%20full%20clips-10.6%20%25-2F7D55?style=flat-square&labelColor=1E2A5E" alt="WER, full clips: 10.6 %"></a> <a href="#speed"><img src="https://img.shields.io/badge/latency-52%20ms%20on%20GPU-E9C46A?style=flat-square&labelColor=1E2A5E" alt="latency: 52 ms on GPU"></a> <a href="https://huggingface.co/Flo976/w2v-bert-malagasy#license-and-attribution"><img src="https://img.shields.io/badge/license-CC--BY--4.0-8A93A6?style=flat-square&labelColor=1E2A5E" alt="license: CC-BY-4.0"></a> <a href="https://huggingface.co/spaces/Flo976/malagasy-asr-demo"><img src="https://img.shields.io/badge/demo-try%20it%20in%20the%20browser-E9C46A?style=flat-square&labelColor=1E2A5E" alt="demo: try it in the browser"></a> <a href="https://huggingface.co/Flo976/malagasy-kenlm-4gram"><img src="https://img.shields.io/badge/language%20model-KenLM%204--gram-8A93A6?style=flat-square&labelColor=1E2A5E" alt="language model: KenLM 4-gram"></a></p># w2v-BERT 2.0 — Malagasy speech recognition, robust on short utterances**13.4 % word error rate on short Malagasy utterances (2–8 s), against 21.5 % for a Whisper medium fine-tuned on the same data** — and 5× faster on GPU.21 unmodified linesEach comparison quoted on this card is significant at 95 % (paired bootstrap on the same utterances, 2,000 resamples). Against the Whisper medium, this model gains 8.1 points (95 % CI [−8.64, −7.64]). At equal decoding this model beats its starting point badrex by 5.5 points greedy (95 % CI [−5.76, −5.34]) and by 4.1 points with the language model ([−4.34, −3.93]).<p align="center"><img src="assets/wer_by_length.png" alt="Word error rate by phrase length: under 3 s, 17.4 % for this model against 27.3 % for badrex and 32.4 % for Whisper medium; 3 to 5 s, 14.6 % against 20.1 % and 21.6 %; 5 to 8 s, 14.1 % against 19.4 % and 21.0 %" width="100%"></p>### Full-length clips — no regression
.gitattributes+1
README.md+5-7
assets/banner.pngAdded

assets/wer_by_length.pngAdded

Large File Pointer Details
- SHA256: 432ffedfd7daa9bf91fe7ac355b973e0bf3b4c765be3876b0db3a751b296584c
- Pointer size: 131 Bytes
- Size of remote file: 107 kB