yip-i commited on
Commit
a4fd0af
·
1 Parent(s): 293aee4

Upload 8 files

Browse files
README.md ADDED
@@ -0,0 +1,93 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - wer
7
+ model-index:
8
+ - name: torgo_xlsr_finetune-M05-2
9
+ results: []
10
+ ---
11
+
12
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
13
+ should probably proofread and complete it, then remove this comment. -->
14
+
15
+ # torgo_xlsr_finetune-M05-2
16
+
17
+ This model is a fine-tuned version of [facebook/wav2vec2-large-xlsr-53](https://huggingface.co/facebook/wav2vec2-large-xlsr-53) on the None dataset.
18
+ It achieves the following results on the evaluation set:
19
+ - Loss: 1.5128
20
+ - Wer: 1.1148
21
+
22
+ ## Model description
23
+
24
+ More information needed
25
+
26
+ ## Intended uses & limitations
27
+
28
+ More information needed
29
+
30
+ ## Training and evaluation data
31
+
32
+ More information needed
33
+
34
+ ## Training procedure
35
+
36
+ ### Training hyperparameters
37
+
38
+ The following hyperparameters were used during training:
39
+ - learning_rate: 0.0001
40
+ - train_batch_size: 8
41
+ - eval_batch_size: 8
42
+ - seed: 42
43
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
44
+ - lr_scheduler_type: linear
45
+ - lr_scheduler_warmup_steps: 1000
46
+ - num_epochs: 30
47
+
48
+ ### Training results
49
+
50
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
51
+ |:-------------:|:-----:|:-----:|:---------------:|:------:|
52
+ | 22.2047 | 0.86 | 500 | 3.3446 | 0.9930 |
53
+ | 3.3679 | 1.72 | 1000 | 2.9591 | 0.9930 |
54
+ | 2.8813 | 2.58 | 1500 | 2.7978 | 0.9930 |
55
+ | 2.7207 | 3.44 | 2000 | 2.5604 | 0.9930 |
56
+ | 2.3274 | 4.3 | 2500 | 2.0135 | 1.4468 |
57
+ | 1.5821 | 5.16 | 3000 | 1.6148 | 1.5686 |
58
+ | 1.1549 | 6.02 | 3500 | 1.3447 | 1.5014 |
59
+ | 0.8908 | 6.88 | 4000 | 1.3315 | 1.4524 |
60
+ | 0.7204 | 7.75 | 4500 | 1.3250 | 1.3894 |
61
+ | 0.6209 | 8.61 | 5000 | 1.2566 | 1.3697 |
62
+ | 0.5507 | 9.47 | 5500 | 1.2300 | 1.3221 |
63
+ | 0.4622 | 10.33 | 6000 | 1.3826 | 1.3165 |
64
+ | 0.4503 | 11.19 | 6500 | 1.2769 | 1.2717 |
65
+ | 0.4026 | 12.05 | 7000 | 1.3531 | 1.2955 |
66
+ | 0.3617 | 12.91 | 7500 | 1.2806 | 1.2521 |
67
+ | 0.3239 | 13.77 | 8000 | 1.5507 | 1.2437 |
68
+ | 0.3051 | 14.63 | 8500 | 1.6217 | 1.2563 |
69
+ | 0.2983 | 15.49 | 9000 | 1.5210 | 1.2185 |
70
+ | 0.2766 | 16.35 | 9500 | 1.4787 | 1.2143 |
71
+ | 0.2642 | 17.21 | 10000 | 1.6284 | 1.2311 |
72
+ | 0.2358 | 18.07 | 10500 | 1.3203 | 1.1891 |
73
+ | 0.2303 | 18.93 | 11000 | 1.5233 | 1.2185 |
74
+ | 0.2166 | 19.79 | 11500 | 1.5111 | 1.2129 |
75
+ | 0.2162 | 20.65 | 12000 | 1.5128 | 1.1919 |
76
+ | 0.1981 | 21.51 | 12500 | 1.4668 | 1.1877 |
77
+ | 0.1736 | 22.38 | 13000 | 1.5041 | 1.1485 |
78
+ | 0.1725 | 23.24 | 13500 | 1.5306 | 1.1639 |
79
+ | 0.1632 | 24.1 | 14000 | 1.3756 | 1.1373 |
80
+ | 0.1597 | 24.96 | 14500 | 1.5404 | 1.1345 |
81
+ | 0.1571 | 25.82 | 15000 | 1.4863 | 1.1359 |
82
+ | 0.1569 | 26.68 | 15500 | 1.4775 | 1.1401 |
83
+ | 0.1431 | 27.54 | 16000 | 1.5410 | 1.1218 |
84
+ | 0.1373 | 28.4 | 16500 | 1.5212 | 1.1246 |
85
+ | 0.1461 | 29.26 | 17000 | 1.5128 | 1.1148 |
86
+
87
+
88
+ ### Framework versions
89
+
90
+ - Transformers 4.26.1
91
+ - Pytorch 1.13.1+cu116
92
+ - Datasets 1.18.3
93
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/wav2vec2-large-xlsr-53",
3
+ "activation_dropout": 0.0,
4
+ "adapter_kernel_size": 3,
5
+ "adapter_stride": 2,
6
+ "add_adapter": false,
7
+ "apply_spec_augment": true,
8
+ "architectures": [
9
+ "Wav2Vec2ForCTC"
10
+ ],
11
+ "attention_dropout": 0.1,
12
+ "bos_token_id": 1,
13
+ "classifier_proj_size": 256,
14
+ "codevector_dim": 768,
15
+ "contrastive_logits_temperature": 0.1,
16
+ "conv_bias": true,
17
+ "conv_dim": [
18
+ 512,
19
+ 512,
20
+ 512,
21
+ 512,
22
+ 512,
23
+ 512,
24
+ 512
25
+ ],
26
+ "conv_kernel": [
27
+ 10,
28
+ 3,
29
+ 3,
30
+ 3,
31
+ 3,
32
+ 2,
33
+ 2
34
+ ],
35
+ "conv_stride": [
36
+ 5,
37
+ 2,
38
+ 2,
39
+ 2,
40
+ 2,
41
+ 2,
42
+ 2
43
+ ],
44
+ "ctc_loss_reduction": "mean",
45
+ "ctc_zero_infinity": false,
46
+ "diversity_loss_weight": 0.1,
47
+ "do_stable_layer_norm": true,
48
+ "eos_token_id": 2,
49
+ "feat_extract_activation": "gelu",
50
+ "feat_extract_dropout": 0.0,
51
+ "feat_extract_norm": "layer",
52
+ "feat_proj_dropout": 0.1,
53
+ "feat_quantizer_dropout": 0.0,
54
+ "final_dropout": 0.0,
55
+ "gradient_checkpointing": false,
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.075,
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": 29,
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.26.1",
113
+ "use_weighted_layer_sum": false,
114
+ "vocab_size": 32,
115
+ "xvector_output_dim": 512
116
+ }
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
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb49fa034ccbb8b33d43682404fb8f4f573f2fe80a15da69c8a4a4467a1ad115
3
+ size 1262033069
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,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": "<s>",
3
+ "do_lower_case": false,
4
+ "eos_token": "</s>",
5
+ "model_max_length": 1000000000000000019884624838656,
6
+ "pad_token": "[PAD]",
7
+ "replace_word_delimiter_char": " ",
8
+ "tokenizer_class": "Wav2Vec2CTCTokenizer",
9
+ "unk_token": "[UNK]",
10
+ "word_delimiter_token": "|"
11
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:325e93df1672566cb2ae4e8a1e8a9e1eb4748e96533545b24012c830ed9d90cb
3
+ size 3515
vocab.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "'": 13,
3
+ "[PAD]": 29,
4
+ "[UNK]": 28,
5
+ "a": 18,
6
+ "b": 20,
7
+ "c": 24,
8
+ "d": 25,
9
+ "e": 11,
10
+ "f": 7,
11
+ "g": 3,
12
+ "h": 17,
13
+ "i": 0,
14
+ "j": 23,
15
+ "k": 12,
16
+ "l": 22,
17
+ "m": 27,
18
+ "n": 19,
19
+ "o": 9,
20
+ "p": 21,
21
+ "q": 4,
22
+ "r": 1,
23
+ "s": 2,
24
+ "t": 10,
25
+ "u": 5,
26
+ "v": 8,
27
+ "w": 14,
28
+ "x": 26,
29
+ "y": 6,
30
+ "z": 15,
31
+ "|": 16
32
+ }