sanchit-gandhi HF staff commited on
Commit
618c8e5
1 Parent(s): 60865c1

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +148 -0
  2. generation_config.json +195 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "sanchit-gandhi/small-12-4-tpu-timestamped-prob-0.2",
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": 4,
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": [
29
+ [
30
+ 1,
31
+ 50362
32
+ ]
33
+ ],
34
+ "init_std": 0.02,
35
+ "is_encoder_decoder": true,
36
+ "mask_feature_length": 10,
37
+ "mask_feature_min_masks": 0,
38
+ "mask_feature_prob": 0.0,
39
+ "mask_time_length": 10,
40
+ "mask_time_min_masks": 2,
41
+ "mask_time_prob": 0.05,
42
+ "max_length": 448,
43
+ "max_source_positions": 1500,
44
+ "max_target_positions": 448,
45
+ "median_filter_width": 7,
46
+ "model_type": "whisper",
47
+ "num_hidden_layers": 12,
48
+ "num_mel_bins": 80,
49
+ "pad_token_id": 50256,
50
+ "scale_embedding": false,
51
+ "suppress_tokens": [
52
+ 1,
53
+ 2,
54
+ 7,
55
+ 8,
56
+ 9,
57
+ 10,
58
+ 14,
59
+ 25,
60
+ 26,
61
+ 27,
62
+ 28,
63
+ 29,
64
+ 31,
65
+ 58,
66
+ 59,
67
+ 60,
68
+ 61,
69
+ 62,
70
+ 63,
71
+ 90,
72
+ 91,
73
+ 92,
74
+ 93,
75
+ 357,
76
+ 366,
77
+ 438,
78
+ 532,
79
+ 685,
80
+ 705,
81
+ 796,
82
+ 930,
83
+ 1058,
84
+ 1220,
85
+ 1267,
86
+ 1279,
87
+ 1303,
88
+ 1343,
89
+ 1377,
90
+ 1391,
91
+ 1635,
92
+ 1782,
93
+ 1875,
94
+ 2162,
95
+ 2361,
96
+ 2488,
97
+ 3467,
98
+ 4008,
99
+ 4211,
100
+ 4600,
101
+ 4808,
102
+ 5299,
103
+ 5855,
104
+ 6329,
105
+ 7203,
106
+ 9609,
107
+ 9959,
108
+ 10563,
109
+ 10786,
110
+ 11420,
111
+ 11709,
112
+ 11907,
113
+ 13163,
114
+ 13697,
115
+ 13700,
116
+ 14808,
117
+ 15306,
118
+ 16410,
119
+ 16791,
120
+ 17992,
121
+ 19203,
122
+ 19510,
123
+ 20724,
124
+ 22305,
125
+ 22935,
126
+ 27007,
127
+ 30109,
128
+ 30420,
129
+ 33409,
130
+ 34949,
131
+ 40283,
132
+ 40493,
133
+ 40549,
134
+ 47282,
135
+ 49146,
136
+ 50257,
137
+ 50357,
138
+ 50358,
139
+ 50359,
140
+ 50360,
141
+ 50361
142
+ ],
143
+ "torch_dtype": "float32",
144
+ "transformers_version": "4.36.0.dev0",
145
+ "use_cache": true,
146
+ "use_weighted_layer_sum": false,
147
+ "vocab_size": 51864
148
+ }
generation_config.json ADDED
@@ -0,0 +1,195 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ "language": "<|en|>",
95
+ "max_initial_timestamp_index": 1,
96
+ "max_length": 448,
97
+ "no_timestamps_token_id": 50362,
98
+ "pad_token_id": 50256,
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
+ "task": "transcribe",
193
+ "transformers_version": "4.36.0.dev0",
194
+ "use_scan": false
195
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:73ace7d54a06f532ddb8a865488a061eea97093e7931d26c5e2dd90daeeaaf1b
3
+ size 664561848