Update README.md
Browse files
README.md
CHANGED
|
@@ -3,15 +3,23 @@ library_name: peft
|
|
| 3 |
license: apache-2.0
|
| 4 |
base_model: openai/whisper-large-v2
|
| 5 |
tags:
|
| 6 |
-
-
|
| 7 |
-
-
|
| 8 |
-
-
|
| 9 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
- african-language
|
| 11 |
-
- Songhoy
|
| 12 |
language:
|
| 13 |
- hsn
|
| 14 |
- fr
|
|
|
|
|
|
|
|
|
|
| 15 |
model-index:
|
| 16 |
- name: songhoy-asr-v1
|
| 17 |
results:
|
|
@@ -25,54 +33,53 @@ model-index:
|
|
| 25 |
args:
|
| 26 |
language: hsn
|
| 27 |
metrics:
|
| 28 |
-
- name:
|
| 29 |
type: wer
|
| 30 |
value: 16.58
|
| 31 |
-
- name:
|
| 32 |
type: cer
|
| 33 |
value: 4.63
|
| 34 |
pipeline_tag: automatic-speech-recognition
|
| 35 |
---
|
| 36 |
|
| 37 |
-
|
| 38 |
-
should probably proofread and complete it, then remove this comment. -->
|
| 39 |
|
| 40 |
-
|
| 41 |
|
| 42 |
-
|
| 43 |
-
It achieves the following results on the evaluation set:
|
| 44 |
-
- Loss: 0.1897
|
| 45 |
|
| 46 |
-
|
| 47 |
|
| 48 |
-
|
|
|
|
|
|
|
|
|
|
| 49 |
|
| 50 |
-
##
|
| 51 |
|
| 52 |
-
|
| 53 |
|
| 54 |
-
|
|
|
|
|
|
|
|
|
|
| 55 |
|
| 56 |
-
|
| 57 |
|
| 58 |
-
##
|
| 59 |
|
| 60 |
-
|
| 61 |
|
| 62 |
-
|
| 63 |
-
-
|
| 64 |
-
-
|
| 65 |
-
-
|
| 66 |
-
-
|
| 67 |
-
-
|
| 68 |
-
-
|
| 69 |
-
-
|
| 70 |
-
- lr_scheduler_type: linear
|
| 71 |
-
- lr_scheduler_warmup_steps: 50
|
| 72 |
-
- num_epochs: 4
|
| 73 |
-
- mixed_precision_training: Native AMP
|
| 74 |
|
| 75 |
-
### Training
|
| 76 |
|
| 77 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 78 |
|:-------------:|:------:|:----:|:---------------:|
|
|
@@ -81,11 +88,68 @@ The following hyperparameters were used during training:
|
|
| 81 |
| 0.2008 | 3.0 | 735 | 0.2011 |
|
| 82 |
| 0.1518 | 3.9857 | 976 | 0.1897 |
|
| 83 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 84 |
|
| 85 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 86 |
|
|
|
|
| 87 |
- PEFT 0.14.1.dev0
|
| 88 |
- Transformers 4.50.0.dev0
|
| 89 |
-
-
|
| 90 |
- Datasets 3.2.0
|
| 91 |
-
- Tokenizers 0.21.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
license: apache-2.0
|
| 4 |
base_model: openai/whisper-large-v2
|
| 5 |
tags:
|
| 6 |
+
- automatic-speech-recognition
|
| 7 |
+
- whisper
|
| 8 |
+
- asr
|
| 9 |
+
- songhoy
|
| 10 |
+
- hsn
|
| 11 |
+
- Mali
|
| 12 |
+
- MALIBA-AI
|
| 13 |
+
- lora
|
| 14 |
+
- fine-tuned
|
| 15 |
+
- code-switching
|
| 16 |
- african-language
|
|
|
|
| 17 |
language:
|
| 18 |
- hsn
|
| 19 |
- fr
|
| 20 |
+
language_bcp47:
|
| 21 |
+
- hsn-ML
|
| 22 |
+
- fr-ML
|
| 23 |
model-index:
|
| 24 |
- name: songhoy-asr-v1
|
| 25 |
results:
|
|
|
|
| 33 |
args:
|
| 34 |
language: hsn
|
| 35 |
metrics:
|
| 36 |
+
- name: WER
|
| 37 |
type: wer
|
| 38 |
value: 16.58
|
| 39 |
+
- name: CER
|
| 40 |
type: cer
|
| 41 |
value: 4.63
|
| 42 |
pipeline_tag: automatic-speech-recognition
|
| 43 |
---
|
| 44 |
|
| 45 |
+
# Songhoy-ASR-v1: First Open-Source Speech Recognition Model for Songhoy
|
|
|
|
| 46 |
|
| 47 |
+
Songhoy-ASR-v1 represents a historic milestone as the **first open-source speech recognition model** for Songhoy, a language spoken by over 3 million people across Mali, Niger, and Burkina Faso. Developed as part of the MALIBA-AI initiative, this groundbreaking model not only achieves impressive accuracy but opens the door to speech technology for Songhoy speakers for the very first time.
|
| 48 |
|
| 49 |
+
## Model Overview
|
|
|
|
|
|
|
| 50 |
|
| 51 |
+
This model demonstrates exceptional performance for Songhoy speech recognition, with particularly strong capabilities in:
|
| 52 |
|
| 53 |
+
- **Pure Songhoy recognition**: Accurate transcription of traditional and contemporary Songhoy speech
|
| 54 |
+
- **Code-switching handling**: Effectively manages the natural mixing of Songhoy with French
|
| 55 |
+
- **Dialect adaptation**: Works across regional variations of Songhoy
|
| 56 |
+
- **Noise resilience**: Maintains accuracy even with moderate background noise
|
| 57 |
|
| 58 |
+
## Impressive Performance Metrics
|
| 59 |
|
| 60 |
+
Songhoy-ASR-v1 achieves breakthrough results on our test dataset:
|
| 61 |
|
| 62 |
+
| Metric | Value |
|
| 63 |
+
|--------|-------|
|
| 64 |
+
| Word Error Rate (WER) | 16.58% |
|
| 65 |
+
| Character Error Rate (CER) | 4.63% |
|
| 66 |
|
| 67 |
+
These results represent the best publicly available performance for Songhoy speech recognition, making this model suitable for production applications.
|
| 68 |
|
| 69 |
+
## Technical Details
|
| 70 |
|
| 71 |
+
The model is a fine-tuned version of OpenAI's Whisper-large-v2, adapted specifically for Songhoy using LoRA (Low-Rank Adaptation). This efficient fine-tuning approach allowed us to achieve excellent results while maintaining the multilingual capabilities of the base model.
|
| 72 |
|
| 73 |
+
### Training Information
|
| 74 |
+
- **Base Model**: openai/whisper-large-v2
|
| 75 |
+
- **Fine-tuning Method**: LoRA (Parameter-Efficient Fine-Tuning)
|
| 76 |
+
- **Training Dataset**: [coming soon]
|
| 77 |
+
- **Training Duration**: 4 epochs
|
| 78 |
+
- **Batch Size**: 32 (8 per device with gradient accumulation steps of 4)
|
| 79 |
+
- **Learning Rate**: 0.001 with linear scheduler and 50 warmup steps
|
| 80 |
+
- **Mixed Precision**: Native AMP
|
|
|
|
|
|
|
|
|
|
|
|
|
| 81 |
|
| 82 |
+
### Training Results
|
| 83 |
|
| 84 |
| Training Loss | Epoch | Step | Validation Loss |
|
| 85 |
|:-------------:|:------:|:----:|:---------------:|
|
|
|
|
| 88 |
| 0.2008 | 3.0 | 735 | 0.2011 |
|
| 89 |
| 0.1518 | 3.9857 | 976 | 0.1897 |
|
| 90 |
|
| 91 |
+
## Real-World Applications
|
| 92 |
+
|
| 93 |
+
Songhoy-ASR-v1 enables numerous applications previously unavailable to Songhoy speakers:
|
| 94 |
+
|
| 95 |
+
- **Media Transcription**: Automatic subtitling of Songhoy content
|
| 96 |
+
- **Voice Interfaces**: Voice-controlled applications in Songhoy
|
| 97 |
+
- **Educational Tools**: Language learning and literacy applications
|
| 98 |
+
- **Cultural Preservation**: Documentation of oral histories and traditions
|
| 99 |
+
- **Healthcare Communication**: Improved access to health information
|
| 100 |
+
- **Accessibility Solutions**: Tools for the hearing impaired
|
| 101 |
+
|
| 102 |
+
## Usage Examples
|
| 103 |
+
|
| 104 |
+
```
|
| 105 |
+
Coming soon
|
| 106 |
+
```
|
| 107 |
+
|
| 108 |
+
## Limitations
|
| 109 |
+
|
| 110 |
+
[Coming Soon]
|
| 111 |
+
<!--
|
| 112 |
+
- Performance varies with different regional dialects of Songhoy
|
| 113 |
+
- Very specific technical terminology may have lower accuracy
|
| 114 |
+
- Extreme background noise can impact transcription quality
|
| 115 |
+
- Very young speakers or non-native speakers may have reduced accuracy
|
| 116 |
+
- Limited performance with extremely low-quality audio recordings -->
|
| 117 |
+
|
| 118 |
+
## Part of MALIBA-AI's African Language Initiative
|
| 119 |
+
|
| 120 |
+
Songhoy-ASR-v1 is part of MALIBA-AI's commitment to developing speech technology for all Malian languages. This model represents a significant step toward digital inclusion for Songhoy speakers and demonstrates the potential for high-quality AI systems for African languages.
|
| 121 |
|
| 122 |
+
Our mission of "No Malian Language Left Behind" drives us to develop technologies that:
|
| 123 |
+
- Preserve linguistic diversity
|
| 124 |
+
- Enable access to digital tools regardless of language
|
| 125 |
+
- Support local innovation and content creation
|
| 126 |
+
- Bridge the digital divide for all Malians
|
| 127 |
|
| 128 |
+
## Framework Versions
|
| 129 |
- PEFT 0.14.1.dev0
|
| 130 |
- Transformers 4.50.0.dev0
|
| 131 |
+
- PyTorch 2.5.1+cu124
|
| 132 |
- Datasets 3.2.0
|
| 133 |
+
- Tokenizers 0.21.0
|
| 134 |
+
|
| 135 |
+
## License
|
| 136 |
+
|
| 137 |
+
This model is released under the Apache 2.0 license.
|
| 138 |
+
|
| 139 |
+
## Citation
|
| 140 |
+
|
| 141 |
+
```bibtex
|
| 142 |
+
@misc{songhoy-asr-v1,
|
| 143 |
+
author = {MALIBA-AI},
|
| 144 |
+
title = {Songhoy-ASR-v1: Speech Recognition for Songhoy},
|
| 145 |
+
year = {2025},
|
| 146 |
+
publisher = {HuggingFace},
|
| 147 |
+
howpublished = {\url{https://huggingface.co/MALIBA-AI/songhoy-asr-v1}}
|
| 148 |
+
}
|
| 149 |
+
```
|
| 150 |
+
|
| 151 |
+
---
|
| 152 |
+
|
| 153 |
+
**MALIBA-AI: Empowering Mali's Future Through Community-Driven AI Innovation**
|
| 154 |
+
|
| 155 |
+
*"No Malian Language Left Behind"*
|