jnemecek's picture
update license
be27eaf
metadata
language:
  - tgl
  - tl
license: other
tags:
  - automatic-speech-recognition
  - sil-ai/bloom-speech
  - generated_from_trainer
datasets:
  - bloom_speech
model-index:
  - name: wav2vec2-bloom-speech-tgl
    results:
      - task:
          name: Speech Recognition
          type: automatic-speech-recognition
        dataset:
          name: Bloom Speech tgl
          type: sil-ai/bloom-speech
          args: tgl
        metrics:
          - name: Test WER
            type: wer
            value: 24.57
          - name: Test CER
            type: cer
            value: 7.69
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:sj@derivation.co).
    
extra_gated_fields:
  I have read the License and agree with its terms: checkbox

wav2vec2-bloom-speech-tgl

logo for Bloom Library sil-ai logo

Model description

This model is a fine-tuned version of facebook/wav2vec2-xls-r-300m on the SIL-AI/bloom-speech - TGL (Tagalog) dataset. It achieves the following results on the evaluation set:

  • Loss: 0.9606
  • Wer: 0.2457
  • Cer: 0.0769

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.

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

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 22.73 250 0.9218 0.5239 0.1605
2.044 45.45 500 0.7345 0.3717 0.0981
2.044 68.18 750 0.7742 0.35 0.0957
0.0713 90.91 1000 0.8898 0.3196 0.0883
0.0713 113.64 1250 0.9236 0.3478 0.1044
0.0409 136.36 1500 0.8082 0.3174 0.0883
0.0409 159.09 1750 0.8353 0.2826 0.0824
0.0287 181.82 2000 0.7737 0.2783 0.0859
0.0287 204.55 2250 1.1609 0.2891 0.0871
0.0146 227.27 2500 0.9606 0.2457 0.0769
0.0146 250.0 2750 0.9115 0.2717 0.0777
0.015 272.73 3000 0.8434 0.3130 0.0859
0.015 295.45 3250 1.0805 0.3087 0.0961

Framework versions

  • Transformers 4.21.0.dev0
  • Pytorch 1.9.0+cu111
  • Datasets 2.2.2
  • Tokenizers 0.12.1