End of training
Browse files- README.md +96 -0
- generation_config.json +149 -0
README.md
ADDED
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license: apache-2.0
|
5 |
+
base_model: openai/whisper-tiny.en
|
6 |
+
tags:
|
7 |
+
- generated_from_trainer
|
8 |
+
datasets:
|
9 |
+
- Dev372/Medical_STT_Dataset_1.1
|
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: Dev372/Medical_STT_Dataset_1.1
|
21 |
+
args: 'split: test'
|
22 |
+
metrics:
|
23 |
+
- name: Wer
|
24 |
+
type: wer
|
25 |
+
value: 6.5482216924132075
|
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-tiny.en](https://huggingface.co/openai/whisper-tiny.en) on the Medical dataset.
|
34 |
+
It achieves the following results on the evaluation set:
|
35 |
+
- Loss: 0.1566
|
36 |
+
- Wer: 6.5482
|
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: 18
|
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: 1100
|
63 |
+
- mixed_precision_training: Native AMP
|
64 |
+
|
65 |
+
### Training results
|
66 |
+
|
67 |
+
| Training Loss | Epoch | Step | Validation Loss | Wer |
|
68 |
+
|:-------------:|:------:|:----:|:---------------:|:-------:|
|
69 |
+
| 1.8857 | 0.1554 | 55 | 1.6694 | 13.1520 |
|
70 |
+
| 1.3264 | 0.3107 | 110 | 1.0577 | 11.8358 |
|
71 |
+
| 0.9159 | 0.4661 | 165 | 0.8809 | 10.3857 |
|
72 |
+
| 0.8292 | 0.6215 | 220 | 0.7654 | 9.8893 |
|
73 |
+
| 0.641 | 0.7768 | 275 | 0.6364 | 9.2557 |
|
74 |
+
| 0.5445 | 0.9322 | 330 | 0.4931 | 8.6417 |
|
75 |
+
| 0.4072 | 1.0876 | 385 | 0.3397 | 8.2759 |
|
76 |
+
| 0.2378 | 1.2429 | 440 | 0.2414 | 8.1322 |
|
77 |
+
| 0.2109 | 1.3983 | 495 | 0.2116 | 7.6684 |
|
78 |
+
| 0.1641 | 1.5537 | 550 | 0.1940 | 7.6423 |
|
79 |
+
| 0.1498 | 1.7090 | 605 | 0.1819 | 7.1198 |
|
80 |
+
| 0.1445 | 1.8644 | 660 | 0.1752 | 6.8095 |
|
81 |
+
| 0.1349 | 2.0198 | 715 | 0.1679 | 6.7181 |
|
82 |
+
| 0.1032 | 2.1751 | 770 | 0.1661 | 6.7344 |
|
83 |
+
| 0.0898 | 2.3305 | 825 | 0.1632 | 6.8291 |
|
84 |
+
| 0.1032 | 2.4859 | 880 | 0.1606 | 6.7278 |
|
85 |
+
| 0.0845 | 2.6412 | 935 | 0.1592 | 6.7083 |
|
86 |
+
| 0.0958 | 2.7966 | 990 | 0.1578 | 6.5743 |
|
87 |
+
| 0.097 | 2.9520 | 1045 | 0.1570 | 6.5515 |
|
88 |
+
| 0.0689 | 3.1073 | 1100 | 0.1566 | 6.5482 |
|
89 |
+
|
90 |
+
|
91 |
+
### Framework versions
|
92 |
+
|
93 |
+
- Transformers 4.43.2
|
94 |
+
- Pytorch 2.1.2
|
95 |
+
- Datasets 2.20.0
|
96 |
+
- Tokenizers 0.19.1
|
generation_config.json
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"alignment_heads": [
|
3 |
+
[
|
4 |
+
1,
|
5 |
+
0
|
6 |
+
],
|
7 |
+
[
|
8 |
+
2,
|
9 |
+
0
|
10 |
+
],
|
11 |
+
[
|
12 |
+
2,
|
13 |
+
5
|
14 |
+
],
|
15 |
+
[
|
16 |
+
3,
|
17 |
+
0
|
18 |
+
],
|
19 |
+
[
|
20 |
+
3,
|
21 |
+
1
|
22 |
+
],
|
23 |
+
[
|
24 |
+
3,
|
25 |
+
2
|
26 |
+
],
|
27 |
+
[
|
28 |
+
3,
|
29 |
+
3
|
30 |
+
],
|
31 |
+
[
|
32 |
+
3,
|
33 |
+
4
|
34 |
+
]
|
35 |
+
],
|
36 |
+
"begin_suppress_tokens": [
|
37 |
+
220,
|
38 |
+
50256
|
39 |
+
],
|
40 |
+
"bos_token_id": 50257,
|
41 |
+
"decoder_start_token_id": 50257,
|
42 |
+
"eos_token_id": 50256,
|
43 |
+
"forced_decoder_ids": [
|
44 |
+
[
|
45 |
+
1,
|
46 |
+
50362
|
47 |
+
]
|
48 |
+
],
|
49 |
+
"is_multilingual": false,
|
50 |
+
"max_initial_timestamp_index": 50,
|
51 |
+
"max_length": 448,
|
52 |
+
"no_timestamps_token_id": 50362,
|
53 |
+
"pad_token_id": 50256,
|
54 |
+
"prev_sot_token_id": 50360,
|
55 |
+
"return_timestamps": false,
|
56 |
+
"suppress_tokens": [
|
57 |
+
1,
|
58 |
+
2,
|
59 |
+
7,
|
60 |
+
8,
|
61 |
+
9,
|
62 |
+
10,
|
63 |
+
14,
|
64 |
+
25,
|
65 |
+
26,
|
66 |
+
27,
|
67 |
+
28,
|
68 |
+
29,
|
69 |
+
31,
|
70 |
+
58,
|
71 |
+
59,
|
72 |
+
60,
|
73 |
+
61,
|
74 |
+
62,
|
75 |
+
63,
|
76 |
+
90,
|
77 |
+
91,
|
78 |
+
92,
|
79 |
+
93,
|
80 |
+
357,
|
81 |
+
366,
|
82 |
+
438,
|
83 |
+
532,
|
84 |
+
685,
|
85 |
+
705,
|
86 |
+
796,
|
87 |
+
930,
|
88 |
+
1058,
|
89 |
+
1220,
|
90 |
+
1267,
|
91 |
+
1279,
|
92 |
+
1303,
|
93 |
+
1343,
|
94 |
+
1377,
|
95 |
+
1391,
|
96 |
+
1635,
|
97 |
+
1782,
|
98 |
+
1875,
|
99 |
+
2162,
|
100 |
+
2361,
|
101 |
+
2488,
|
102 |
+
3467,
|
103 |
+
4008,
|
104 |
+
4211,
|
105 |
+
4600,
|
106 |
+
4808,
|
107 |
+
5299,
|
108 |
+
5855,
|
109 |
+
6329,
|
110 |
+
7203,
|
111 |
+
9609,
|
112 |
+
9959,
|
113 |
+
10563,
|
114 |
+
10786,
|
115 |
+
11420,
|
116 |
+
11709,
|
117 |
+
11907,
|
118 |
+
13163,
|
119 |
+
13697,
|
120 |
+
13700,
|
121 |
+
14808,
|
122 |
+
15306,
|
123 |
+
16410,
|
124 |
+
16791,
|
125 |
+
17992,
|
126 |
+
19203,
|
127 |
+
19510,
|
128 |
+
20724,
|
129 |
+
22305,
|
130 |
+
22935,
|
131 |
+
27007,
|
132 |
+
30109,
|
133 |
+
30420,
|
134 |
+
33409,
|
135 |
+
34949,
|
136 |
+
40283,
|
137 |
+
40493,
|
138 |
+
40549,
|
139 |
+
47282,
|
140 |
+
49146,
|
141 |
+
50257,
|
142 |
+
50357,
|
143 |
+
50358,
|
144 |
+
50359,
|
145 |
+
50360,
|
146 |
+
50361
|
147 |
+
],
|
148 |
+
"transformers_version": "4.43.2"
|
149 |
+
}
|