bigmorning commited on
Commit
7ab6db5
1 Parent(s): 132e4ba

Upload TFWhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. README.md +69 -0
  2. config.json +199 -0
  3. tf_model.h5 +3 -0
README.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ tags:
4
+ - generated_from_keras_callback
5
+ model-index:
6
+ - name: whisper_havest_0015
7
+ results: []
8
+ ---
9
+
10
+ <!-- This model card has been generated automatically according to the information Keras had access to. You should
11
+ probably proofread and complete it, then remove this comment. -->
12
+
13
+ # whisper_havest_0015
14
+
15
+ This model is a fine-tuned version of [openai/whisper-tiny](https://huggingface.co/openai/whisper-tiny) on an unknown dataset.
16
+ It achieves the following results on the evaluation set:
17
+ - Train Loss: 0.3473
18
+ - Train Accuracy: 0.0321
19
+ - Validation Loss: 0.5945
20
+ - Validation Accuracy: 0.0311
21
+ - Epoch: 14
22
+
23
+ ## Model description
24
+
25
+ More information needed
26
+
27
+ ## Intended uses & limitations
28
+
29
+ More information needed
30
+
31
+ ## Training and evaluation data
32
+
33
+ More information needed
34
+
35
+ ## Training procedure
36
+
37
+ ### Training hyperparameters
38
+
39
+ The following hyperparameters were used during training:
40
+ - optimizer: {'name': 'AdamWeightDecay', 'learning_rate': 1e-05, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-07, 'amsgrad': False, 'weight_decay_rate': 0.01}
41
+ - training_precision: float32
42
+
43
+ ### Training results
44
+
45
+ | Train Loss | Train Accuracy | Validation Loss | Validation Accuracy | Epoch |
46
+ |:----------:|:--------------:|:---------------:|:-------------------:|:-----:|
47
+ | 5.0949 | 0.0116 | 4.4444 | 0.0124 | 0 |
48
+ | 4.3242 | 0.0130 | 4.0648 | 0.0140 | 1 |
49
+ | 3.9308 | 0.0145 | 3.6837 | 0.0157 | 2 |
50
+ | 3.5552 | 0.0159 | 3.3410 | 0.0171 | 3 |
51
+ | 3.1591 | 0.0175 | 2.8089 | 0.0198 | 4 |
52
+ | 2.2408 | 0.0221 | 1.7104 | 0.0255 | 5 |
53
+ | 1.4220 | 0.0261 | 1.2181 | 0.0279 | 6 |
54
+ | 1.0460 | 0.0280 | 0.9912 | 0.0290 | 7 |
55
+ | 0.8363 | 0.0291 | 0.8645 | 0.0296 | 8 |
56
+ | 0.6967 | 0.0299 | 0.7748 | 0.0301 | 9 |
57
+ | 0.5942 | 0.0305 | 0.7201 | 0.0304 | 10 |
58
+ | 0.5151 | 0.0309 | 0.6675 | 0.0307 | 11 |
59
+ | 0.4496 | 0.0314 | 0.6382 | 0.0308 | 12 |
60
+ | 0.3951 | 0.0318 | 0.6060 | 0.0310 | 13 |
61
+ | 0.3473 | 0.0321 | 0.5945 | 0.0311 | 14 |
62
+
63
+
64
+ ### Framework versions
65
+
66
+ - Transformers 4.25.0.dev0
67
+ - TensorFlow 2.9.2
68
+ - Datasets 2.6.1
69
+ - Tokenizers 0.13.2
config.json ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/whisper-tiny",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "architectures": [
6
+ "WhisperForConditionalGeneration"
7
+ ],
8
+ "attention_dropout": 0.0,
9
+ "begin_suppress_tokens": [
10
+ 220,
11
+ 50257
12
+ ],
13
+ "bos_token_id": 50257,
14
+ "d_model": 384,
15
+ "decoder_attention_heads": 6,
16
+ "decoder_ffn_dim": 1536,
17
+ "decoder_layerdrop": 0.0,
18
+ "decoder_layers": 4,
19
+ "decoder_start_token_id": 50258,
20
+ "dropout": 0.0,
21
+ "encoder_attention_heads": 6,
22
+ "encoder_ffn_dim": 1536,
23
+ "encoder_layerdrop": 0.0,
24
+ "encoder_layers": 4,
25
+ "eos_token_id": 50257,
26
+ "forced_decoder_ids": [
27
+ [
28
+ 1,
29
+ 50289
30
+ ],
31
+ [
32
+ 2,
33
+ 50359
34
+ ],
35
+ [
36
+ 3,
37
+ 50363
38
+ ]
39
+ ],
40
+ "init_std": 0.02,
41
+ "is_encoder_decoder": true,
42
+ "max_length": 448,
43
+ "max_source_positions": 1500,
44
+ "max_target_positions": 448,
45
+ "model_type": "whisper",
46
+ "num_hidden_layers": 4,
47
+ "num_mel_bins": 80,
48
+ "pad_token_id": 50257,
49
+ "scale_embedding": false,
50
+ "suppress_tokens": [
51
+ 0,
52
+ 1,
53
+ 2,
54
+ 3,
55
+ 4,
56
+ 10968,
57
+ 10969,
58
+ 10970,
59
+ 10971,
60
+ 10972,
61
+ 10973,
62
+ 10974,
63
+ 10975,
64
+ 10976,
65
+ 10977,
66
+ 10978,
67
+ 10979,
68
+ 10980,
69
+ 10981,
70
+ 10982,
71
+ 10983,
72
+ 10984,
73
+ 10985,
74
+ 10986,
75
+ 10987,
76
+ 10988,
77
+ 10989,
78
+ 10990,
79
+ 10991,
80
+ 10992,
81
+ 10993,
82
+ 10994,
83
+ 10995,
84
+ 10996,
85
+ 10997,
86
+ 50256,
87
+ 50257,
88
+ 50258,
89
+ 50259,
90
+ 50260,
91
+ 50261,
92
+ 50262,
93
+ 50263,
94
+ 50264,
95
+ 50265,
96
+ 50266,
97
+ 50267,
98
+ 50268,
99
+ 50269,
100
+ 50270,
101
+ 50271,
102
+ 50272,
103
+ 50273,
104
+ 50274,
105
+ 50275,
106
+ 50276,
107
+ 50277,
108
+ 50278,
109
+ 50279,
110
+ 50280,
111
+ 50281,
112
+ 50282,
113
+ 50283,
114
+ 50284,
115
+ 50285,
116
+ 50286,
117
+ 50287,
118
+ 50288,
119
+ 50289,
120
+ 50290,
121
+ 50291,
122
+ 50292,
123
+ 50293,
124
+ 50294,
125
+ 50295,
126
+ 50296,
127
+ 50297,
128
+ 50298,
129
+ 50299,
130
+ 50300,
131
+ 50301,
132
+ 50302,
133
+ 50303,
134
+ 50304,
135
+ 50305,
136
+ 50306,
137
+ 50307,
138
+ 50308,
139
+ 50309,
140
+ 50310,
141
+ 50311,
142
+ 50312,
143
+ 50313,
144
+ 50314,
145
+ 50315,
146
+ 50316,
147
+ 50317,
148
+ 50318,
149
+ 50319,
150
+ 50320,
151
+ 50321,
152
+ 50322,
153
+ 50323,
154
+ 50324,
155
+ 50325,
156
+ 50326,
157
+ 50327,
158
+ 50328,
159
+ 50329,
160
+ 50330,
161
+ 50331,
162
+ 50332,
163
+ 50333,
164
+ 50334,
165
+ 50335,
166
+ 50336,
167
+ 50337,
168
+ 50338,
169
+ 50339,
170
+ 50340,
171
+ 50341,
172
+ 50342,
173
+ 50343,
174
+ 50344,
175
+ 50345,
176
+ 50346,
177
+ 50347,
178
+ 50348,
179
+ 50349,
180
+ 50350,
181
+ 50351,
182
+ 50352,
183
+ 50353,
184
+ 50354,
185
+ 50355,
186
+ 50356,
187
+ 50357,
188
+ 50358,
189
+ 50359,
190
+ 50360,
191
+ 50361,
192
+ 50362,
193
+ 50363
194
+ ],
195
+ "torch_dtype": "float32",
196
+ "transformers_version": "4.25.0.dev0",
197
+ "use_cache": true,
198
+ "vocab_size": 51865
199
+ }
tf_model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fcaafcbc6823694e88e58f736eb956b64a1e1541d7ad0aefeb42f25e7cfab86
3
+ size 151253984