Update `max_length` param
Browse files- config.json +7 -1
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
{
|
|
|
2 |
"activation_dropout": 0.0,
|
3 |
"activation_function": "gelu",
|
|
|
|
|
|
|
4 |
"attention_dropout": 0.0,
|
5 |
"begin_suppress_tokens": [
|
6 |
220,
|
@@ -27,6 +31,7 @@
|
|
27 |
],
|
28 |
"init_std": 0.02,
|
29 |
"is_encoder_decoder": true,
|
|
|
30 |
"max_source_positions": 1500,
|
31 |
"max_target_positions": 448,
|
32 |
"model_type": "whisper",
|
@@ -126,7 +131,8 @@
|
|
126 |
50360,
|
127 |
50361
|
128 |
],
|
129 |
-
"
|
|
|
130 |
"use_cache": true,
|
131 |
"vocab_size": 51864
|
132 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "openai/whisper-medium.en",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
+
"architectures": [
|
6 |
+
"WhisperForConditionalGeneration"
|
7 |
+
],
|
8 |
"attention_dropout": 0.0,
|
9 |
"begin_suppress_tokens": [
|
10 |
220,
|
|
|
31 |
],
|
32 |
"init_std": 0.02,
|
33 |
"is_encoder_decoder": true,
|
34 |
+
"max_length": 448,
|
35 |
"max_source_positions": 1500,
|
36 |
"max_target_positions": 448,
|
37 |
"model_type": "whisper",
|
|
|
131 |
50360,
|
132 |
50361
|
133 |
],
|
134 |
+
"torch_dtype": "float32",
|
135 |
+
"transformers_version": "4.24.0.dev0",
|
136 |
"use_cache": true,
|
137 |
"vocab_size": 51864
|
138 |
}
|
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:9cab9e33c423511099b0f7b9b8f54eb37c5acfdbdd1e363765621b6cec24657c
|
3 |
+
size 3055731227
|