End of training
Browse files- README.md +127 -0
- added_tokens.json +4 -0
- config.json +116 -0
- model.safetensors +3 -0
- preprocessor_config.json +10 -0
- special_tokens_map.json +6 -0
- tokenizer_config.json +48 -0
- training_args.bin +3 -0
- vocab.json +50 -0
README.md
ADDED
@@ -0,0 +1,127 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
library_name: transformers
|
3 |
+
license: apache-2.0
|
4 |
+
base_model: facebook/wav2vec2-large-xlsr-53
|
5 |
+
tags:
|
6 |
+
- generated_from_trainer
|
7 |
+
datasets:
|
8 |
+
- common_voice_13_0
|
9 |
+
metrics:
|
10 |
+
- wer
|
11 |
+
model-index:
|
12 |
+
- name: ierg4320_en_test
|
13 |
+
results:
|
14 |
+
- task:
|
15 |
+
name: Automatic Speech Recognition
|
16 |
+
type: automatic-speech-recognition
|
17 |
+
dataset:
|
18 |
+
name: common_voice_13_0
|
19 |
+
type: common_voice_13_0
|
20 |
+
config: en
|
21 |
+
split: None
|
22 |
+
args: en
|
23 |
+
metrics:
|
24 |
+
- name: Wer
|
25 |
+
type: wer
|
26 |
+
value: 0.415272136474411
|
27 |
+
---
|
28 |
+
|
29 |
+
<!-- This model card has been generated automatically according to the information the Trainer had access to. You
|
30 |
+
should probably proofread and complete it, then remove this comment. -->
|
31 |
+
|
32 |
+
# ierg4320_en_test
|
33 |
+
|
34 |
+
This model is a fine-tuned version of [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the common_voice_13_0 dataset.
|
35 |
+
It achieves the following results on the evaluation set:
|
36 |
+
- Loss: 0.9548
|
37 |
+
- Wer: 0.4153
|
38 |
+
|
39 |
+
## Model description
|
40 |
+
|
41 |
+
More information needed
|
42 |
+
|
43 |
+
## Intended uses & limitations
|
44 |
+
|
45 |
+
More information needed
|
46 |
+
|
47 |
+
## Training and evaluation data
|
48 |
+
|
49 |
+
More information needed
|
50 |
+
|
51 |
+
## Training procedure
|
52 |
+
|
53 |
+
### Training hyperparameters
|
54 |
+
|
55 |
+
The following hyperparameters were used during training:
|
56 |
+
- learning_rate: 0.0003
|
57 |
+
- train_batch_size: 16
|
58 |
+
- eval_batch_size: 8
|
59 |
+
- seed: 42
|
60 |
+
- gradient_accumulation_steps: 2
|
61 |
+
- total_train_batch_size: 32
|
62 |
+
- optimizer: Use OptimizerNames.ADAMW_TORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
|
63 |
+
- lr_scheduler_type: linear
|
64 |
+
- lr_scheduler_warmup_steps: 500
|
65 |
+
- num_epochs: 30
|
66 |
+
- mixed_precision_training: Native AMP
|
67 |
+
|
68 |
+
### Training results
|
69 |
+
|
70 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
71 |
+
|:-------------:|:-------:|:-----:|:---------------:|:------:|
|
72 |
+
| 5.0982 | 0.6211 | 400 | 2.9438 | 0.9938 |
|
73 |
+
| 1.7877 | 1.2422 | 800 | 1.0128 | 0.6645 |
|
74 |
+
| 0.8688 | 1.8634 | 1200 | 0.8012 | 0.5662 |
|
75 |
+
| 0.6808 | 2.4845 | 1600 | 0.8370 | 0.5366 |
|
76 |
+
| 0.6252 | 3.1056 | 2000 | 0.7710 | 0.5063 |
|
77 |
+
| 0.5532 | 3.7267 | 2400 | 0.7258 | 0.5041 |
|
78 |
+
| 0.5073 | 4.3478 | 2800 | 0.7337 | 0.4864 |
|
79 |
+
| 0.4834 | 4.9689 | 3200 | 0.7023 | 0.4777 |
|
80 |
+
| 0.4419 | 5.5901 | 3600 | 0.7542 | 0.4708 |
|
81 |
+
| 0.4326 | 6.2112 | 4000 | 0.7187 | 0.4647 |
|
82 |
+
| 0.4024 | 6.8323 | 4400 | 0.7212 | 0.4671 |
|
83 |
+
| 0.3809 | 7.4534 | 4800 | 0.7139 | 0.4582 |
|
84 |
+
| 0.3752 | 8.0745 | 5200 | 0.7296 | 0.4512 |
|
85 |
+
| 0.337 | 8.6957 | 5600 | 0.7207 | 0.4578 |
|
86 |
+
| 0.3305 | 9.3168 | 6000 | 0.7233 | 0.4528 |
|
87 |
+
| 0.3329 | 9.9379 | 6400 | 0.7178 | 0.4565 |
|
88 |
+
| 0.3047 | 10.5590 | 6800 | 0.7077 | 0.4518 |
|
89 |
+
| 0.2957 | 11.1801 | 7200 | 0.7788 | 0.4512 |
|
90 |
+
| 0.2913 | 11.8012 | 7600 | 0.7483 | 0.4528 |
|
91 |
+
| 0.2685 | 12.4224 | 8000 | 0.7644 | 0.4426 |
|
92 |
+
| 0.2666 | 13.0435 | 8400 | 0.7640 | 0.4427 |
|
93 |
+
| 0.2495 | 13.6646 | 8800 | 0.7959 | 0.4401 |
|
94 |
+
| 0.2501 | 14.2857 | 9200 | 0.7978 | 0.4494 |
|
95 |
+
| 0.2369 | 14.9068 | 9600 | 0.8217 | 0.4403 |
|
96 |
+
| 0.2282 | 15.5280 | 10000 | 0.8052 | 0.4359 |
|
97 |
+
| 0.2293 | 16.1491 | 10400 | 0.8688 | 0.4357 |
|
98 |
+
| 0.2165 | 16.7702 | 10800 | 0.8566 | 0.4385 |
|
99 |
+
| 0.2067 | 17.3913 | 11200 | 0.8504 | 0.4307 |
|
100 |
+
| 0.2034 | 18.0124 | 11600 | 0.8358 | 0.4346 |
|
101 |
+
| 0.1963 | 18.6335 | 12000 | 0.8729 | 0.4307 |
|
102 |
+
| 0.1846 | 19.2547 | 12400 | 0.8562 | 0.4349 |
|
103 |
+
| 0.189 | 19.8758 | 12800 | 0.8408 | 0.4266 |
|
104 |
+
| 0.1787 | 20.4969 | 13200 | 0.8424 | 0.4288 |
|
105 |
+
| 0.1757 | 21.1180 | 13600 | 0.8947 | 0.4327 |
|
106 |
+
| 0.1691 | 21.7391 | 14000 | 0.9070 | 0.4291 |
|
107 |
+
| 0.1652 | 22.3602 | 14400 | 0.8735 | 0.4299 |
|
108 |
+
| 0.1619 | 22.9814 | 14800 | 0.9224 | 0.4315 |
|
109 |
+
| 0.1544 | 23.6025 | 15200 | 0.9199 | 0.4278 |
|
110 |
+
| 0.1551 | 24.2236 | 15600 | 0.9089 | 0.4240 |
|
111 |
+
| 0.1449 | 24.8447 | 16000 | 0.9296 | 0.4229 |
|
112 |
+
| 0.1465 | 25.4658 | 16400 | 0.9476 | 0.4198 |
|
113 |
+
| 0.1434 | 26.0870 | 16800 | 0.9167 | 0.4193 |
|
114 |
+
| 0.1431 | 26.7081 | 17200 | 0.9492 | 0.4141 |
|
115 |
+
| 0.1335 | 27.3292 | 17600 | 0.9597 | 0.4185 |
|
116 |
+
| 0.1326 | 27.9503 | 18000 | 0.9516 | 0.4156 |
|
117 |
+
| 0.1333 | 28.5714 | 18400 | 0.9490 | 0.4153 |
|
118 |
+
| 0.1293 | 29.1925 | 18800 | 0.9605 | 0.4172 |
|
119 |
+
| 0.1257 | 29.8137 | 19200 | 0.9548 | 0.4153 |
|
120 |
+
|
121 |
+
|
122 |
+
### Framework versions
|
123 |
+
|
124 |
+
- Transformers 4.46.3
|
125 |
+
- Pytorch 2.5.1.post302
|
126 |
+
- Datasets 3.1.0
|
127 |
+
- Tokenizers 0.20.4
|
added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"</s>": 49,
|
3 |
+
"<s>": 48
|
4 |
+
}
|
config.json
ADDED
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "facebook/wav2vec2-large-xlsr-53",
|
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.1,
|
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 |
+
"hidden_act": "gelu",
|
57 |
+
"hidden_dropout": 0.1,
|
58 |
+
"hidden_size": 1024,
|
59 |
+
"initializer_range": 0.02,
|
60 |
+
"intermediate_size": 4096,
|
61 |
+
"layer_norm_eps": 1e-05,
|
62 |
+
"layerdrop": 0.1,
|
63 |
+
"mask_channel_length": 10,
|
64 |
+
"mask_channel_min_space": 1,
|
65 |
+
"mask_channel_other": 0.0,
|
66 |
+
"mask_channel_prob": 0.0,
|
67 |
+
"mask_channel_selection": "static",
|
68 |
+
"mask_feature_length": 10,
|
69 |
+
"mask_feature_min_masks": 0,
|
70 |
+
"mask_feature_prob": 0.0,
|
71 |
+
"mask_time_length": 10,
|
72 |
+
"mask_time_min_masks": 2,
|
73 |
+
"mask_time_min_space": 1,
|
74 |
+
"mask_time_other": 0.0,
|
75 |
+
"mask_time_prob": 0.05,
|
76 |
+
"mask_time_selection": "static",
|
77 |
+
"model_type": "wav2vec2",
|
78 |
+
"num_adapter_layers": 3,
|
79 |
+
"num_attention_heads": 16,
|
80 |
+
"num_codevector_groups": 2,
|
81 |
+
"num_codevectors_per_group": 320,
|
82 |
+
"num_conv_pos_embedding_groups": 16,
|
83 |
+
"num_conv_pos_embeddings": 128,
|
84 |
+
"num_feat_extract_layers": 7,
|
85 |
+
"num_hidden_layers": 24,
|
86 |
+
"num_negatives": 100,
|
87 |
+
"output_hidden_size": 1024,
|
88 |
+
"pad_token_id": 47,
|
89 |
+
"proj_codevector_dim": 768,
|
90 |
+
"tdnn_dilation": [
|
91 |
+
1,
|
92 |
+
2,
|
93 |
+
3,
|
94 |
+
1,
|
95 |
+
1
|
96 |
+
],
|
97 |
+
"tdnn_dim": [
|
98 |
+
512,
|
99 |
+
512,
|
100 |
+
512,
|
101 |
+
512,
|
102 |
+
1500
|
103 |
+
],
|
104 |
+
"tdnn_kernel": [
|
105 |
+
5,
|
106 |
+
3,
|
107 |
+
3,
|
108 |
+
1,
|
109 |
+
1
|
110 |
+
],
|
111 |
+
"torch_dtype": "float32",
|
112 |
+
"transformers_version": "4.46.3",
|
113 |
+
"use_weighted_layer_sum": false,
|
114 |
+
"vocab_size": 50,
|
115 |
+
"xvector_output_dim": 512
|
116 |
+
}
|
model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:bbb5c41dcc9d4c0d9869ec131d9f0f3321b46da7c61cd2b1cc6690b82893c23e
|
3 |
+
size 1262012480
|
preprocessor_config.json
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"do_normalize": true,
|
3 |
+
"feature_extractor_type": "Wav2Vec2FeatureExtractor",
|
4 |
+
"feature_size": 1,
|
5 |
+
"padding_side": "right",
|
6 |
+
"padding_value": 0.0,
|
7 |
+
"processor_class": "Wav2Vec2Processor",
|
8 |
+
"return_attention_mask": true,
|
9 |
+
"sampling_rate": 16000
|
10 |
+
}
|
special_tokens_map.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": "<s>",
|
3 |
+
"eos_token": "</s>",
|
4 |
+
"pad_token": "[PAD]",
|
5 |
+
"unk_token": "[UNK]"
|
6 |
+
}
|
tokenizer_config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"added_tokens_decoder": {
|
3 |
+
"46": {
|
4 |
+
"content": "[UNK]",
|
5 |
+
"lstrip": true,
|
6 |
+
"normalized": false,
|
7 |
+
"rstrip": true,
|
8 |
+
"single_word": false,
|
9 |
+
"special": false
|
10 |
+
},
|
11 |
+
"47": {
|
12 |
+
"content": "[PAD]",
|
13 |
+
"lstrip": true,
|
14 |
+
"normalized": false,
|
15 |
+
"rstrip": true,
|
16 |
+
"single_word": false,
|
17 |
+
"special": false
|
18 |
+
},
|
19 |
+
"48": {
|
20 |
+
"content": "<s>",
|
21 |
+
"lstrip": false,
|
22 |
+
"normalized": false,
|
23 |
+
"rstrip": false,
|
24 |
+
"single_word": false,
|
25 |
+
"special": true
|
26 |
+
},
|
27 |
+
"49": {
|
28 |
+
"content": "</s>",
|
29 |
+
"lstrip": false,
|
30 |
+
"normalized": false,
|
31 |
+
"rstrip": false,
|
32 |
+
"single_word": false,
|
33 |
+
"special": true
|
34 |
+
}
|
35 |
+
},
|
36 |
+
"bos_token": "<s>",
|
37 |
+
"clean_up_tokenization_spaces": false,
|
38 |
+
"do_lower_case": false,
|
39 |
+
"eos_token": "</s>",
|
40 |
+
"model_max_length": 1000000000000000019884624838656,
|
41 |
+
"pad_token": "[PAD]",
|
42 |
+
"processor_class": "Wav2Vec2Processor",
|
43 |
+
"replace_word_delimiter_char": " ",
|
44 |
+
"target_lang": null,
|
45 |
+
"tokenizer_class": "Wav2Vec2CTCTokenizer",
|
46 |
+
"unk_token": "[UNK]",
|
47 |
+
"word_delimiter_token": "|"
|
48 |
+
}
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:aa9da27149af645020abc3822885e386763f214d71f789340f59e7d857d2d3ce
|
3 |
+
size 5304
|
vocab.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"'": 9,
|
3 |
+
"(": 37,
|
4 |
+
")": 15,
|
5 |
+
"/": 40,
|
6 |
+
"[PAD]": 47,
|
7 |
+
"[UNK]": 46,
|
8 |
+
"a": 22,
|
9 |
+
"b": 12,
|
10 |
+
"c": 4,
|
11 |
+
"d": 26,
|
12 |
+
"e": 33,
|
13 |
+
"f": 27,
|
14 |
+
"g": 7,
|
15 |
+
"h": 32,
|
16 |
+
"i": 0,
|
17 |
+
"j": 16,
|
18 |
+
"k": 24,
|
19 |
+
"l": 34,
|
20 |
+
"m": 35,
|
21 |
+
"n": 14,
|
22 |
+
"o": 44,
|
23 |
+
"p": 28,
|
24 |
+
"q": 1,
|
25 |
+
"r": 11,
|
26 |
+
"s": 8,
|
27 |
+
"t": 18,
|
28 |
+
"u": 29,
|
29 |
+
"v": 41,
|
30 |
+
"w": 6,
|
31 |
+
"x": 42,
|
32 |
+
"y": 5,
|
33 |
+
"z": 3,
|
34 |
+
"|": 13,
|
35 |
+
"à": 25,
|
36 |
+
"á": 17,
|
37 |
+
"è": 38,
|
38 |
+
"é": 31,
|
39 |
+
"ê": 39,
|
40 |
+
"ë": 19,
|
41 |
+
"í": 23,
|
42 |
+
"ï": 30,
|
43 |
+
"ó": 2,
|
44 |
+
"ō": 21,
|
45 |
+
"ř": 10,
|
46 |
+
"ž": 20,
|
47 |
+
"–": 43,
|
48 |
+
"—": 45,
|
49 |
+
"’": 36
|
50 |
+
}
|