update model
Browse files- config.json +14 -4
- generation_config.json +4 -6
- preprocessor_config.json +0 -0
- pytorch_model.bin +2 -2
- training_args.bin +2 -2
config.json
CHANGED
@@ -1,7 +1,8 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
|
|
5 |
"architectures": [
|
6 |
"WhisperForConditionalGeneration"
|
7 |
],
|
@@ -11,6 +12,7 @@
|
|
11 |
50257
|
12 |
],
|
13 |
"bos_token_id": 50257,
|
|
|
14 |
"d_model": 768,
|
15 |
"decoder_attention_heads": 12,
|
16 |
"decoder_ffn_dim": 3072,
|
@@ -26,16 +28,24 @@
|
|
26 |
"forced_decoder_ids": null,
|
27 |
"init_std": 0.02,
|
28 |
"is_encoder_decoder": true,
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
"max_length": 448,
|
30 |
"max_source_positions": 1500,
|
31 |
"max_target_positions": 448,
|
|
|
32 |
"model_type": "whisper",
|
33 |
"num_hidden_layers": 12,
|
34 |
"num_mel_bins": 80,
|
35 |
"pad_token_id": 50257,
|
36 |
"scale_embedding": false,
|
37 |
-
"torch_dtype": "
|
38 |
-
"transformers_version": "4.
|
39 |
-
"use_cache":
|
|
|
40 |
"vocab_size": 51865
|
41 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "whisper-th-small-aug",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
+
"apply_spec_augment": true,
|
6 |
"architectures": [
|
7 |
"WhisperForConditionalGeneration"
|
8 |
],
|
|
|
12 |
50257
|
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,
|
|
|
28 |
"forced_decoder_ids": null,
|
29 |
"init_std": 0.02,
|
30 |
"is_encoder_decoder": true,
|
31 |
+
"mask_feature_length": 64,
|
32 |
+
"mask_feature_min_masks": 0,
|
33 |
+
"mask_feature_prob": 0.3,
|
34 |
+
"mask_time_length": 10,
|
35 |
+
"mask_time_min_masks": 2,
|
36 |
+
"mask_time_prob": 0.3,
|
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": 50257,
|
45 |
"scale_embedding": false,
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"transformers_version": "4.31.0.dev0",
|
48 |
+
"use_cache": true,
|
49 |
+
"use_weighted_layer_sum": false,
|
50 |
"vocab_size": 51865
|
51 |
}
|
generation_config.json
CHANGED
@@ -14,10 +14,6 @@
|
|
14 |
[
|
15 |
2,
|
16 |
50359
|
17 |
-
],
|
18 |
-
[
|
19 |
-
3,
|
20 |
-
50363
|
21 |
]
|
22 |
],
|
23 |
"is_multilingual": true,
|
@@ -125,7 +121,7 @@
|
|
125 |
"max_initial_timestamp_index": 1,
|
126 |
"max_length": 448,
|
127 |
"no_timestamps_token_id": 50363,
|
128 |
-
"pad_token_id":
|
129 |
"return_timestamps": false,
|
130 |
"suppress_tokens": [
|
131 |
1,
|
@@ -211,6 +207,8 @@
|
|
211 |
49870,
|
212 |
50254,
|
213 |
50258,
|
|
|
|
|
214 |
50360,
|
215 |
50361,
|
216 |
50362
|
@@ -219,5 +217,5 @@
|
|
219 |
"transcribe": 50359,
|
220 |
"translate": 50358
|
221 |
},
|
222 |
-
"transformers_version": "4.
|
223 |
}
|
|
|
14 |
[
|
15 |
2,
|
16 |
50359
|
|
|
|
|
|
|
|
|
17 |
]
|
18 |
],
|
19 |
"is_multilingual": true,
|
|
|
121 |
"max_initial_timestamp_index": 1,
|
122 |
"max_length": 448,
|
123 |
"no_timestamps_token_id": 50363,
|
124 |
+
"pad_token_id": 50257,
|
125 |
"return_timestamps": false,
|
126 |
"suppress_tokens": [
|
127 |
1,
|
|
|
207 |
49870,
|
208 |
50254,
|
209 |
50258,
|
210 |
+
50358,
|
211 |
+
50359,
|
212 |
50360,
|
213 |
50361,
|
214 |
50362
|
|
|
217 |
"transcribe": 50359,
|
218 |
"translate": 50358
|
219 |
},
|
220 |
+
"transformers_version": "4.31.0.dev0"
|
221 |
}
|
preprocessor_config.json
CHANGED
The diff for this file is too large to render.
See raw diff
|
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6c48b903002d62eddd6bdac0af1fcb9d1825f7616b03562dbceaa0a029943206
|
3 |
+
size 967102926
|
training_args.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:92e0d28a477d6fbed86250bc2bdb7420c074fb1d27d9be486675bd887280e570
|
3 |
+
size 4352
|