St4n commited on
Commit
3d6e42f
1 Parent(s): 86180d4

Upload folder using huggingface_hub

Browse files
README.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: facebook/wav2vec2-base-960h
4
+ tags:
5
+ - generated_from_trainer
6
+ datasets:
7
+ - audiofolder
8
+ metrics:
9
+ - wer
10
+ model-index:
11
+ - name: wav2vec2-base-self-331-colab
12
+ results:
13
+ - task:
14
+ name: Automatic Speech Recognition
15
+ type: automatic-speech-recognition
16
+ dataset:
17
+ name: audiofolder
18
+ type: audiofolder
19
+ config: default
20
+ split: test
21
+ args: default
22
+ metrics:
23
+ - name: Wer
24
+ type: wer
25
+ value: 0.15007215007215008
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
+ # wav2vec2-base-self-331-colab
32
+
33
+ This model is a fine-tuned version of [facebook/wav2vec2-base-960h](https://huggingface.co/facebook/wav2vec2-base-960h) on the audiofolder dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.3282
36
+ - Wer: 0.1501
37
+
38
+ ## Model description
39
+
40
+ More information needed
41
+
42
+ ## Intended uses & limitations
43
+
44
+ More information needed
45
+
46
+ ## Training and evaluation data
47
+
48
+ More information needed
49
+
50
+ ## Training procedure
51
+
52
+ ### Training hyperparameters
53
+
54
+ The following hyperparameters were used during training:
55
+ - learning_rate: 1e-05
56
+ - train_batch_size: 8
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - gradient_accumulation_steps: 2
60
+ - total_train_batch_size: 16
61
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_steps: 500
64
+ - num_epochs: 300
65
+ - mixed_precision_training: Native AMP
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
70
+ |:-------------:|:------:|:----:|:---------------:|:------:|
71
+ | 2.3444 | 30.77 | 200 | 2.1940 | 0.9841 |
72
+ | 1.972 | 61.54 | 400 | 1.4582 | 0.8167 |
73
+ | 1.3875 | 92.31 | 600 | 0.8476 | 0.5902 |
74
+ | 0.9092 | 123.08 | 800 | 0.5445 | 0.3636 |
75
+ | 0.6382 | 153.85 | 1000 | 0.4129 | 0.2641 |
76
+ | 0.5789 | 184.62 | 1200 | 0.3497 | 0.1876 |
77
+ | 0.4632 | 215.38 | 1400 | 0.3478 | 0.1616 |
78
+ | 0.4474 | 246.15 | 1600 | 0.3394 | 0.1486 |
79
+ | 0.429 | 276.92 | 1800 | 0.3282 | 0.1501 |
80
+
81
+
82
+ ### Framework versions
83
+
84
+ - Transformers 4.38.2
85
+ - Pytorch 2.2.1+cu121
86
+ - Datasets 2.18.0
87
+ - Tokenizers 0.15.2
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "</s>": 29,
3
+ "<s>": 28
4
+ }
alphabet.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"labels": [" ", "a", "b", "c", "d", "e", "f", "g", "h", "i", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "\u2047", "", "<s>", "</s>"], "is_bpe": false}
config.json ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "facebook/wav2vec2-base-960h",
3
+ "activation_dropout": 0.1,
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": 256,
16
+ "contrastive_logits_temperature": 0.1,
17
+ "conv_bias": false,
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": false,
49
+ "eos_token_id": 2,
50
+ "feat_extract_activation": "gelu",
51
+ "feat_extract_dropout": 0.0,
52
+ "feat_extract_norm": "group",
53
+ "feat_proj_dropout": 0.1,
54
+ "feat_quantizer_dropout": 0.0,
55
+ "final_dropout": 0.1,
56
+ "gradient_checkpointing": false,
57
+ "hidden_act": "gelu",
58
+ "hidden_dropout": 0.1,
59
+ "hidden_dropout_prob": 0.1,
60
+ "hidden_size": 768,
61
+ "initializer_range": 0.02,
62
+ "intermediate_size": 3072,
63
+ "layer_norm_eps": 1e-05,
64
+ "layerdrop": 0.1,
65
+ "mask_feature_length": 10,
66
+ "mask_feature_min_masks": 0,
67
+ "mask_feature_prob": 0.0,
68
+ "mask_time_length": 10,
69
+ "mask_time_min_masks": 2,
70
+ "mask_time_prob": 0.05,
71
+ "model_type": "wav2vec2",
72
+ "num_adapter_layers": 3,
73
+ "num_attention_heads": 12,
74
+ "num_codevector_groups": 2,
75
+ "num_codevectors_per_group": 320,
76
+ "num_conv_pos_embedding_groups": 16,
77
+ "num_conv_pos_embeddings": 128,
78
+ "num_feat_extract_layers": 7,
79
+ "num_hidden_layers": 12,
80
+ "num_negatives": 100,
81
+ "output_hidden_size": 768,
82
+ "pad_token_id": 27,
83
+ "proj_codevector_dim": 256,
84
+ "tdnn_dilation": [
85
+ 1,
86
+ 2,
87
+ 3,
88
+ 1,
89
+ 1
90
+ ],
91
+ "tdnn_dim": [
92
+ 512,
93
+ 512,
94
+ 512,
95
+ 512,
96
+ 1500
97
+ ],
98
+ "tdnn_kernel": [
99
+ 5,
100
+ 3,
101
+ 3,
102
+ 1,
103
+ 1
104
+ ],
105
+ "torch_dtype": "float32",
106
+ "transformers_version": "4.38.2",
107
+ "use_weighted_layer_sum": false,
108
+ "vocab_size": 32,
109
+ "xvector_output_dim": 512
110
+ }
language_model/5gram.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7bab2b9cbbbc0129a09e4ea49d8fc3054d7d9469cad97732e56584b41edb7db
3
+ size 47141
language_model/attrs.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"alpha": 0.5, "beta": 1.5, "unk_score_offset": -10.0, "score_boundary": true}
language_model/unigrams.txt ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ </s>
2
+ <s>
3
+ a
4
+ after
5
+ air
6
+ alive
7
+ altimeter
8
+ altitude
9
+ and
10
+ anti
11
+ approach
12
+ area
13
+ arm
14
+ around
15
+ auto
16
+ autobrake
17
+ autothrottle
18
+ bark
19
+ before
20
+ bleed
21
+ brake
22
+ brakes
23
+ c
24
+ cabin
25
+ center
26
+ central
27
+ check
28
+ checked
29
+ checklist
30
+ clear
31
+ climb
32
+ collection
33
+ collision
34
+ combine
35
+ complete
36
+ continuous
37
+ control
38
+ de
39
+ descent
40
+ doors
41
+ down
42
+ eight
43
+ emergency
44
+ engine
45
+ equipment
46
+ exist
47
+ exit
48
+ exterior
49
+ external
50
+ f
51
+ feet
52
+ fifteen
53
+ five
54
+ flap
55
+ flaps
56
+ flight
57
+ four
58
+ frequency
59
+ fuel
60
+ full
61
+ gear
62
+ generator
63
+ generators
64
+ give
65
+ glideslope
66
+ go
67
+ green
68
+ ground
69
+ heading
70
+ heat
71
+ hundred
72
+ hydraulic
73
+ i
74
+ ice
75
+ initial
76
+ instrument
77
+ instruments
78
+ isolation
79
+ kilograms
80
+ landing
81
+ left
82
+ level
83
+ lever
84
+ levers
85
+ light
86
+ lights
87
+ localiser
88
+ m
89
+ mode
90
+ model
91
+ nav
92
+ navy
93
+ of
94
+ off
95
+ ok
96
+ on
97
+ one
98
+ open
99
+ p
100
+ packets
101
+ packs
102
+ parking
103
+ parks
104
+ passenger
105
+ pilot
106
+ position
107
+ positive
108
+ preflight
109
+ probe
110
+ pump
111
+ pumps
112
+ r
113
+ rate
114
+ recall
115
+ removed
116
+ right
117
+ roger
118
+ run
119
+ runway
120
+ s
121
+ secure
122
+ selector
123
+ selectors
124
+ set
125
+ shutdown
126
+ signs
127
+ sit
128
+ six
129
+ speed
130
+ start
131
+ switch
132
+ switches
133
+ take
134
+ takeoff
135
+ taking
136
+ tax
137
+ taxi
138
+ thirty
139
+ thousand
140
+ three
141
+ thrust
142
+ trust
143
+ turn
144
+ two
145
+ u
146
+ up
147
+ value
148
+ valve
149
+ wave
150
+ waves
151
+ window
152
+ zero
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:32fd7260b214995348a399aaf861090b5240be57c8cbf4c6ce1e638b543f4fcf
3
+ size 377611120
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": "Wav2Vec2ProcessorWithLM",
8
+ "return_attention_mask": false,
9
+ "sampling_rate": 16000
10
+ }
runs/Mar31_06-23-37_ae4be65433ef/events.out.tfevents.1711866264.ae4be65433ef.291.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c74f491d58cda0b80a36ce8d5c34da8324e67b1d741d61c9478d5e8d47f34a0f
3
+ size 6393
runs/Mar31_06-55-38_ae4be65433ef/events.out.tfevents.1711868160.ae4be65433ef.291.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b6373e24f03ef730c5f9c3a78440ddcb742ab0516d38ba5a8e97706e4da2b369
3
+ size 8009
runs/Mar31_08-54-59_ae4be65433ef/events.out.tfevents.1711875323.ae4be65433ef.291.2 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43a76192d7ee93c6811d0c4443c2ea4c23e5fec521a65e7b3403c9d405f40ae9
3
+ size 11183
special_tokens_map.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": {
17
+ "content": "[PAD]",
18
+ "lstrip": true,
19
+ "normalized": false,
20
+ "rstrip": true,
21
+ "single_word": false
22
+ },
23
+ "unk_token": {
24
+ "content": "[UNK]",
25
+ "lstrip": true,
26
+ "normalized": false,
27
+ "rstrip": true,
28
+ "single_word": false
29
+ }
30
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "26": {
4
+ "content": "[UNK]",
5
+ "lstrip": true,
6
+ "normalized": false,
7
+ "rstrip": true,
8
+ "single_word": false,
9
+ "special": false
10
+ },
11
+ "27": {
12
+ "content": "[PAD]",
13
+ "lstrip": true,
14
+ "normalized": false,
15
+ "rstrip": true,
16
+ "single_word": false,
17
+ "special": false
18
+ },
19
+ "28": {
20
+ "content": "<s>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false,
25
+ "special": true
26
+ },
27
+ "29": {
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": true,
38
+ "do_lower_case": false,
39
+ "eos_token": "</s>",
40
+ "model_max_length": 1000000000000000019884624838656,
41
+ "pad_token": "[PAD]",
42
+ "processor_class": "Wav2Vec2ProcessorWithLM",
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:a250123a5e6dedd071ab6ce3622f32ac8a83e63979ae66a38cae8d7cc536ba27
3
+ size 4920
vocab.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "[PAD]": 27,
3
+ "[UNK]": 26,
4
+ "a": 1,
5
+ "b": 2,
6
+ "c": 3,
7
+ "d": 4,
8
+ "e": 5,
9
+ "f": 6,
10
+ "g": 7,
11
+ "h": 8,
12
+ "i": 9,
13
+ "k": 10,
14
+ "l": 11,
15
+ "m": 12,
16
+ "n": 13,
17
+ "o": 14,
18
+ "p": 15,
19
+ "q": 16,
20
+ "r": 17,
21
+ "s": 18,
22
+ "t": 19,
23
+ "u": 20,
24
+ "v": 21,
25
+ "w": 22,
26
+ "x": 23,
27
+ "y": 24,
28
+ "z": 25,
29
+ "|": 0
30
+ }