Sekiraw commited on
Commit
0afab55
1 Parent(s): 48ab944

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +52 -0
  2. generation_config.json +193 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/content/drive/MyDrive/tf-model/",
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": 50257,
15
+ "classifier_proj_size": 256,
16
+ "d_model": 768,
17
+ "decoder_attention_heads": 12,
18
+ "decoder_ffn_dim": 3072,
19
+ "decoder_layerdrop": 0.0,
20
+ "decoder_layers": 12,
21
+ "decoder_start_token_id": 50257,
22
+ "dropout": 0.0,
23
+ "encoder_attention_heads": 12,
24
+ "encoder_ffn_dim": 3072,
25
+ "encoder_layerdrop": 0.0,
26
+ "encoder_layers": 12,
27
+ "eos_token_id": 50256,
28
+ "forced_decoder_ids": null,
29
+ "init_std": 0.02,
30
+ "is_encoder_decoder": true,
31
+ "mask_feature_length": 10,
32
+ "mask_feature_min_masks": 0,
33
+ "mask_feature_prob": 0.0,
34
+ "mask_time_length": 10,
35
+ "mask_time_min_masks": 2,
36
+ "mask_time_prob": 0.05,
37
+ "max_length": 448,
38
+ "max_source_positions": 1500,
39
+ "max_target_positions": 448,
40
+ "median_filter_width": 7,
41
+ "model_type": "whisper",
42
+ "num_hidden_layers": 12,
43
+ "num_mel_bins": 80,
44
+ "pad_token_id": 50256,
45
+ "scale_embedding": false,
46
+ "suppress_tokens": [],
47
+ "torch_dtype": "float32",
48
+ "transformers_version": "4.35.2",
49
+ "use_cache": true,
50
+ "use_weighted_layer_sum": false,
51
+ "vocab_size": 51864
52
+ }
generation_config.json ADDED
@@ -0,0 +1,193 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alignment_heads": [
3
+ [
4
+ 6,
5
+ 6
6
+ ],
7
+ [
8
+ 7,
9
+ 0
10
+ ],
11
+ [
12
+ 7,
13
+ 3
14
+ ],
15
+ [
16
+ 7,
17
+ 8
18
+ ],
19
+ [
20
+ 8,
21
+ 2
22
+ ],
23
+ [
24
+ 8,
25
+ 5
26
+ ],
27
+ [
28
+ 8,
29
+ 7
30
+ ],
31
+ [
32
+ 9,
33
+ 0
34
+ ],
35
+ [
36
+ 9,
37
+ 4
38
+ ],
39
+ [
40
+ 9,
41
+ 8
42
+ ],
43
+ [
44
+ 9,
45
+ 10
46
+ ],
47
+ [
48
+ 10,
49
+ 0
50
+ ],
51
+ [
52
+ 10,
53
+ 1
54
+ ],
55
+ [
56
+ 10,
57
+ 2
58
+ ],
59
+ [
60
+ 10,
61
+ 3
62
+ ],
63
+ [
64
+ 10,
65
+ 6
66
+ ],
67
+ [
68
+ 10,
69
+ 11
70
+ ],
71
+ [
72
+ 11,
73
+ 2
74
+ ],
75
+ [
76
+ 11,
77
+ 4
78
+ ]
79
+ ],
80
+ "begin_suppress_tokens": [
81
+ 220,
82
+ 50256
83
+ ],
84
+ "bos_token_id": 50257,
85
+ "decoder_start_token_id": 50257,
86
+ "eos_token_id": 50256,
87
+ "forced_decoder_ids": [
88
+ [
89
+ 1,
90
+ 50362
91
+ ]
92
+ ],
93
+ "is_multilingual": false,
94
+ "max_initial_timestamp_index": 50,
95
+ "max_length": 448,
96
+ "no_timestamps_token_id": 50362,
97
+ "pad_token_id": 50256,
98
+ "prev_sot_token_id": 50360,
99
+ "return_timestamps": false,
100
+ "suppress_tokens": [
101
+ 1,
102
+ 2,
103
+ 7,
104
+ 8,
105
+ 9,
106
+ 10,
107
+ 14,
108
+ 25,
109
+ 26,
110
+ 27,
111
+ 28,
112
+ 29,
113
+ 31,
114
+ 58,
115
+ 59,
116
+ 60,
117
+ 61,
118
+ 62,
119
+ 63,
120
+ 90,
121
+ 91,
122
+ 92,
123
+ 93,
124
+ 357,
125
+ 366,
126
+ 438,
127
+ 532,
128
+ 685,
129
+ 705,
130
+ 796,
131
+ 930,
132
+ 1058,
133
+ 1220,
134
+ 1267,
135
+ 1279,
136
+ 1303,
137
+ 1343,
138
+ 1377,
139
+ 1391,
140
+ 1635,
141
+ 1782,
142
+ 1875,
143
+ 2162,
144
+ 2361,
145
+ 2488,
146
+ 3467,
147
+ 4008,
148
+ 4211,
149
+ 4600,
150
+ 4808,
151
+ 5299,
152
+ 5855,
153
+ 6329,
154
+ 7203,
155
+ 9609,
156
+ 9959,
157
+ 10563,
158
+ 10786,
159
+ 11420,
160
+ 11709,
161
+ 11907,
162
+ 13163,
163
+ 13697,
164
+ 13700,
165
+ 14808,
166
+ 15306,
167
+ 16410,
168
+ 16791,
169
+ 17992,
170
+ 19203,
171
+ 19510,
172
+ 20724,
173
+ 22305,
174
+ 22935,
175
+ 27007,
176
+ 30109,
177
+ 30420,
178
+ 33409,
179
+ 34949,
180
+ 40283,
181
+ 40493,
182
+ 40549,
183
+ 47282,
184
+ 49146,
185
+ 50257,
186
+ 50357,
187
+ 50358,
188
+ 50359,
189
+ 50360,
190
+ 50361
191
+ ],
192
+ "transformers_version": "4.35.2"
193
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6014ac49b506df900f66f4aca6b0801eed7245594ace97bcaf73e0ae5b863066
3
+ size 966992008