|
--- |
|
language: |
|
- snk |
|
license: other |
|
tags: |
|
- automatic-speech-recognition |
|
- sil-ai/bloom-speech |
|
- generated_from_trainer |
|
datasets: |
|
- bloom_speech |
|
model-index: |
|
- name: wav2vec2-bloom-speech-snk |
|
results: |
|
- task: |
|
name: Speech Recognition |
|
type: automatic-speech-recognition |
|
dataset: |
|
name: Bloom Speech snk |
|
type: sil-ai/bloom-speech |
|
args: snk |
|
metrics: |
|
- name: Test WER |
|
type: wer |
|
value: 28.88 |
|
- name: Test CER |
|
type: cer |
|
value: 5.76 |
|
extra_gated_prompt: |- |
|
One more step before getting this model. |
|
|
|
This model is open access and available only for non-commercial use, with an SIL International AI & NLP RAIL-M license further specifying rights and usage. |
|
|
|
The SIL RAIL-M License specifies: |
|
|
|
1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content. Particularly, you cannot use the model use with the intent or effect of harming or enabling discrimination against Indigenous People. |
|
2. SIL claims no rights on outputs you generate for non-commercial use, you are free to use them and are accountable for their use, which must not go against the provisions set in the license |
|
3. You may re-distribute the weights and use the model non-commercially including as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the SIL International AI & NLP RAIL-M to all your users (please read the license entirely and carefully). Please read the full license here: https://huggingface.co/spaces/sil-ai/model-license |
|
|
|
By clicking on "Access repository" below, you accept that your *contact information* (email address and username) can be shared with the model authors as well. |
|
|
|
If you would like to ask about commercial uses of this model, please [email us](mailto:[email protected]). |
|
|
|
extra_gated_fields: |
|
I have read the License and agree with its terms: checkbox |
|
--- |
|
|
|
# wav2vec2-bloom-speech-snk |
|
|
|
![logo for Bloom Library](https://bloom-vist.s3.amazonaws.com/bloom_logo.png) ![sil-ai logo](https://s3.amazonaws.com/moonup/production/uploads/1661440873726-6108057a823007eaf0c7bd10.png) |
|
|
|
## Model description |
|
|
|
- **Homepage:** [SIL AI](https://ai.sil.org/) |
|
- **Point of Contact:** [SIL AI email](mailto:[email protected]) |
|
- **Source Data:** [Bloom Library](https://bloomlibrary.org/) |
|
|
|
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the [SIL-AI/bloom-speech](https://huggingface.co/datasets/sil-ai/bloom-speech) - SNK (Soninke) dataset. |
|
It achieves the following results on the evaluation set: |
|
- Loss: 0.3255 |
|
- Wer: 0.2888 |
|
- Cer: 0.0576 |
|
|
|
Users should refer to the original model for tutorials on using a trained model for inference. |
|
|
|
## Intended uses & limitations |
|
|
|
Users of this model must abide by the [SIL RAIL-M License](https://huggingface.co/spaces/sil-ai/model-license). |
|
|
|
This model is created as a proof of concept and no guarantees are made regarding the performance of the model is specific situations. |
|
|
|
## Training and evaluation data |
|
|
|
Training, Validation, and Test datasets were generated from the same corpus, ensuring that no duplicate files were used. |
|
|
|
## Training procedure |
|
|
|
Standard finetuning of XLS-R was used based on the examples in the [Hugging Face Transformers Github](https://github.com/huggingface/transformers/tree/main/examples/pytorch/speech-recognition) |
|
|
|
### Training hyperparameters |
|
|
|
The following hyperparameters were used during training: |
|
- learning_rate: 0.0003 |
|
- train_batch_size: 16 |
|
- eval_batch_size: 8 |
|
- seed: 42 |
|
- gradient_accumulation_steps: 2 |
|
- total_train_batch_size: 32 |
|
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 |
|
- lr_scheduler_type: linear |
|
- lr_scheduler_warmup_steps: 250 |
|
- num_epochs: 1000.0 |
|
- mixed_precision_training: Native AMP |
|
|
|
### Training results |
|
|
|
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer | |
|
|:-------------:|:------:|:----:|:---------------:|:------:|:------:| |
|
| No log | 15.61 | 250 | 1.9667 | 0.9655 | 0.7852 | |
|
| 3.0891 | 31.24 | 500 | 0.2730 | 0.3147 | 0.0659 | |
|
| 3.0891 | 46.85 | 750 | 0.2834 | 0.3060 | 0.0655 | |
|
| 0.1273 | 62.48 | 1000 | 0.3002 | 0.3233 | 0.0671 | |
|
| 0.1273 | 78.12 | 1250 | 0.2869 | 0.2737 | 0.0588 | |
|
| 0.0674 | 93.73 | 1500 | 0.3207 | 0.2909 | 0.0615 | |
|
| 0.0674 | 109.36 | 1750 | 0.3119 | 0.2996 | 0.0627 | |
|
| 0.053 | 124.97 | 2000 | 0.3164 | 0.2996 | 0.0588 | |
|
| 0.053 | 140.61 | 2250 | 0.3067 | 0.2780 | 0.0572 | |
|
| 0.0421 | 156.24 | 2500 | 0.3255 | 0.2888 | 0.0576 | |
|
| 0.0421 | 171.85 | 2750 | 0.3202 | 0.2888 | 0.0595 | |
|
| 0.0395 | 187.48 | 3000 | 0.3556 | 0.3233 | 0.0643 | |
|
| 0.0395 | 203.12 | 3250 | 0.3724 | 0.2953 | 0.0631 | |
|
|
|
|
|
### Framework versions |
|
|
|
- Transformers 4.21.0.dev0 |
|
- Pytorch 1.9.0+cu111 |
|
- Datasets 2.2.2 |
|
- Tokenizers 0.12.1 |
|
|