injilashah commited on
Commit
9fcdc3a
1 Parent(s): dc41777

Upload WhisperForConditionalGeneration

Browse files
Files changed (3) hide show
  1. config.json +56 -0
  2. generation_config.json +195 -0
  3. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "openai/whisper-small.en",
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.1,
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
+ "model_type": "whisper",
46
+ "num_hidden_layers": 12,
47
+ "num_mel_bins": 80,
48
+ "pad_token_id": 50256,
49
+ "scale_embedding": false,
50
+ "suppress_tokens": [],
51
+ "torch_dtype": "float32",
52
+ "transformers_version": "4.27.1",
53
+ "use_cache": false,
54
+ "use_weighted_layer_sum": false,
55
+ "vocab_size": 51864
56
+ }
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": 50,
96
+ "max_length": 448,
97
+ "no_timestamps_token_id": 50362,
98
+ "pad_token_id": 50256,
99
+ "prev_sot_token_id": 50360,
100
+ "return_timestamps": false,
101
+ "suppress_tokens": [
102
+ 1,
103
+ 2,
104
+ 7,
105
+ 8,
106
+ 9,
107
+ 10,
108
+ 14,
109
+ 25,
110
+ 26,
111
+ 27,
112
+ 28,
113
+ 29,
114
+ 31,
115
+ 58,
116
+ 59,
117
+ 60,
118
+ 61,
119
+ 62,
120
+ 63,
121
+ 90,
122
+ 91,
123
+ 92,
124
+ 93,
125
+ 357,
126
+ 366,
127
+ 438,
128
+ 532,
129
+ 685,
130
+ 705,
131
+ 796,
132
+ 930,
133
+ 1058,
134
+ 1220,
135
+ 1267,
136
+ 1279,
137
+ 1303,
138
+ 1343,
139
+ 1377,
140
+ 1391,
141
+ 1635,
142
+ 1782,
143
+ 1875,
144
+ 2162,
145
+ 2361,
146
+ 2488,
147
+ 3467,
148
+ 4008,
149
+ 4211,
150
+ 4600,
151
+ 4808,
152
+ 5299,
153
+ 5855,
154
+ 6329,
155
+ 7203,
156
+ 9609,
157
+ 9959,
158
+ 10563,
159
+ 10786,
160
+ 11420,
161
+ 11709,
162
+ 11907,
163
+ 13163,
164
+ 13697,
165
+ 13700,
166
+ 14808,
167
+ 15306,
168
+ 16410,
169
+ 16791,
170
+ 17992,
171
+ 19203,
172
+ 19510,
173
+ 20724,
174
+ 22305,
175
+ 22935,
176
+ 27007,
177
+ 30109,
178
+ 30420,
179
+ 33409,
180
+ 34949,
181
+ 40283,
182
+ 40493,
183
+ 40549,
184
+ 47282,
185
+ 49146,
186
+ 50257,
187
+ 50357,
188
+ 50358,
189
+ 50359,
190
+ 50360,
191
+ 50361
192
+ ],
193
+ "task": "transcribe",
194
+ "transformers_version": "4.27.1"
195
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a76aaa5c2bcd66cb1a5ce88a306ed570be3e749f76f58172be1c00dba22959ef
3
+ size 967099974