Commit
•
5d6beb0
1
Parent(s):
f4ad176
fix config (#5)
Browse files- fix config (329b81743c29ee344a64748ff47bc4e52a63a755)
- config.json +5 -8
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "/
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"architectures": [
|
@@ -22,23 +22,20 @@
|
|
22 |
"encoder_ffn_dim": 5120,
|
23 |
"encoder_layerdrop": 0.0,
|
24 |
"encoder_layers": 32,
|
25 |
-
"eos_token_id":
|
26 |
"forced_decoder_ids": [
|
27 |
[
|
28 |
1,
|
29 |
-
|
30 |
],
|
31 |
[
|
32 |
2,
|
33 |
-
50359
|
34 |
-
],
|
35 |
-
[
|
36 |
-
3,
|
37 |
50363
|
38 |
]
|
39 |
],
|
40 |
"init_std": 0.02,
|
41 |
"is_encoder_decoder": true,
|
|
|
42 |
"max_source_positions": 1500,
|
43 |
"max_target_positions": 448,
|
44 |
"model_type": "whisper",
|
@@ -46,7 +43,7 @@
|
|
46 |
"num_mel_bins": 80,
|
47 |
"pad_token_id": 50257,
|
48 |
"scale_embedding": false,
|
49 |
-
|
50 |
1,
|
51 |
2,
|
52 |
7,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "openai/whisper-large-v2",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"architectures": [
|
|
|
22 |
"encoder_ffn_dim": 5120,
|
23 |
"encoder_layerdrop": 0.0,
|
24 |
"encoder_layers": 32,
|
25 |
+
"eos_token_id": 50257,
|
26 |
"forced_decoder_ids": [
|
27 |
[
|
28 |
1,
|
29 |
+
50358
|
30 |
],
|
31 |
[
|
32 |
2,
|
|
|
|
|
|
|
|
|
33 |
50363
|
34 |
]
|
35 |
],
|
36 |
"init_std": 0.02,
|
37 |
"is_encoder_decoder": true,
|
38 |
+
"max_length": 448,
|
39 |
"max_source_positions": 1500,
|
40 |
"max_target_positions": 448,
|
41 |
"model_type": "whisper",
|
|
|
43 |
"num_mel_bins": 80,
|
44 |
"pad_token_id": 50257,
|
45 |
"scale_embedding": false,
|
46 |
+
"suppress_tokens": [
|
47 |
1,
|
48 |
2,
|
49 |
7,
|