MirakramAghalarov commited on
Commit
30d73df
1 Parent(s): 48c0fd6

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +49 -0
  2. generation_config.json +223 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "folder",
3
+ "activation_dropout": 0.0,
4
+ "activation_function": "gelu",
5
+ "apply_spec_augment": false,
6
+ "architectures": [
7
+ "WhisperForConditionalGeneration"
8
+ ],
9
+ "attention_dropout": 0.0,
10
+ "begin_suppress_tokens": [
11
+ 220,
12
+ 50256
13
+ ],
14
+ "bos_token_id": 50256,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 512,
17
+ "decoder_attention_heads": 8,
18
+ "decoder_ffn_dim": 2048,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 6,
21
+ "decoder_start_token_id": 50257,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 8,
24
+ "encoder_ffn_dim": 2048,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 6,
27
+ "eos_token_id": 50256,
28
+ "init_std": 0.02,
29
+ "is_encoder_decoder": true,
30
+ "mask_feature_length": 10,
31
+ "mask_feature_min_masks": 0,
32
+ "mask_feature_prob": 0.0,
33
+ "mask_time_length": 10,
34
+ "mask_time_min_masks": 2,
35
+ "mask_time_prob": 0.05,
36
+ "max_source_positions": 1500,
37
+ "max_target_positions": 448,
38
+ "median_filter_width": 7,
39
+ "model_type": "whisper",
40
+ "num_hidden_layers": 6,
41
+ "num_mel_bins": 80,
42
+ "pad_token_id": 50256,
43
+ "scale_embedding": false,
44
+ "torch_dtype": "float32",
45
+ "transformers_version": "4.41.1",
46
+ "use_cache": true,
47
+ "use_weighted_layer_sum": false,
48
+ "vocab_size": 51865
49
+ }
generation_config.json ADDED
@@ -0,0 +1,223 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": null,
3
+ "begin_suppress_tokens": [
4
+ 220,
5
+ 50257
6
+ ],
7
+ "bos_token_id": 50257,
8
+ "decoder_start_token_id": 50258,
9
+ "eos_token_id": 50257,
10
+ "forced_decoder_ids": [
11
+ [
12
+ 1,
13
+ null
14
+ ],
15
+ [
16
+ 2,
17
+ 50359
18
+ ]
19
+ ],
20
+ "is_multilingual": true,
21
+ "lang_to_id": {
22
+ "<|af|>": 50327,
23
+ "<|am|>": 50334,
24
+ "<|ar|>": 50272,
25
+ "<|as|>": 50350,
26
+ "<|az|>": 50304,
27
+ "<|ba|>": 50355,
28
+ "<|be|>": 50330,
29
+ "<|bg|>": 50292,
30
+ "<|bn|>": 50302,
31
+ "<|bo|>": 50347,
32
+ "<|br|>": 50309,
33
+ "<|bs|>": 50315,
34
+ "<|ca|>": 50270,
35
+ "<|cs|>": 50283,
36
+ "<|cy|>": 50297,
37
+ "<|da|>": 50285,
38
+ "<|de|>": 50261,
39
+ "<|el|>": 50281,
40
+ "<|en|>": 50259,
41
+ "<|es|>": 50262,
42
+ "<|et|>": 50307,
43
+ "<|eu|>": 50310,
44
+ "<|fa|>": 50300,
45
+ "<|fi|>": 50277,
46
+ "<|fo|>": 50338,
47
+ "<|fr|>": 50265,
48
+ "<|gl|>": 50319,
49
+ "<|gu|>": 50333,
50
+ "<|haw|>": 50352,
51
+ "<|ha|>": 50354,
52
+ "<|he|>": 50279,
53
+ "<|hi|>": 50276,
54
+ "<|hr|>": 50291,
55
+ "<|ht|>": 50339,
56
+ "<|hu|>": 50286,
57
+ "<|hy|>": 50312,
58
+ "<|id|>": 50275,
59
+ "<|is|>": 50311,
60
+ "<|it|>": 50274,
61
+ "<|ja|>": 50266,
62
+ "<|jw|>": 50356,
63
+ "<|ka|>": 50329,
64
+ "<|kk|>": 50316,
65
+ "<|km|>": 50323,
66
+ "<|kn|>": 50306,
67
+ "<|ko|>": 50264,
68
+ "<|la|>": 50294,
69
+ "<|lb|>": 50345,
70
+ "<|ln|>": 50353,
71
+ "<|lo|>": 50336,
72
+ "<|lt|>": 50293,
73
+ "<|lv|>": 50301,
74
+ "<|mg|>": 50349,
75
+ "<|mi|>": 50295,
76
+ "<|mk|>": 50308,
77
+ "<|ml|>": 50296,
78
+ "<|mn|>": 50314,
79
+ "<|mr|>": 50320,
80
+ "<|ms|>": 50282,
81
+ "<|mt|>": 50343,
82
+ "<|my|>": 50346,
83
+ "<|ne|>": 50313,
84
+ "<|nl|>": 50271,
85
+ "<|nn|>": 50342,
86
+ "<|no|>": 50288,
87
+ "<|oc|>": 50328,
88
+ "<|pa|>": 50321,
89
+ "<|pl|>": 50269,
90
+ "<|ps|>": 50340,
91
+ "<|pt|>": 50267,
92
+ "<|ro|>": 50284,
93
+ "<|ru|>": 50263,
94
+ "<|sa|>": 50344,
95
+ "<|sd|>": 50332,
96
+ "<|si|>": 50322,
97
+ "<|sk|>": 50298,
98
+ "<|sl|>": 50305,
99
+ "<|sn|>": 50324,
100
+ "<|so|>": 50326,
101
+ "<|sq|>": 50317,
102
+ "<|sr|>": 50303,
103
+ "<|su|>": 50357,
104
+ "<|sv|>": 50273,
105
+ "<|sw|>": 50318,
106
+ "<|ta|>": 50287,
107
+ "<|te|>": 50299,
108
+ "<|tg|>": 50331,
109
+ "<|th|>": 50289,
110
+ "<|tk|>": 50341,
111
+ "<|tl|>": 50348,
112
+ "<|tr|>": 50268,
113
+ "<|tt|>": 50351,
114
+ "<|uk|>": 50280,
115
+ "<|ur|>": 50290,
116
+ "<|uz|>": 50337,
117
+ "<|vi|>": 50278,
118
+ "<|yi|>": 50335,
119
+ "<|yo|>": 50325,
120
+ "<|zh|>": 50260
121
+ },
122
+ "max_initial_timestamp_index": 50,
123
+ "max_length": 448,
124
+ "no_timestamps_token_id": 50363,
125
+ "pad_token_id": 50257,
126
+ "prev_sot_token_id": 50361,
127
+ "return_timestamps": false,
128
+ "suppress_tokens": [
129
+ 1,
130
+ 2,
131
+ 7,
132
+ 8,
133
+ 9,
134
+ 10,
135
+ 14,
136
+ 25,
137
+ 26,
138
+ 27,
139
+ 28,
140
+ 29,
141
+ 31,
142
+ 58,
143
+ 59,
144
+ 60,
145
+ 61,
146
+ 62,
147
+ 63,
148
+ 90,
149
+ 91,
150
+ 92,
151
+ 93,
152
+ 359,
153
+ 503,
154
+ 522,
155
+ 542,
156
+ 873,
157
+ 893,
158
+ 902,
159
+ 918,
160
+ 922,
161
+ 931,
162
+ 1350,
163
+ 1853,
164
+ 1982,
165
+ 2460,
166
+ 2627,
167
+ 3246,
168
+ 3253,
169
+ 3268,
170
+ 3536,
171
+ 3846,
172
+ 3961,
173
+ 4183,
174
+ 4667,
175
+ 6585,
176
+ 6647,
177
+ 7273,
178
+ 9061,
179
+ 9383,
180
+ 10428,
181
+ 10929,
182
+ 11938,
183
+ 12033,
184
+ 12331,
185
+ 12562,
186
+ 13793,
187
+ 14157,
188
+ 14635,
189
+ 15265,
190
+ 15618,
191
+ 16553,
192
+ 16604,
193
+ 18362,
194
+ 18956,
195
+ 20075,
196
+ 21675,
197
+ 22520,
198
+ 26130,
199
+ 26161,
200
+ 26435,
201
+ 28279,
202
+ 29464,
203
+ 31650,
204
+ 32302,
205
+ 32470,
206
+ 36865,
207
+ 42863,
208
+ 47425,
209
+ 49870,
210
+ 50254,
211
+ 50258,
212
+ 50358,
213
+ 50359,
214
+ 50360,
215
+ 50361,
216
+ 50362
217
+ ],
218
+ "task_to_id": {
219
+ "transcribe": 50359,
220
+ "translate": 50358
221
+ },
222
+ "transformers_version": "4.41.1"
223
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:be5fc06d4f55702fb6166c587bad4f9b5c1e7dcac3cfe2ca8a5f3378d3b3081a
3
+ size 290403936