readme: ---
  language:
  - cs
  - hsb
  - pl
  - sk
  - sl
  license: apache-2.0
  tags:
  - automatic-speech-recognition
  - generated_from_trainer
  - hf-asr-leaderboard
  - mozilla-foundation/common_voice_8_0
  - robust-speech-event
  - xlsr-fine-tuning-week
  datasets:
  - mozilla-foundation/common_voice_8_0
  model-index:
  - name: wav2vec2-xls-r-300m-west-slavic-cv8
    results:
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Common Voice 8
        type: mozilla-foundation/common_voice_8_0
        args: cs
      metrics:
      - name: Test WER
        type: wer
        value: 53.5
      - name: Test CER
        type: cer
        value: 14.7
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Common Voice 8
        type: mozilla-foundation/common_voice_8_0
        args: hsb
      metrics:
      - name: Test WER
        type: wer
        value: 81.7
      - name: Test CER
        type: cer
        value: 21.2
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Common Voice 8
        type: mozilla-foundation/common_voice_8_0
        args: pl
      metrics:
      - name: Test WER
        type: wer
        value: 60.2
      - name: Test CER
        type: cer
        value: 15.6
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Common Voice 8
        type: mozilla-foundation/common_voice_8_0
        args: sk
      metrics:
      - name: Test WER
        type: wer
        value: 69.6
      - name: Test CER
        type: cer
        value: 20.7
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Common Voice 8
        type: mozilla-foundation/common_voice_8_0
        args: sl
      metrics:
      - name: Test WER
        type: wer
        value: 73.2
      - name: Test CER
        type: cer
        value: 23.2
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Dev Data
        type: speech-recognition-community-v2/dev_data
        args: cs
      metrics:
      - name: Test WER
        type: wer
        value: 84.11
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Test Data
        type: speech-recognition-community-v2/eval_data
        args: cs
      metrics:
      - name: Test WER
        type: wer
        value: 75.99
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Dev Data
        type: speech-recognition-community-v2/dev_data
        args: pl
      metrics:
      - name: Test WER
        type: wer
        value: 65.3
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Test Data
        type: speech-recognition-community-v2/eval_data
        args: pl
      metrics:
      - name: Test WER
        type: wer
        value: 72.0
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Dev Data
        type: speech-recognition-community-v2/dev_data
        args: sk
      metrics:
      - name: Test WER
        type: wer
        value: 88.37
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Test Data
        type: speech-recognition-community-v2/eval_data
        args: sk
      metrics:
      - name: Test WER
        type: wer
        value: 89.08
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Dev Data
        type: speech-recognition-community-v2/dev_data
        args: sl
      metrics:
      - name: Test WER
        type: wer
        value: 87.69
    - task:
        name: Automatic Speech Recognition
        type: automatic-speech-recognition
      dataset:
        name: Robust Speech Event - Test Data
        type: speech-recognition-community-v2/eval_data
        args: sl
      metrics:
      - name: Test WER
        type: wer
        value: 87.89
  ---
  
  # wav2vec2-xls-r-300m-west-slavic-cv8
  
  This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on the Common Voice 8 dataset of five similar languages with similar scripts: Czech, Slovak, Polish, Slovenian and Upper Sorbian. Training and validation sets were concatenated and shuffled.
  
  Evaluation set used for training was concatenated from the respective test sets and shuffled while limiting each language to at most 2000 samples. During training, cca WER 70 was achieved on this set.
  
  ### Evaluation script
  
  ```
  python eval.py --model_id comodoro/wav2vec2-xls-r-300m-west-slavic-cv8 --dataset mozilla-foundation/common_voice_8_0 --split test --config {lang}
  ```
                                             