Dev372 commited on
Commit
af01421
1 Parent(s): 0abd784

End of training

Browse files
Files changed (2) hide show
  1. README.md +78 -0
  2. generation_config.json +137 -0
README.md ADDED
@@ -0,0 +1,78 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ license: apache-2.0
5
+ base_model: openai/whisper-small.en
6
+ tags:
7
+ - generated_from_trainer
8
+ datasets:
9
+ - Hani89/medical_asr_recording_dataset
10
+ metrics:
11
+ - wer
12
+ model-index:
13
+ - name: English Whisper Model
14
+ results:
15
+ - task:
16
+ name: Automatic Speech Recognition
17
+ type: automatic-speech-recognition
18
+ dataset:
19
+ name: Medical
20
+ type: Hani89/medical_asr_recording_dataset
21
+ args: 'split: test'
22
+ metrics:
23
+ - name: Wer
24
+ type: wer
25
+ value: 8.502732240437158
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
+ # English Whisper Model
32
+
33
+ This model is a fine-tuned version of [openai/whisper-small.en](https://huggingface.co/openai/whisper-small.en) on the Medical dataset.
34
+ It achieves the following results on the evaluation set:
35
+ - Loss: 0.1242
36
+ - Wer: 8.5027
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: 16
57
+ - eval_batch_size: 8
58
+ - seed: 42
59
+ - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
60
+ - lr_scheduler_type: linear
61
+ - lr_scheduler_warmup_steps: 500
62
+ - training_steps: 2000
63
+ - mixed_precision_training: Native AMP
64
+
65
+ ### Training results
66
+
67
+ | Training Loss | Epoch | Step | Validation Loss | Wer |
68
+ |:-------------:|:------:|:----:|:---------------:|:------:|
69
+ | 0.0566 | 3.0030 | 1000 | 0.1344 | 9.0419 |
70
+ | 0.009 | 6.0060 | 2000 | 0.1242 | 8.5027 |
71
+
72
+
73
+ ### Framework versions
74
+
75
+ - Transformers 4.42.3
76
+ - Pytorch 2.1.2
77
+ - Datasets 2.20.0
78
+ - Tokenizers 0.19.1
generation_config.json ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 3,
5
+ 3
6
+ ],
7
+ [
8
+ 4,
9
+ 7
10
+ ],
11
+ [
12
+ 5,
13
+ 1
14
+ ],
15
+ [
16
+ 5,
17
+ 5
18
+ ],
19
+ [
20
+ 5,
21
+ 7
22
+ ]
23
+ ],
24
+ "begin_suppress_tokens": [
25
+ 220,
26
+ 50256
27
+ ],
28
+ "bos_token_id": 50257,
29
+ "decoder_start_token_id": 50257,
30
+ "eos_token_id": 50256,
31
+ "forced_decoder_ids": [
32
+ [
33
+ 1,
34
+ 50362
35
+ ]
36
+ ],
37
+ "is_multilingual": false,
38
+ "max_initial_timestamp_index": 50,
39
+ "max_length": 448,
40
+ "no_timestamps_token_id": 50362,
41
+ "pad_token_id": 50256,
42
+ "prev_sot_token_id": 50360,
43
+ "return_timestamps": false,
44
+ "suppress_tokens": [
45
+ 1,
46
+ 2,
47
+ 7,
48
+ 8,
49
+ 9,
50
+ 10,
51
+ 14,
52
+ 25,
53
+ 26,
54
+ 27,
55
+ 28,
56
+ 29,
57
+ 31,
58
+ 58,
59
+ 59,
60
+ 60,
61
+ 61,
62
+ 62,
63
+ 63,
64
+ 90,
65
+ 91,
66
+ 92,
67
+ 93,
68
+ 357,
69
+ 366,
70
+ 438,
71
+ 532,
72
+ 685,
73
+ 705,
74
+ 796,
75
+ 930,
76
+ 1058,
77
+ 1220,
78
+ 1267,
79
+ 1279,
80
+ 1303,
81
+ 1343,
82
+ 1377,
83
+ 1391,
84
+ 1635,
85
+ 1782,
86
+ 1875,
87
+ 2162,
88
+ 2361,
89
+ 2488,
90
+ 3467,
91
+ 4008,
92
+ 4211,
93
+ 4600,
94
+ 4808,
95
+ 5299,
96
+ 5855,
97
+ 6329,
98
+ 7203,
99
+ 9609,
100
+ 9959,
101
+ 10563,
102
+ 10786,
103
+ 11420,
104
+ 11709,
105
+ 11907,
106
+ 13163,
107
+ 13697,
108
+ 13700,
109
+ 14808,
110
+ 15306,
111
+ 16410,
112
+ 16791,
113
+ 17992,
114
+ 19203,
115
+ 19510,
116
+ 20724,
117
+ 22305,
118
+ 22935,
119
+ 27007,
120
+ 30109,
121
+ 30420,
122
+ 33409,
123
+ 34949,
124
+ 40283,
125
+ 40493,
126
+ 40549,
127
+ 47282,
128
+ 49146,
129
+ 50257,
130
+ 50357,
131
+ 50358,
132
+ 50359,
133
+ 50360,
134
+ 50361
135
+ ],
136
+ "transformers_version": "4.42.3"
137
+ }