fix: Update config.json and generation_config.json only for Uzbek language and transcribe
Browse files- config.json +6 -6
- generation_config.json +5 -5
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "whisper-medium-uz",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"apply_spec_augment": false,
|
@@ -23,17 +23,17 @@
|
|
23 |
"encoder_layers": 24,
|
24 |
"eos_token_id": 50257,
|
25 |
"forced_decoder_ids": [
|
|
|
|
|
|
|
|
|
26 |
[
|
27 |
1,
|
28 |
-
|
29 |
],
|
30 |
[
|
31 |
2,
|
32 |
50359
|
33 |
-
],
|
34 |
-
[
|
35 |
-
3,
|
36 |
-
50363
|
37 |
]
|
38 |
],
|
39 |
"init_std": 0.02,
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "yakhyo/whisper-medium-uz",
|
3 |
"activation_dropout": 0.0,
|
4 |
"activation_function": "gelu",
|
5 |
"apply_spec_augment": false,
|
|
|
23 |
"encoder_layers": 24,
|
24 |
"eos_token_id": 50257,
|
25 |
"forced_decoder_ids": [
|
26 |
+
[
|
27 |
+
0,
|
28 |
+
50258
|
29 |
+
],
|
30 |
[
|
31 |
1,
|
32 |
+
50337
|
33 |
],
|
34 |
[
|
35 |
2,
|
36 |
50359
|
|
|
|
|
|
|
|
|
37 |
]
|
38 |
],
|
39 |
"init_std": 0.02,
|
generation_config.json
CHANGED
@@ -4,17 +4,17 @@
|
|
4 |
"decoder_start_token_id": 50258,
|
5 |
"eos_token_id": 50257,
|
6 |
"forced_decoder_ids": [
|
|
|
|
|
|
|
|
|
7 |
[
|
8 |
1,
|
9 |
-
|
10 |
],
|
11 |
[
|
12 |
2,
|
13 |
50359
|
14 |
-
],
|
15 |
-
[
|
16 |
-
3,
|
17 |
-
50363
|
18 |
]
|
19 |
],
|
20 |
"pad_token_id": 50257,
|
|
|
4 |
"decoder_start_token_id": 50258,
|
5 |
"eos_token_id": 50257,
|
6 |
"forced_decoder_ids": [
|
7 |
+
[
|
8 |
+
0,
|
9 |
+
50258
|
10 |
+
],
|
11 |
[
|
12 |
1,
|
13 |
+
50337
|
14 |
],
|
15 |
[
|
16 |
2,
|
17 |
50359
|
|
|
|
|
|
|
|
|
18 |
]
|
19 |
],
|
20 |
"pad_token_id": 50257,
|