sdelangen commited on
Commit
0dffa1e
1 Parent(s): c71d794

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +5 -1
hyperparams.yaml CHANGED
@@ -172,6 +172,10 @@ pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer
172
  make_tokenizer_streaming_context: !name:speechbrain.tokenizers.SentencePiece.SentencePieceDecoderStreamingContext
173
  tokenizer_decode_streaming: !name:speechbrain.tokenizers.SentencePiece.spm_decode_preserve_leading_space
174
 
 
 
 
 
175
  fea_streaming_extractor: !new:speechbrain.lobes.features.StreamingFeatureWrapper
176
  module: !new:speechbrain.nnet.containers.LengthsCapableSequential
177
  - !ref <compute_features>
@@ -180,5 +184,5 @@ fea_streaming_extractor: !new:speechbrain.lobes.features.StreamingFeatureWrapper
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>]
 
172
  make_tokenizer_streaming_context: !name:speechbrain.tokenizers.SentencePiece.SentencePieceDecoderStreamingContext
173
  tokenizer_decode_streaming: !name:speechbrain.tokenizers.SentencePiece.spm_decode_preserve_leading_space
174
 
175
+ make_decoder_streaming_context: !name:speechbrain.decoders.transducer.TransducerGreedySearcherStreamingContext # default constructor
176
+ decoding_function: !name:speechbrain.decoders.transducer.TransducerBeamSearcher.transducer_greedy_decode_streaming
177
+ - !ref <Greedysearcher> # self
178
+
179
  fea_streaming_extractor: !new:speechbrain.lobes.features.StreamingFeatureWrapper
180
  module: !new:speechbrain.nnet.containers.LengthsCapableSequential
181
  - !ref <compute_features>
 
184
  # don't consider normalization as part of the input filter chain.
185
  # normalization will operate at chunk level, which mismatches training
186
  # somewhat, but does not appear to result in noticeable degradation.
187
+ properties: !apply:speechbrain.utils.filter_analysis.stack_filter_properties
188
  - [!ref <compute_features>, !ref <CNN>]