Adel-Moumen
commited on
Update hyperparams.yaml
Browse files- hyperparams.yaml +0 -16
hyperparams.yaml
CHANGED
@@ -17,14 +17,6 @@ language: mongolian
|
|
17 |
auto_mix_prec: False
|
18 |
sample_rate: 16000
|
19 |
|
20 |
-
# These values are only used for the searchers.
|
21 |
-
# They needs to be hardcoded and should not be changed with Whisper.
|
22 |
-
# They are used as part of the searching process.
|
23 |
-
# The bos token of the searcher will be timestamp_index
|
24 |
-
# and will be concatenated with the bos, language and task tokens.
|
25 |
-
timestamp_index: 50363
|
26 |
-
eos_index: 50257
|
27 |
-
bos_index: 50258
|
28 |
|
29 |
# Decoding parameters
|
30 |
min_decode_ratio: 0.0
|
@@ -35,8 +27,6 @@ test_beam_size: 8
|
|
35 |
freeze_whisper: True
|
36 |
freeze_encoder: True
|
37 |
|
38 |
-
|
39 |
-
|
40 |
whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
|
41 |
source: !ref <whisper_hub>
|
42 |
freeze: !ref <freeze_whisper>
|
@@ -45,7 +35,6 @@ whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
|
|
45 |
encoder_only: False
|
46 |
|
47 |
|
48 |
-
|
49 |
decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearcher
|
50 |
model: !ref <whisper>
|
51 |
bos_index: !ref <timestamp_index>
|
@@ -55,16 +44,11 @@ decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearcher
|
|
55 |
|
56 |
# test_beam_searcher: !new:speechbrain.decoders.seq2seq.S2SWhisperBeamSearcher
|
57 |
# module: [!ref <whisper>]
|
58 |
-
# bos_index: !ref <timestamp_index>
|
59 |
-
# eos_index: !ref <eos_index>
|
60 |
# min_decode_ratio: !ref <min_decode_ratio>
|
61 |
# max_decode_ratio: !ref <max_decode_ratio>
|
62 |
# beam_size: !ref <test_beam_size>
|
63 |
|
64 |
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
modules:
|
69 |
whisper: !ref <whisper>
|
70 |
decoder: !ref <decoder>
|
|
|
17 |
auto_mix_prec: False
|
18 |
sample_rate: 16000
|
19 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
|
21 |
# Decoding parameters
|
22 |
min_decode_ratio: 0.0
|
|
|
27 |
freeze_whisper: True
|
28 |
freeze_encoder: True
|
29 |
|
|
|
|
|
30 |
whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
|
31 |
source: !ref <whisper_hub>
|
32 |
freeze: !ref <freeze_whisper>
|
|
|
35 |
encoder_only: False
|
36 |
|
37 |
|
|
|
38 |
decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearcher
|
39 |
model: !ref <whisper>
|
40 |
bos_index: !ref <timestamp_index>
|
|
|
44 |
|
45 |
# test_beam_searcher: !new:speechbrain.decoders.seq2seq.S2SWhisperBeamSearcher
|
46 |
# module: [!ref <whisper>]
|
|
|
|
|
47 |
# min_decode_ratio: !ref <min_decode_ratio>
|
48 |
# max_decode_ratio: !ref <max_decode_ratio>
|
49 |
# beam_size: !ref <test_beam_size>
|
50 |
|
51 |
|
|
|
|
|
|
|
52 |
modules:
|
53 |
whisper: !ref <whisper>
|
54 |
decoder: !ref <decoder>
|