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-tiny.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:8548de43c352b2c4f327aacbd8291c893d788a7d6ba0a2ec0ef35c09e51dce8a
|
3 |
+
size 151093491
|