yacoubagbane commited on
Commit
d14e7ff
·
verified ·
1 Parent(s): 352491e

yacoubagbane/wav2vec2-base-timit-dyula_koumankan_new_regex_UNIV

Browse files
README.md ADDED
@@ -0,0 +1,64 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ license: apache-2.0
4
+ base_model: facebook/wav2vec2-base
5
+ tags:
6
+ - generated_from_trainer
7
+ metrics:
8
+ - wer
9
+ model-index:
10
+ - name: checkpoints
11
+ results: []
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+ # checkpoints
18
+
19
+ This model is a fine-tuned version of [facebook/wav2vec2-base](https://huggingface.co/facebook/wav2vec2-base) on an unknown dataset.
20
+ It achieves the following results on the evaluation set:
21
+ - Loss: 3.0888
22
+ - Wer: 1.0
23
+
24
+ ## Model description
25
+
26
+ More information needed
27
+
28
+ ## Intended uses & limitations
29
+
30
+ More information needed
31
+
32
+ ## Training and evaluation data
33
+
34
+ More information needed
35
+
36
+ ## Training procedure
37
+
38
+ ### Training hyperparameters
39
+
40
+ The following hyperparameters were used during training:
41
+ - learning_rate: 0.0001
42
+ - train_batch_size: 8
43
+ - eval_batch_size: 8
44
+ - seed: 42
45
+ - optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
46
+ - lr_scheduler_type: linear
47
+ - lr_scheduler_warmup_steps: 500
48
+ - num_epochs: 1
49
+ - mixed_precision_training: Native AMP
50
+
51
+ ### Training results
52
+
53
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
54
+ |:-------------:|:------:|:----:|:---------------:|:---:|
55
+ | 5.5545 | 0.7962 | 500 | 3.0675 | 1.0 |
56
+ | 5.5545 | 1.0 | 628 | 3.0888 | 1.0 |
57
+
58
+
59
+ ### Framework versions
60
+
61
+ - Transformers 5.13.1
62
+ - Pytorch 2.11.0+cu128
63
+ - Datasets 4.0.0
64
+ - Tokenizers 0.22.2
added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "</s>": 62,
3
+ "<s>": 61
4
+ }
config.json ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "activation_dropout": 0.0,
3
+ "adapter_attn_dim": null,
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": 256,
15
+ "contrastive_logits_temperature": 0.1,
16
+ "conv_bias": false,
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": false,
48
+ "dtype": "float32",
49
+ "eos_token_id": 2,
50
+ "feat_extract_activation": "gelu",
51
+ "feat_extract_norm": "group",
52
+ "feat_proj_dropout": 0.1,
53
+ "feat_quantizer_dropout": 0.0,
54
+ "final_dropout": 0.0,
55
+ "freeze_feat_extract_train": true,
56
+ "hidden_act": "gelu",
57
+ "hidden_dropout": 0.1,
58
+ "hidden_size": 768,
59
+ "initializer_range": 0.02,
60
+ "intermediate_size": 3072,
61
+ "layer_norm_eps": 1e-05,
62
+ "layerdrop": 0.0,
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
+ "no_mask_channel_overlap": false,
79
+ "no_mask_time_overlap": false,
80
+ "num_adapter_layers": 3,
81
+ "num_attention_heads": 12,
82
+ "num_codevector_groups": 2,
83
+ "num_codevectors_per_group": 320,
84
+ "num_conv_pos_embedding_groups": 16,
85
+ "num_conv_pos_embeddings": 128,
86
+ "num_feat_extract_layers": 7,
87
+ "num_hidden_layers": 12,
88
+ "num_negatives": 100,
89
+ "output_hidden_size": 768,
90
+ "pad_token_id": 60,
91
+ "proj_codevector_dim": 256,
92
+ "tdnn_dilation": [
93
+ 1,
94
+ 2,
95
+ 3,
96
+ 1,
97
+ 1
98
+ ],
99
+ "tdnn_dim": [
100
+ 512,
101
+ 512,
102
+ 512,
103
+ 512,
104
+ 1500
105
+ ],
106
+ "tdnn_kernel": [
107
+ 5,
108
+ 3,
109
+ 3,
110
+ 1,
111
+ 1
112
+ ],
113
+ "transformers_version": "5.13.1",
114
+ "use_cache": false,
115
+ "use_weighted_layer_sum": false,
116
+ "vocab_size": 63,
117
+ "xvector_output_dim": 512
118
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:91449ad1fefaf988f99b3f304fd3006eece12d9cee02e4433604ed63018dea6c
3
+ size 377706428
processor_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "feature_extractor": {
3
+ "do_normalize": true,
4
+ "feature_extractor_type": "Wav2Vec2FeatureExtractor",
5
+ "feature_size": 1,
6
+ "padding_side": "right",
7
+ "padding_value": 0.0,
8
+ "return_attention_mask": true,
9
+ "sampling_rate": 16000
10
+ },
11
+ "processor_class": "Wav2Vec2Processor"
12
+ }
tokenizer_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "added_tokens_decoder": {
3
+ "0": {
4
+ "content": "|",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false,
9
+ "special": true
10
+ },
11
+ "59": {
12
+ "content": "[UNK]",
13
+ "lstrip": true,
14
+ "normalized": false,
15
+ "rstrip": true,
16
+ "single_word": false,
17
+ "special": false
18
+ },
19
+ "60": {
20
+ "content": "[PAD]",
21
+ "lstrip": true,
22
+ "normalized": false,
23
+ "rstrip": true,
24
+ "single_word": false,
25
+ "special": false
26
+ },
27
+ "61": {
28
+ "content": "<s>",
29
+ "lstrip": false,
30
+ "normalized": false,
31
+ "rstrip": false,
32
+ "single_word": false,
33
+ "special": true
34
+ },
35
+ "62": {
36
+ "content": "</s>",
37
+ "lstrip": false,
38
+ "normalized": false,
39
+ "rstrip": false,
40
+ "single_word": false,
41
+ "special": true
42
+ }
43
+ },
44
+ "backend": "custom",
45
+ "bos_token": "<s>",
46
+ "do_lower_case": false,
47
+ "eos_token": "</s>",
48
+ "model_max_length": 1000000000000000019884624838656,
49
+ "pad_token": "[PAD]",
50
+ "processor_class": "Wav2Vec2Processor",
51
+ "replace_word_delimiter_char": " ",
52
+ "target_lang": null,
53
+ "tokenizer_class": "Wav2Vec2CTCTokenizer",
54
+ "unk_token": "[UNK]",
55
+ "word_delimiter_token": "|"
56
+ }
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:242a04ae456ad4850aac2a8e50449d20f804c339c972c064ddc9cceb01e93178
3
+ size 5137
vocab.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "!": 1,
3
+ "'": 2,
4
+ ",": 3,
5
+ "-": 4,
6
+ ".": 5,
7
+ "/": 6,
8
+ "0": 7,
9
+ "1": 8,
10
+ ";": 9,
11
+ "?": 10,
12
+ "[": 11,
13
+ "[PAD]": 60,
14
+ "[UNK]": 59,
15
+ "a": 12,
16
+ "b": 13,
17
+ "c": 14,
18
+ "d": 15,
19
+ "e": 16,
20
+ "f": 17,
21
+ "g": 18,
22
+ "h": 19,
23
+ "i": 20,
24
+ "j": 21,
25
+ "k": 22,
26
+ "l": 23,
27
+ "m": 24,
28
+ "n": 25,
29
+ "o": 26,
30
+ "p": 27,
31
+ "q": 28,
32
+ "r": 29,
33
+ "s": 30,
34
+ "t": 31,
35
+ "u": 32,
36
+ "v": 33,
37
+ "w": 34,
38
+ "x": 35,
39
+ "y": 36,
40
+ "z": 37,
41
+ "|": 0,
42
+ "à": 38,
43
+ "â": 39,
44
+ "ã": 40,
45
+ "ç": 41,
46
+ "è": 42,
47
+ "é": 43,
48
+ "ê": 44,
49
+ "ë": 45,
50
+ "î": 46,
51
+ "ï": 47,
52
+ "ñ": 48,
53
+ "ò": 49,
54
+ "ó": 50,
55
+ "ô": 51,
56
+ "û": 52,
57
+ "ā": 53,
58
+ "ŋ": 54,
59
+ "ɔ": 55,
60
+ "ɛ": 56,
61
+ "ɲ": 57,
62
+ "́": 58
63
+ }