End of training
Browse files- README.md +123 -198
- config.json +109 -0
- model.safetensors +3 -0
- preprocessor_config.json +9 -0
- runs/Apr15_08-15-44_eadeccf3264c/events.out.tfevents.1713169897.eadeccf3264c.25.0 +3 -0
- training_args.bin +3 -0
README.md
CHANGED
@@ -1,201 +1,126 @@
|
|
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]
|
200 |
-
|
201 |
-
|
|
|
1 |
---
|
2 |
+
license: apache-2.0
|
3 |
+
base_model: facebook/wav2vec2-xls-r-300m
|
4 |
+
tags:
|
5 |
+
- generated_from_trainer
|
6 |
+
metrics:
|
7 |
+
- wer
|
8 |
+
model-index:
|
9 |
+
- name: wav2vec2-large-xls-r-300m-sinhala-original-split-part4-epoch30-final
|
10 |
+
results: []
|
11 |
---
|
12 |
|
13 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
14 |
+
should probably proofread and complete it, then remove this comment. -->
|
15 |
+
|
16 |
+
# wav2vec2-large-xls-r-300m-sinhala-original-split-part4-epoch30-final
|
17 |
+
|
18 |
+
This model is a fine-tuned version of [facebook/wav2vec2-xls-r-300m](https://huggingface.co/facebook/wav2vec2-xls-r-300m) on an unknown dataset.
|
19 |
+
It achieves the following results on the evaluation set:
|
20 |
+
- Loss: 0.1837
|
21 |
+
- Wer: 0.1334
|
22 |
+
|
23 |
+
## Model description
|
24 |
+
|
25 |
+
More information needed
|
26 |
+
|
27 |
+
## Intended uses & limitations
|
28 |
+
|
29 |
+
More information needed
|
30 |
+
|
31 |
+
## Training and evaluation data
|
32 |
+
|
33 |
+
More information needed
|
34 |
+
|
35 |
+
## Training procedure
|
36 |
+
|
37 |
+
### Training hyperparameters
|
38 |
+
|
39 |
+
The following hyperparameters were used during training:
|
40 |
+
- learning_rate: 0.0003
|
41 |
+
- train_batch_size: 8
|
42 |
+
- eval_batch_size: 8
|
43 |
+
- seed: 42
|
44 |
+
- gradient_accumulation_steps: 2
|
45 |
+
- total_train_batch_size: 16
|
46 |
+
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
|
47 |
+
- lr_scheduler_type: linear
|
48 |
+
- lr_scheduler_warmup_steps: 500
|
49 |
+
- num_epochs: 30
|
50 |
+
|
51 |
+
### Training results
|
52 |
+
|
53 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
54 |
+
|:-------------:|:-----:|:-----:|:---------------:|:------:|
|
55 |
+
| 6.0113 | 0.47 | 400 | 3.4040 | 1.0 |
|
56 |
+
| 1.3642 | 0.93 | 800 | 0.5373 | 0.6817 |
|
57 |
+
| 0.4891 | 1.4 | 1200 | 0.2962 | 0.4354 |
|
58 |
+
| 0.402 | 1.87 | 1600 | 0.2717 | 0.3688 |
|
59 |
+
| 0.3209 | 2.34 | 2000 | 0.2088 | 0.3262 |
|
60 |
+
| 0.2993 | 2.8 | 2400 | 0.1909 | 0.2587 |
|
61 |
+
| 0.2613 | 3.27 | 2800 | 0.1873 | 0.2502 |
|
62 |
+
| 0.2381 | 3.74 | 3200 | 0.1763 | 0.2310 |
|
63 |
+
| 0.2224 | 4.21 | 3600 | 0.1812 | 0.2142 |
|
64 |
+
| 0.2047 | 4.67 | 4000 | 0.1693 | 0.2089 |
|
65 |
+
| 0.1937 | 5.14 | 4400 | 0.1753 | 0.2085 |
|
66 |
+
| 0.1808 | 5.61 | 4800 | 0.1718 | 0.2153 |
|
67 |
+
| 0.1711 | 6.07 | 5200 | 0.1887 | 0.2206 |
|
68 |
+
| 0.1568 | 6.54 | 5600 | 0.1769 | 0.2111 |
|
69 |
+
| 0.161 | 7.01 | 6000 | 0.1701 | 0.2132 |
|
70 |
+
| 0.1391 | 7.48 | 6400 | 0.2001 | 0.2196 |
|
71 |
+
| 0.1447 | 7.94 | 6800 | 0.1749 | 0.2047 |
|
72 |
+
| 0.1237 | 8.41 | 7200 | 0.1833 | 0.2081 |
|
73 |
+
| 0.129 | 8.88 | 7600 | 0.1789 | 0.1993 |
|
74 |
+
| 0.1155 | 9.35 | 8000 | 0.1756 | 0.1838 |
|
75 |
+
| 0.1168 | 9.81 | 8400 | 0.1744 | 0.1913 |
|
76 |
+
| 0.1089 | 10.28 | 8800 | 0.1689 | 0.1793 |
|
77 |
+
| 0.1109 | 10.75 | 9200 | 0.1747 | 0.1785 |
|
78 |
+
| 0.0987 | 11.21 | 9600 | 0.1667 | 0.1769 |
|
79 |
+
| 0.0998 | 11.68 | 10000 | 0.1603 | 0.1715 |
|
80 |
+
| 0.094 | 12.15 | 10400 | 0.1649 | 0.1668 |
|
81 |
+
| 0.0942 | 12.62 | 10800 | 0.1654 | 0.1719 |
|
82 |
+
| 0.0912 | 13.08 | 11200 | 0.1840 | 0.1719 |
|
83 |
+
| 0.085 | 13.55 | 11600 | 0.1812 | 0.1778 |
|
84 |
+
| 0.0798 | 14.02 | 12000 | 0.1744 | 0.1704 |
|
85 |
+
| 0.0762 | 14.49 | 12400 | 0.1968 | 0.1702 |
|
86 |
+
| 0.078 | 14.95 | 12800 | 0.1897 | 0.1726 |
|
87 |
+
| 0.0717 | 15.42 | 13200 | 0.1795 | 0.1769 |
|
88 |
+
| 0.0753 | 15.89 | 13600 | 0.1940 | 0.1704 |
|
89 |
+
| 0.0718 | 16.36 | 14000 | 0.1944 | 0.1632 |
|
90 |
+
| 0.0671 | 16.82 | 14400 | 0.1731 | 0.1588 |
|
91 |
+
| 0.0656 | 17.29 | 14800 | 0.1999 | 0.1713 |
|
92 |
+
| 0.0626 | 17.76 | 15200 | 0.1844 | 0.1655 |
|
93 |
+
| 0.0617 | 18.22 | 15600 | 0.1920 | 0.1621 |
|
94 |
+
| 0.0613 | 18.69 | 16000 | 0.1856 | 0.1611 |
|
95 |
+
| 0.0576 | 19.16 | 16400 | 0.1794 | 0.1573 |
|
96 |
+
| 0.0592 | 19.63 | 16800 | 0.1949 | 0.1558 |
|
97 |
+
| 0.0551 | 20.09 | 17200 | 0.1850 | 0.1551 |
|
98 |
+
| 0.0526 | 20.56 | 17600 | 0.1869 | 0.1504 |
|
99 |
+
| 0.0521 | 21.03 | 18000 | 0.1891 | 0.1504 |
|
100 |
+
| 0.0497 | 21.5 | 18400 | 0.1909 | 0.1536 |
|
101 |
+
| 0.0475 | 21.96 | 18800 | 0.1768 | 0.1510 |
|
102 |
+
| 0.0455 | 22.43 | 19200 | 0.1963 | 0.1543 |
|
103 |
+
| 0.0472 | 22.9 | 19600 | 0.1837 | 0.1506 |
|
104 |
+
| 0.0474 | 23.36 | 20000 | 0.1842 | 0.1498 |
|
105 |
+
| 0.0412 | 23.83 | 20400 | 0.1817 | 0.1461 |
|
106 |
+
| 0.0421 | 24.3 | 20800 | 0.1831 | 0.1446 |
|
107 |
+
| 0.039 | 24.77 | 21200 | 0.1857 | 0.1447 |
|
108 |
+
| 0.0386 | 25.23 | 21600 | 0.1824 | 0.1415 |
|
109 |
+
| 0.0382 | 25.7 | 22000 | 0.1816 | 0.1397 |
|
110 |
+
| 0.0341 | 26.17 | 22400 | 0.1839 | 0.1423 |
|
111 |
+
| 0.0333 | 26.64 | 22800 | 0.1846 | 0.1416 |
|
112 |
+
| 0.0331 | 27.1 | 23200 | 0.1857 | 0.1436 |
|
113 |
+
| 0.0319 | 27.57 | 23600 | 0.1891 | 0.1396 |
|
114 |
+
| 0.0329 | 28.04 | 24000 | 0.1866 | 0.1356 |
|
115 |
+
| 0.031 | 28.5 | 24400 | 0.1864 | 0.1366 |
|
116 |
+
| 0.0296 | 28.97 | 24800 | 0.1860 | 0.1357 |
|
117 |
+
| 0.0298 | 29.44 | 25200 | 0.1836 | 0.1342 |
|
118 |
+
| 0.0278 | 29.91 | 25600 | 0.1837 | 0.1334 |
|
119 |
+
|
120 |
+
|
121 |
+
### Framework versions
|
122 |
+
|
123 |
+
- Transformers 4.37.0
|
124 |
+
- Pytorch 2.1.2
|
125 |
+
- Datasets 2.18.0
|
126 |
+
- Tokenizers 0.15.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
config.json
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/wav2vec2-xls-r-300m",
|
3 |
+
"activation_dropout": 0.0,
|
4 |
+
"adapter_attn_dim": null,
|
5 |
+
"adapter_kernel_size": 3,
|
6 |
+
"adapter_stride": 2,
|
7 |
+
"add_adapter": false,
|
8 |
+
"apply_spec_augment": true,
|
9 |
+
"architectures": [
|
10 |
+
"Wav2Vec2ForCTC"
|
11 |
+
],
|
12 |
+
"attention_dropout": 0.0,
|
13 |
+
"bos_token_id": 1,
|
14 |
+
"classifier_proj_size": 256,
|
15 |
+
"codevector_dim": 768,
|
16 |
+
"contrastive_logits_temperature": 0.1,
|
17 |
+
"conv_bias": true,
|
18 |
+
"conv_dim": [
|
19 |
+
512,
|
20 |
+
512,
|
21 |
+
512,
|
22 |
+
512,
|
23 |
+
512,
|
24 |
+
512,
|
25 |
+
512
|
26 |
+
],
|
27 |
+
"conv_kernel": [
|
28 |
+
10,
|
29 |
+
3,
|
30 |
+
3,
|
31 |
+
3,
|
32 |
+
3,
|
33 |
+
2,
|
34 |
+
2
|
35 |
+
],
|
36 |
+
"conv_stride": [
|
37 |
+
5,
|
38 |
+
2,
|
39 |
+
2,
|
40 |
+
2,
|
41 |
+
2,
|
42 |
+
2,
|
43 |
+
2
|
44 |
+
],
|
45 |
+
"ctc_loss_reduction": "mean",
|
46 |
+
"ctc_zero_infinity": false,
|
47 |
+
"diversity_loss_weight": 0.1,
|
48 |
+
"do_stable_layer_norm": true,
|
49 |
+
"eos_token_id": 2,
|
50 |
+
"feat_extract_activation": "gelu",
|
51 |
+
"feat_extract_dropout": 0.0,
|
52 |
+
"feat_extract_norm": "layer",
|
53 |
+
"feat_proj_dropout": 0.0,
|
54 |
+
"feat_quantizer_dropout": 0.0,
|
55 |
+
"final_dropout": 0.0,
|
56 |
+
"gradient_checkpointing": false,
|
57 |
+
"hidden_act": "gelu",
|
58 |
+
"hidden_dropout": 0.0,
|
59 |
+
"hidden_size": 1024,
|
60 |
+
"initializer_range": 0.02,
|
61 |
+
"intermediate_size": 4096,
|
62 |
+
"layer_norm_eps": 1e-05,
|
63 |
+
"layerdrop": 0.0,
|
64 |
+
"mask_feature_length": 10,
|
65 |
+
"mask_feature_min_masks": 0,
|
66 |
+
"mask_feature_prob": 0.0,
|
67 |
+
"mask_time_length": 10,
|
68 |
+
"mask_time_min_masks": 2,
|
69 |
+
"mask_time_prob": 0.05,
|
70 |
+
"model_type": "wav2vec2",
|
71 |
+
"num_adapter_layers": 3,
|
72 |
+
"num_attention_heads": 16,
|
73 |
+
"num_codevector_groups": 2,
|
74 |
+
"num_codevectors_per_group": 320,
|
75 |
+
"num_conv_pos_embedding_groups": 16,
|
76 |
+
"num_conv_pos_embeddings": 128,
|
77 |
+
"num_feat_extract_layers": 7,
|
78 |
+
"num_hidden_layers": 24,
|
79 |
+
"num_negatives": 100,
|
80 |
+
"output_hidden_size": 1024,
|
81 |
+
"pad_token_id": 77,
|
82 |
+
"proj_codevector_dim": 768,
|
83 |
+
"tdnn_dilation": [
|
84 |
+
1,
|
85 |
+
2,
|
86 |
+
3,
|
87 |
+
1,
|
88 |
+
1
|
89 |
+
],
|
90 |
+
"tdnn_dim": [
|
91 |
+
512,
|
92 |
+
512,
|
93 |
+
512,
|
94 |
+
512,
|
95 |
+
1500
|
96 |
+
],
|
97 |
+
"tdnn_kernel": [
|
98 |
+
5,
|
99 |
+
3,
|
100 |
+
3,
|
101 |
+
1,
|
102 |
+
1
|
103 |
+
],
|
104 |
+
"torch_dtype": "float32",
|
105 |
+
"transformers_version": "4.37.0",
|
106 |
+
"use_weighted_layer_sum": false,
|
107 |
+
"vocab_size": 80,
|
108 |
+
"xvector_output_dim": 512
|
109 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bc6a16f192b71598ed366313c87810c363163a046a38b680bb735d04795d23d5
|
3 |
+
size 1262135480
|
preprocessor_config.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"return_attention_mask": true,
|
8 |
+
"sampling_rate": 16000
|
9 |
+
}
|
runs/Apr15_08-15-44_eadeccf3264c/events.out.tfevents.1713169897.eadeccf3264c.25.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:618a702211838533ace18d6faeb1eef4c2bf2fd59fa805b4422f119636da47b9
|
3 |
+
size 6330
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f3347e1a0107002e6ee2a0675cd1504e5d56e54fd63e30e7b254461423a14ec5
|
3 |
+
size 4792
|