File size: 4,192 Bytes
6ab961b
25d2061
 
6ab961b
 
25d2061
6ab961b
25d2061
 
3906b54
6ab961b
 
 
 
f07b6f2
 
 
24eb911
 
 
 
 
 
f07b6f2
 
 
 
 
 
 
24eb911
 
 
 
 
 
 
f07b6f2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6ab961b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
---
language:
- pt
license: apache-2.0
tags:
- automatic-speech-recognition
- generated_from_trainer
- robust-speech-event
- pt
- hf-asr-leaderboard
datasets:
- common_voice
model-index:
- name: wav2vec2-large-xls-r-300m-pt-cv
  results:
  - task:
      name: Automatic Speech Recognition
      type: automatic-speech-recognition
    dataset:
      name: Common Voice 6
      type: common_voice
      args: pt
    metrics:
    - name: Test WER
      type: wer
      value: 24.29
    - name: Test CER
      type: cer
      value: 7.51
  - task:
      name: Automatic Speech Recognition
      type: automatic-speech-recognition
    dataset:
      name: Robust Speech Event - Dev Data
      type: speech-recognition-community-v2/dev_data
      args: sv
    metrics:
    - name: Test WER
      type: wer
      value: 55.72
    - name: Test CER
      type: cer
      value: 21.82
  - task:
      name: Automatic Speech Recognition
      type: automatic-speech-recognition
    dataset:
      name: Robust Speech Event - Dev Data
      type: speech-recognition-community-v2/dev_data
      args: pt
    metrics:
    - name: Test WER
      type: wer
      value: 47.88
  - task:
      name: Automatic Speech Recognition
      type: automatic-speech-recognition
    dataset:
      name: Robust Speech Event - Test Data
      type: speech-recognition-community-v2/eval_data
      args: pt
    metrics:
    - name: Test WER
      type: wer
      value: 50.78
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# wav2vec2-large-xls-r-300m-pt-cv

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 dataset.
It achieves the following results on the evaluation set:
- Loss: 0.3418
- Wer: 0.3581

## Model description

More information needed

## Intended uses & limitations

More information needed

## Training and evaluation data

More information needed

## Training procedure

### Training hyperparameters

The following hyperparameters were used during training:
- learning_rate: 0.0003
- train_batch_size: 8
- eval_batch_size: 8
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 16
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 5
- mixed_precision_training: Native AMP

### Training results

| Training Loss | Epoch | Step | Validation Loss | Wer    |
|:-------------:|:-----:|:----:|:---------------:|:------:|
| 10.9035       | 0.2   | 100  | 4.2750          | 1.0    |
| 3.3275        | 0.41  | 200  | 3.0334          | 1.0    |
| 3.0016        | 0.61  | 300  | 2.9494          | 1.0    |
| 2.1874        | 0.82  | 400  | 1.4355          | 0.8721 |
| 1.09          | 1.02  | 500  | 0.9987          | 0.7165 |
| 0.8251        | 1.22  | 600  | 0.7886          | 0.6406 |
| 0.6927        | 1.43  | 700  | 0.6753          | 0.5801 |
| 0.6143        | 1.63  | 800  | 0.6300          | 0.5509 |
| 0.5451        | 1.84  | 900  | 0.5586          | 0.5156 |
| 0.5003        | 2.04  | 1000 | 0.5493          | 0.5027 |
| 0.3712        | 2.24  | 1100 | 0.5271          | 0.4872 |
| 0.3486        | 2.45  | 1200 | 0.4953          | 0.4817 |
| 0.3498        | 2.65  | 1300 | 0.4619          | 0.4538 |
| 0.3112        | 2.86  | 1400 | 0.4570          | 0.4387 |
| 0.3013        | 3.06  | 1500 | 0.4437          | 0.4147 |
| 0.2136        | 3.27  | 1600 | 0.4176          | 0.4124 |
| 0.2131        | 3.47  | 1700 | 0.4281          | 0.4194 |
| 0.2099        | 3.67  | 1800 | 0.3864          | 0.3949 |
| 0.1925        | 3.88  | 1900 | 0.3926          | 0.3913 |
| 0.1709        | 4.08  | 2000 | 0.3764          | 0.3804 |
| 0.1406        | 4.29  | 2100 | 0.3787          | 0.3742 |
| 0.1342        | 4.49  | 2200 | 0.3645          | 0.3693 |
| 0.1305        | 4.69  | 2300 | 0.3463          | 0.3625 |
| 0.1298        | 4.9   | 2400 | 0.3418          | 0.3581 |


### Framework versions

- Transformers 4.11.3
- Pytorch 1.10.0+cu111
- Datasets 1.13.3
- Tokenizers 0.10.3