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
Note sur la vitesse de la version int8 selon le processeur
Browse files119 unmodified lines120121122123124125126119 unmodified lines| this model, greedy | 2 CPU cores (Intel Core Ultra 7 265K) | 1.45 s | 1.53 s || [int8 ONNX version](https://huggingface.co/Flo976/w2v-bert-malagasy-onnx-int8), greedy | 2 CPU cores (Intel Core Ultra 7 265K) | 0.63 s ³ | |³ Measured on 100 utterances of 4.8 s on average, against 1.70 s for this model in the same run. No significant accuracy loss on 1,500 short utterances; see its card.A CTC model reads the audio in one pass; Whisper writes its output token by token, so its latency grows with the sentence. On CPU the acoustic model dominates: the language model adds no measurable time. Set PyTorch's thread count to the cores actually allotted (`torch.set_num_threads`): in a container, the default host count oversubscribes the CPU and triples latency.119 unmodified lines120121122123124125126119 unmodified lines| this model, greedy | 2 CPU cores (Intel Core Ultra 7 265K) | 1.45 s | 1.53 s || [int8 ONNX version](https://huggingface.co/Flo976/w2v-bert-malagasy-onnx-int8), greedy | 2 CPU cores (Intel Core Ultra 7 265K) | 0.63 s ³ | |³ Measured on 100 utterances of 4.8 s on average, against 1.70 s for this model in the same run. No significant accuracy loss on 1,500 short utterances; see its card. The gain depends on the processor: on a Hugging Face cpu-basic Space it was slower than fp32 (3.0 s against 1.85 s for a 5 s phrase).A CTC model reads the audio in one pass; Whisper writes its output token by token, so its latency grows with the sentence. On CPU the acoustic model dominates: the language model adds no measurable time. Set PyTorch's thread count to the cores actually allotted (`torch.set_num_threads`): in a container, the default host count oversubscribes the CPU and triples latency.
README.md+1-1