Shehryar718 commited on
Commit
3f5a4c5
1 Parent(s): 1226cd9

End of training

Browse files
README.md ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: Shehryar718/URDU-ASR
3
+ tags:
4
+ - generated_from_trainer
5
+ datasets:
6
+ - common_voice_13_0
7
+ metrics:
8
+ - wer
9
+ model-index:
10
+ - name: URDU-ASR-25-EPOCH
11
+ results:
12
+ - task:
13
+ name: Automatic Speech Recognition
14
+ type: automatic-speech-recognition
15
+ dataset:
16
+ name: common_voice_13_0
17
+ type: common_voice_13_0
18
+ config: ur
19
+ split: test
20
+ args: ur
21
+ metrics:
22
+ - name: Wer
23
+ type: wer
24
+ value: 0.47599520290920344
25
+ ---
26
+
27
+ <!-- This model card has been generated automatically according to the information the Trainer had access to. You
28
+ should probably proofread and complete it, then remove this comment. -->
29
+
30
+ # URDU-ASR-25-EPOCH
31
+
32
+ This model is a fine-tuned version of [Shehryar718/URDU-ASR](https://huggingface.co/Shehryar718/URDU-ASR) on the common_voice_13_0 dataset.
33
+ It achieves the following results on the evaluation set:
34
+ - Loss: 0.6782
35
+ - Wer: 0.4760
36
+ - Cer: 0.1986
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: 7.5e-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.99) and epsilon=1e-08
62
+ - lr_scheduler_type: linear
63
+ - lr_scheduler_warmup_ratio: 0.1
64
+ - num_epochs: 25
65
+ - mixed_precision_training: Native AMP
66
+
67
+ ### Training results
68
+
69
+ | Training Loss | Epoch | Step | Validation Loss | Wer | Cer |
70
+ |:-------------:|:-----:|:----:|:---------------:|:------:|:------:|
71
+ | 5.3707 | 1.0 | 341 | 1.3583 | 0.8266 | 0.3484 |
72
+ | 0.4814 | 2.0 | 683 | 0.7213 | 0.5187 | 0.2196 |
73
+ | 0.2821 | 3.0 | 1024 | 0.6354 | 0.4917 | 0.2066 |
74
+ | 0.2368 | 4.0 | 1366 | 0.6730 | 0.5122 | 0.2181 |
75
+ | 0.2105 | 5.0 | 1707 | 0.6430 | 0.4871 | 0.2076 |
76
+ | 0.1965 | 6.0 | 2049 | 0.6397 | 0.4902 | 0.2136 |
77
+ | 0.1879 | 7.0 | 2390 | 0.6397 | 0.4698 | 0.1951 |
78
+ | 0.1743 | 8.0 | 2732 | 0.6636 | 0.4739 | 0.1996 |
79
+ | 0.1632 | 9.0 | 3073 | 0.6752 | 0.4782 | 0.1996 |
80
+ | 0.1572 | 10.0 | 3415 | 0.6859 | 0.4874 | 0.2072 |
81
+ | 0.1586 | 11.0 | 3756 | 0.6761 | 0.4844 | 0.2069 |
82
+ | 0.1595 | 12.0 | 4098 | 0.6846 | 0.4746 | 0.1959 |
83
+ | 0.1534 | 13.0 | 4439 | 0.6750 | 0.4830 | 0.2034 |
84
+ | 0.16 | 14.0 | 4781 | 0.6653 | 0.4826 | 0.2038 |
85
+ | 0.1752 | 15.0 | 5122 | 0.6536 | 0.4727 | 0.1946 |
86
+ | 0.1739 | 16.0 | 5464 | 0.6753 | 0.4738 | 0.1912 |
87
+ | 0.1709 | 17.0 | 5805 | 0.6600 | 0.4730 | 0.1996 |
88
+ | 0.1676 | 18.0 | 6147 | 0.6691 | 0.4678 | 0.1919 |
89
+ | 0.1636 | 19.0 | 6488 | 0.6638 | 0.4772 | 0.1990 |
90
+ | 0.1593 | 20.0 | 6830 | 0.6787 | 0.4764 | 0.1976 |
91
+ | 0.1588 | 21.0 | 7171 | 0.6699 | 0.4772 | 0.1974 |
92
+ | 0.1525 | 22.0 | 7513 | 0.6827 | 0.4738 | 0.1962 |
93
+ | 0.1554 | 23.0 | 7854 | 0.6740 | 0.4736 | 0.1970 |
94
+ | 0.1522 | 24.0 | 8196 | 0.6791 | 0.4768 | 0.1989 |
95
+ | 0.1502 | 24.96 | 8525 | 0.6782 | 0.4760 | 0.1986 |
96
+
97
+
98
+ ### Framework versions
99
+
100
+ - Transformers 4.35.0
101
+ - Pytorch 2.1.0+cu121
102
+ - Datasets 2.14.4
103
+ - Tokenizers 0.14.1
config.json ADDED
@@ -0,0 +1,117 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "Shehryar718/URDU-ASR",
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": true,
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
+ "gradient_checkpointing": false,
57
+ "hidden_act": "gelu",
58
+ "hidden_dropout": 0.1,
59
+ "hidden_size": 1024,
60
+ "initializer_range": 0.02,
61
+ "intermediate_size": 4096,
62
+ "layer_norm_eps": 1e-05,
63
+ "layerdrop": 0.1,
64
+ "mask_channel_length": 10,
65
+ "mask_channel_min_space": 1,
66
+ "mask_channel_other": 0.0,
67
+ "mask_channel_prob": 0.0,
68
+ "mask_channel_selection": "static",
69
+ "mask_feature_length": 10,
70
+ "mask_feature_min_masks": 0,
71
+ "mask_feature_prob": 0.0,
72
+ "mask_time_length": 10,
73
+ "mask_time_min_masks": 2,
74
+ "mask_time_min_space": 1,
75
+ "mask_time_other": 0.0,
76
+ "mask_time_prob": 0.05,
77
+ "mask_time_selection": "static",
78
+ "model_type": "wav2vec2",
79
+ "num_adapter_layers": 3,
80
+ "num_attention_heads": 16,
81
+ "num_codevector_groups": 2,
82
+ "num_codevectors_per_group": 320,
83
+ "num_conv_pos_embedding_groups": 16,
84
+ "num_conv_pos_embeddings": 128,
85
+ "num_feat_extract_layers": 7,
86
+ "num_hidden_layers": 24,
87
+ "num_negatives": 100,
88
+ "output_hidden_size": 1024,
89
+ "pad_token_id": 85,
90
+ "proj_codevector_dim": 768,
91
+ "tdnn_dilation": [
92
+ 1,
93
+ 2,
94
+ 3,
95
+ 1,
96
+ 1
97
+ ],
98
+ "tdnn_dim": [
99
+ 512,
100
+ 512,
101
+ 512,
102
+ 512,
103
+ 1500
104
+ ],
105
+ "tdnn_kernel": [
106
+ 5,
107
+ 3,
108
+ 3,
109
+ 1,
110
+ 1
111
+ ],
112
+ "torch_dtype": "float32",
113
+ "transformers_version": "4.35.0",
114
+ "use_weighted_layer_sum": false,
115
+ "vocab_size": 88,
116
+ "xvector_output_dim": 512
117
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:792be48b27aa1b68defeead5887a633c262909da73f4db12689c3662437582eb
3
+ size 1262168280
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
+ }
runs/Nov04_03-38-18_fakhir-OMEN-30L-Desktop-GT13-1xxx/events.out.tfevents.1699051170.fakhir-OMEN-30L-Desktop-GT13-1xxx.5491.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f257d502fa56cb533f7d3c06280a15ba7b7adeee656727eb2f6eca78730f94aa
3
+ size 19362
training_args.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06fb5e62dcef8690d5a218c2ec6a1c344b3a3729ecf02988b335e5eb601d6be1
3
+ size 4600