yip-i commited on
Commit
9928bbe
·
1 Parent(s): fb34fd6

Upload 8 files

Browse files
README.md ADDED
@@ -0,0 +1,91 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_trainer
5
+ metrics:
6
+ - wer
7
+ model-index:
8
+ - name: torgo_xlsr_finetune-M03-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-M03-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: 0.2376
20
+ - Wer: 0.5541
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
+ | 23.6177 | 0.92 | 500 | 3.4289 | 1.0 |
53
+ | 3.4209 | 1.85 | 1000 | 21.5765 | 1.0 |
54
+ | 3.1586 | 2.77 | 1500 | 2.8397 | 1.0 |
55
+ | 2.7993 | 3.69 | 2000 | 2.7192 | 1.2867 |
56
+ | 2.644 | 4.61 | 2500 | 2.5331 | 1.2996 |
57
+ | 2.4662 | 5.54 | 3000 | 2.1750 | 1.2341 |
58
+ | 1.9879 | 6.46 | 3500 | 1.3732 | 1.2693 |
59
+ | 1.4941 | 7.38 | 4000 | 0.8590 | 1.1900 |
60
+ | 1.1848 | 8.3 | 4500 | 0.6774 | 1.1339 |
61
+ | 0.9662 | 9.23 | 5000 | 0.5184 | 0.9856 |
62
+ | 0.8094 | 10.15 | 5500 | 0.4515 | 0.9504 |
63
+ | 0.6835 | 11.07 | 6000 | 0.3616 | 0.8457 |
64
+ | 0.6111 | 11.99 | 6500 | 0.3209 | 0.8254 |
65
+ | 0.5305 | 12.92 | 7000 | 0.3098 | 0.7902 |
66
+ | 0.479 | 13.84 | 7500 | 0.2964 | 0.7569 |
67
+ | 0.4369 | 14.76 | 8000 | 0.2447 | 0.7063 |
68
+ | 0.3836 | 15.68 | 8500 | 0.2676 | 0.7063 |
69
+ | 0.3628 | 16.61 | 9000 | 0.2714 | 0.7128 |
70
+ | 0.3416 | 17.53 | 9500 | 0.2664 | 0.6766 |
71
+ | 0.3297 | 18.45 | 10000 | 0.2510 | 0.6528 |
72
+ | 0.2883 | 19.37 | 10500 | 0.2636 | 0.6493 |
73
+ | 0.2694 | 20.3 | 11000 | 0.2556 | 0.6255 |
74
+ | 0.2655 | 21.22 | 11500 | 0.2328 | 0.6186 |
75
+ | 0.2364 | 22.14 | 12000 | 0.2293 | 0.6037 |
76
+ | 0.241 | 23.06 | 12500 | 0.2587 | 0.5928 |
77
+ | 0.2125 | 23.99 | 13000 | 0.2528 | 0.5843 |
78
+ | 0.2101 | 24.91 | 13500 | 0.2315 | 0.5719 |
79
+ | 0.1973 | 25.83 | 14000 | 0.2401 | 0.5769 |
80
+ | 0.1914 | 26.75 | 14500 | 0.2380 | 0.5610 |
81
+ | 0.1936 | 27.68 | 15000 | 0.2425 | 0.5551 |
82
+ | 0.1808 | 28.6 | 15500 | 0.2425 | 0.5556 |
83
+ | 0.1739 | 29.52 | 16000 | 0.2376 | 0.5541 |
84
+
85
+
86
+ ### Framework versions
87
+
88
+ - Transformers 4.26.1
89
+ - Pytorch 1.13.1+cu116
90
+ - Datasets 1.18.3
91
+ - 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:104a7447406efde142072e51b13a40f6af8f48b09cf3b83772249e073ec16ab0
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:10016667ca4ca21d318178f1ec6b59103625efcb8d14f1b208456d988e57d43a
3
+ size 3515
vocab.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "'": 18,
3
+ "[PAD]": 29,
4
+ "[UNK]": 28,
5
+ "a": 7,
6
+ "b": 16,
7
+ "c": 14,
8
+ "d": 2,
9
+ "e": 24,
10
+ "f": 26,
11
+ "g": 9,
12
+ "h": 15,
13
+ "i": 3,
14
+ "j": 13,
15
+ "k": 27,
16
+ "l": 4,
17
+ "m": 11,
18
+ "n": 12,
19
+ "o": 23,
20
+ "p": 21,
21
+ "q": 10,
22
+ "r": 5,
23
+ "s": 25,
24
+ "t": 22,
25
+ "u": 20,
26
+ "v": 1,
27
+ "w": 6,
28
+ "x": 0,
29
+ "y": 19,
30
+ "z": 17,
31
+ "|": 8
32
+ }