Adel-Moumen
commited on
Update hyperparams.yaml
Browse files- hyperparams.yaml +2 -8
hyperparams.yaml
CHANGED
@@ -81,10 +81,8 @@ modules:
|
|
81 |
encoder: !ref <encoder>
|
82 |
|
83 |
# Decoding parameters
|
84 |
-
|
85 |
-
kenlm_model_path: speechbrain/asr-wav2vec2-commonvoice-14-en/en_5gram.arpa
|
86 |
test_beam_search:
|
87 |
-
blank_index: !ref <blank_index>
|
88 |
beam_size: 100
|
89 |
beam_prune_logp: -12.0
|
90 |
token_prune_min_logp: -1.2
|
@@ -92,11 +90,7 @@ test_beam_search:
|
|
92 |
topk: 1
|
93 |
alpha: 1.0
|
94 |
beta: 0.5
|
95 |
-
|
96 |
-
# It can either be a .bin or .arpa ; note: .arpa is much slower at loading
|
97 |
-
# If you don't want to use an LM, comment it out or set it to null
|
98 |
-
# kenlm_model_path: !ref <kenlm_model_path>
|
99 |
-
|
100 |
|
101 |
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
|
102 |
loadables:
|
|
|
81 |
encoder: !ref <encoder>
|
82 |
|
83 |
# Decoding parameters
|
84 |
+
decoding_function: !name:speechbrain.decoders.CTCBeamSearcher
|
|
|
85 |
test_beam_search:
|
|
|
86 |
beam_size: 100
|
87 |
beam_prune_logp: -12.0
|
88 |
token_prune_min_logp: -1.2
|
|
|
90 |
topk: 1
|
91 |
alpha: 1.0
|
92 |
beta: 0.5
|
93 |
+
kenlm_model_path: speechbrain/asr-wav2vec2-commonvoice-14-en/en_5gram.arpa
|
|
|
|
|
|
|
|
|
94 |
|
95 |
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
|
96 |
loadables:
|