Update hyperparams.yaml
Browse files- hyperparams.yaml +3 -10
hyperparams.yaml
CHANGED
@@ -122,11 +122,6 @@ transducer_lin: !new:speechbrain.nnet.linear.Linear
|
|
122 |
n_neurons: !ref <output_neurons>
|
123 |
bias: False
|
124 |
|
125 |
-
log_softmax: !new:speechbrain.nnet.activations.Softmax
|
126 |
-
apply_log: True
|
127 |
-
|
128 |
-
# for MTL
|
129 |
-
# update model if any HEAD module is added
|
130 |
modules:
|
131 |
CNN: !ref <CNN>
|
132 |
enc: !ref <enc>
|
@@ -138,10 +133,7 @@ modules:
|
|
138 |
proj_ctc: !ref <proj_ctc>
|
139 |
proj_dec: !ref <proj_dec>
|
140 |
proj_enc: !ref <proj_enc>
|
141 |
-
# dec_lin: !ref <dec_lin>
|
142 |
|
143 |
-
# for MTL
|
144 |
-
# update model if any HEAD module is added
|
145 |
model: !new:torch.nn.ModuleList
|
146 |
- [!ref <CNN>, !ref <enc>, !ref <emb>, !ref <dec>, !ref <proj_enc>, !ref <proj_dec>, !ref <proj_ctc>, !ref <transducer_lin>]
|
147 |
|
@@ -163,7 +155,6 @@ Beamsearcher: !new:speechbrain.decoders.transducer.TransducerBeamSearcher
|
|
163 |
blank_id: !ref <blank_index>
|
164 |
beam_size: !ref <beam_size>
|
165 |
nbest: !ref <nbest>
|
166 |
-
# FIXME: when lm pretrained, use this
|
167 |
# lm_module: !ref <lm_model>
|
168 |
# lm_weight: !ref <lm_weight>
|
169 |
state_beam: !ref <state_beam>
|
@@ -186,7 +177,9 @@ fea_streaming_extractor: !new:speechbrain.lobes.features.StreamingFeatureWrapper
|
|
186 |
- !ref <compute_features>
|
187 |
- !ref <normalize>
|
188 |
- !ref <CNN>
|
189 |
-
# don't consider normalization as part of the input filter chain
|
|
|
|
|
190 |
properties: !!python/object/apply:speechbrain.utils.filter_analysis.stack_filter_properties
|
191 |
- [!ref <compute_features>, !ref <CNN>]
|
192 |
|
|
|
122 |
n_neurons: !ref <output_neurons>
|
123 |
bias: False
|
124 |
|
|
|
|
|
|
|
|
|
|
|
125 |
modules:
|
126 |
CNN: !ref <CNN>
|
127 |
enc: !ref <enc>
|
|
|
133 |
proj_ctc: !ref <proj_ctc>
|
134 |
proj_dec: !ref <proj_dec>
|
135 |
proj_enc: !ref <proj_enc>
|
|
|
136 |
|
|
|
|
|
137 |
model: !new:torch.nn.ModuleList
|
138 |
- [!ref <CNN>, !ref <enc>, !ref <emb>, !ref <dec>, !ref <proj_enc>, !ref <proj_dec>, !ref <proj_ctc>, !ref <transducer_lin>]
|
139 |
|
|
|
155 |
blank_id: !ref <blank_index>
|
156 |
beam_size: !ref <beam_size>
|
157 |
nbest: !ref <nbest>
|
|
|
158 |
# lm_module: !ref <lm_model>
|
159 |
# lm_weight: !ref <lm_weight>
|
160 |
state_beam: !ref <state_beam>
|
|
|
177 |
- !ref <compute_features>
|
178 |
- !ref <normalize>
|
179 |
- !ref <CNN>
|
180 |
+
# don't consider normalization as part of the input filter chain.
|
181 |
+
# normalization will operate at chunk level, which mismatches training
|
182 |
+
# somewhat, but does not appear to result in noticeable degradation.
|
183 |
properties: !!python/object/apply:speechbrain.utils.filter_analysis.stack_filter_properties
|
184 |
- [!ref <compute_features>, !ref <CNN>]
|
185 |
|