Badr Abdullah
commited on
Commit
•
6a16dbc
1
Parent(s):
fd88f7a
Model save
Browse files
README.md
CHANGED
@@ -1,199 +1,142 @@
|
|
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 |
-
#### Metrics
|
122 |
-
|
123 |
-
<!-- These are the evaluation metrics being used, ideally with a description of why. -->
|
124 |
-
|
125 |
-
[More Information Needed]
|
126 |
-
|
127 |
-
### Results
|
128 |
-
|
129 |
-
[More Information Needed]
|
130 |
-
|
131 |
-
#### Summary
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
## Model Examination [optional]
|
136 |
-
|
137 |
-
<!-- Relevant interpretability work for the model goes here -->
|
138 |
-
|
139 |
-
[More Information Needed]
|
140 |
-
|
141 |
-
## Environmental Impact
|
142 |
-
|
143 |
-
<!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
|
144 |
-
|
145 |
-
Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
|
146 |
-
|
147 |
-
- **Hardware Type:** [More Information Needed]
|
148 |
-
- **Hours used:** [More Information Needed]
|
149 |
-
- **Cloud Provider:** [More Information Needed]
|
150 |
-
- **Compute Region:** [More Information Needed]
|
151 |
-
- **Carbon Emitted:** [More Information Needed]
|
152 |
-
|
153 |
-
## Technical Specifications [optional]
|
154 |
-
|
155 |
-
### Model Architecture and Objective
|
156 |
-
|
157 |
-
[More Information Needed]
|
158 |
-
|
159 |
-
### Compute Infrastructure
|
160 |
-
|
161 |
-
[More Information Needed]
|
162 |
-
|
163 |
-
#### Hardware
|
164 |
-
|
165 |
-
[More Information Needed]
|
166 |
-
|
167 |
-
#### Software
|
168 |
-
|
169 |
-
[More Information Needed]
|
170 |
-
|
171 |
-
## Citation [optional]
|
172 |
-
|
173 |
-
<!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
|
174 |
-
|
175 |
-
**BibTeX:**
|
176 |
-
|
177 |
-
[More Information Needed]
|
178 |
-
|
179 |
-
**APA:**
|
180 |
-
|
181 |
-
[More Information Needed]
|
182 |
-
|
183 |
-
## Glossary [optional]
|
184 |
-
|
185 |
-
<!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
|
186 |
-
|
187 |
-
[More Information Needed]
|
188 |
-
|
189 |
-
## More Information [optional]
|
190 |
-
|
191 |
-
[More Information Needed]
|
192 |
-
|
193 |
-
## Model Card Authors [optional]
|
194 |
-
|
195 |
-
[More Information Needed]
|
196 |
-
|
197 |
-
## Model Card Contact
|
198 |
-
|
199 |
-
[More Information Needed]
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/wav2vec2-xls-r-300m
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
datasets:
|
7 |
+
- common_voice_17_0
|
8 |
+
metrics:
|
9 |
+
- wer
|
10 |
+
model-index:
|
11 |
+
- name: xlsr-czech
|
12 |
+
results:
|
13 |
+
- task:
|
14 |
+
name: Automatic Speech Recognition
|
15 |
+
type: automatic-speech-recognition
|
16 |
+
dataset:
|
17 |
+
name: common_voice_17_0
|
18 |
+
type: common_voice_17_0
|
19 |
+
config: cs
|
20 |
+
split: validation
|
21 |
+
args: cs
|
22 |
+
metrics:
|
23 |
+
- name: Wer
|
24 |
+
type: wer
|
25 |
+
value: 0.17594345952554907
|
26 |
---
|
27 |
|
28 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
29 |
+
should probably proofread and complete it, then remove this comment. -->
|
30 |
+
|
31 |
+
[<img src="https://raw.githubusercontent.com/wandb/assets/main/wandb-github-badge-28.svg" alt="Visualize in Weights & Biases" width="200" height="32"/>](https://wandb.ai/badr-nlp/xlsr-continual-finetuning-polish/runs/c0c7ty73)
|
32 |
+
# xlsr-czech
|
33 |
+
|
34 |
+
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_17_0 dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.2040
|
37 |
+
- Wer: 0.1759
|
38 |
+
- Cer: 0.0387
|
39 |
+
|
40 |
+
## Model description
|
41 |
+
|
42 |
+
More information needed
|
43 |
+
|
44 |
+
## Intended uses & limitations
|
45 |
+
|
46 |
+
More information needed
|
47 |
+
|
48 |
+
## Training and evaluation data
|
49 |
+
|
50 |
+
More information needed
|
51 |
+
|
52 |
+
## Training procedure
|
53 |
+
|
54 |
+
### Training hyperparameters
|
55 |
+
|
56 |
+
The following hyperparameters were used during training:
|
57 |
+
- learning_rate: 0.0003
|
58 |
+
- train_batch_size: 16
|
59 |
+
- eval_batch_size: 8
|
60 |
+
- seed: 42
|
61 |
+
- gradient_accumulation_steps: 2
|
62 |
+
- total_train_batch_size: 32
|
63 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
64 |
+
- lr_scheduler_type: linear
|
65 |
+
- lr_scheduler_warmup_steps: 500
|
66 |
+
- num_epochs: 10
|
67 |
+
- mixed_precision_training: Native AMP
|
68 |
+
|
69 |
+
### Training results
|
70 |
+
|
71 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
|
72 |
+
|:-------------:|:------:|:----:|:---------------:|:------:|:------:|
|
73 |
+
| 5.9885 | 0.1589 | 100 | 4.5039 | 1.0 | 1.0 |
|
74 |
+
| 3.3721 | 0.3177 | 200 | 3.3649 | 1.0 | 1.0 |
|
75 |
+
| 3.4173 | 0.4766 | 300 | 3.2849 | 1.0000 | 0.9888 |
|
76 |
+
| 1.5357 | 0.6354 | 400 | 1.2694 | 0.9288 | 0.3102 |
|
77 |
+
| 0.9318 | 0.7943 | 500 | 0.6914 | 0.6972 | 0.1799 |
|
78 |
+
| 0.8233 | 0.9531 | 600 | 0.5004 | 0.5664 | 0.1342 |
|
79 |
+
| 0.3873 | 1.1120 | 700 | 0.3576 | 0.3941 | 0.0903 |
|
80 |
+
| 0.2506 | 1.2708 | 800 | 0.3360 | 0.3798 | 0.0861 |
|
81 |
+
| 0.2435 | 1.4297 | 900 | 0.2956 | 0.3328 | 0.0744 |
|
82 |
+
| 0.2828 | 1.5886 | 1000 | 0.2773 | 0.3156 | 0.0710 |
|
83 |
+
| 0.2454 | 1.7474 | 1100 | 0.2764 | 0.3138 | 0.0699 |
|
84 |
+
| 0.2607 | 1.9063 | 1200 | 0.2641 | 0.3013 | 0.0677 |
|
85 |
+
| 0.2389 | 2.0651 | 1300 | 0.2585 | 0.2911 | 0.0652 |
|
86 |
+
| 0.2457 | 2.2240 | 1400 | 0.2715 | 0.2923 | 0.0669 |
|
87 |
+
| 0.2602 | 2.3828 | 1500 | 0.2530 | 0.2763 | 0.0622 |
|
88 |
+
| 0.1614 | 2.5417 | 1600 | 0.2402 | 0.2651 | 0.0598 |
|
89 |
+
| 0.2206 | 2.7006 | 1700 | 0.2422 | 0.2807 | 0.0621 |
|
90 |
+
| 0.217 | 2.8594 | 1800 | 0.2356 | 0.2720 | 0.0598 |
|
91 |
+
| 0.093 | 3.0183 | 1900 | 0.2451 | 0.2628 | 0.0597 |
|
92 |
+
| 0.1327 | 3.1771 | 2000 | 0.2514 | 0.2710 | 0.0606 |
|
93 |
+
| 0.0989 | 3.3360 | 2100 | 0.2552 | 0.2754 | 0.0626 |
|
94 |
+
| 0.1772 | 3.4948 | 2200 | 0.2400 | 0.2691 | 0.0599 |
|
95 |
+
| 0.095 | 3.6537 | 2300 | 0.2423 | 0.2499 | 0.0568 |
|
96 |
+
| 0.1408 | 3.8125 | 2400 | 0.2392 | 0.2546 | 0.0591 |
|
97 |
+
| 0.1694 | 3.9714 | 2500 | 0.2372 | 0.2483 | 0.0564 |
|
98 |
+
| 0.0971 | 4.1303 | 2600 | 0.2224 | 0.2305 | 0.0512 |
|
99 |
+
| 0.1006 | 4.2891 | 2700 | 0.2128 | 0.2308 | 0.0516 |
|
100 |
+
| 0.1041 | 4.4480 | 2800 | 0.2229 | 0.2299 | 0.0518 |
|
101 |
+
| 0.1004 | 4.6068 | 2900 | 0.2282 | 0.2411 | 0.0536 |
|
102 |
+
| 0.0656 | 4.7657 | 3000 | 0.2302 | 0.2328 | 0.0520 |
|
103 |
+
| 0.101 | 4.9245 | 3100 | 0.2150 | 0.2229 | 0.0507 |
|
104 |
+
| 0.082 | 5.0834 | 3200 | 0.2314 | 0.2380 | 0.0541 |
|
105 |
+
| 0.0698 | 5.2423 | 3300 | 0.2291 | 0.2264 | 0.0512 |
|
106 |
+
| 0.0785 | 5.4011 | 3400 | 0.2198 | 0.2270 | 0.0505 |
|
107 |
+
| 0.0595 | 5.5600 | 3500 | 0.2153 | 0.2213 | 0.0490 |
|
108 |
+
| 0.0882 | 5.7188 | 3600 | 0.2154 | 0.2174 | 0.0487 |
|
109 |
+
| 0.0763 | 5.8777 | 3700 | 0.2245 | 0.2178 | 0.0484 |
|
110 |
+
| 0.0937 | 6.0365 | 3800 | 0.2250 | 0.2200 | 0.0494 |
|
111 |
+
| 0.0664 | 6.1954 | 3900 | 0.2147 | 0.2112 | 0.0473 |
|
112 |
+
| 0.0665 | 6.3542 | 4000 | 0.2122 | 0.2069 | 0.0464 |
|
113 |
+
| 0.0876 | 6.5131 | 4100 | 0.2173 | 0.2117 | 0.0476 |
|
114 |
+
| 0.0653 | 6.6720 | 4200 | 0.2088 | 0.2132 | 0.0474 |
|
115 |
+
| 0.0863 | 6.8308 | 4300 | 0.2181 | 0.2085 | 0.0470 |
|
116 |
+
| 0.088 | 6.9897 | 4400 | 0.2058 | 0.2049 | 0.0456 |
|
117 |
+
| 0.0721 | 7.1485 | 4500 | 0.2155 | 0.2048 | 0.0456 |
|
118 |
+
| 0.0474 | 7.3074 | 4600 | 0.2104 | 0.1992 | 0.0443 |
|
119 |
+
| 0.1084 | 7.4662 | 4700 | 0.2136 | 0.1972 | 0.0444 |
|
120 |
+
| 0.0695 | 7.6251 | 4800 | 0.2049 | 0.1922 | 0.0426 |
|
121 |
+
| 0.0463 | 7.7840 | 4900 | 0.2117 | 0.1900 | 0.0420 |
|
122 |
+
| 0.0485 | 7.9428 | 5000 | 0.2063 | 0.1886 | 0.0420 |
|
123 |
+
| 0.0401 | 8.1017 | 5100 | 0.2031 | 0.1871 | 0.0414 |
|
124 |
+
| 0.0355 | 8.2605 | 5200 | 0.2074 | 0.1886 | 0.0421 |
|
125 |
+
| 0.0543 | 8.4194 | 5300 | 0.2140 | 0.1878 | 0.0421 |
|
126 |
+
| 0.0364 | 8.5782 | 5400 | 0.2104 | 0.1869 | 0.0418 |
|
127 |
+
| 0.0334 | 8.7371 | 5500 | 0.2021 | 0.1827 | 0.0407 |
|
128 |
+
| 0.0588 | 8.8959 | 5600 | 0.1960 | 0.1808 | 0.0400 |
|
129 |
+
| 0.0793 | 9.0548 | 5700 | 0.1980 | 0.1793 | 0.0394 |
|
130 |
+
| 0.0597 | 9.2137 | 5800 | 0.1992 | 0.1774 | 0.0388 |
|
131 |
+
| 0.0662 | 9.3725 | 5900 | 0.2035 | 0.1767 | 0.0388 |
|
132 |
+
| 0.0352 | 9.5314 | 6000 | 0.2032 | 0.1773 | 0.0389 |
|
133 |
+
| 0.0391 | 9.6902 | 6100 | 0.2041 | 0.1767 | 0.0387 |
|
134 |
+
| 0.0357 | 9.8491 | 6200 | 0.2040 | 0.1759 | 0.0387 |
|
135 |
+
|
136 |
+
|
137 |
+
### Framework versions
|
138 |
+
|
139 |
+
- Transformers 4.42.0.dev0
|
140 |
+
- Pytorch 2.3.1+cu121
|
141 |
+
- Datasets 2.19.2
|
142 |
+
- Tokenizers 0.19.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|