Adel-Moumen commited on
Commit
68c030a
·
verified ·
1 Parent(s): 974437f

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +12 -3
hyperparams.yaml CHANGED
@@ -115,14 +115,23 @@ encoder: !new:speechbrain.nnet.containers.LengthsCapableSequential
115
  normalize: !ref <normalizer>
116
  model: !ref <enc>
117
 
 
 
 
 
 
 
 
 
 
 
 
118
  decoder: !new:speechbrain.decoders.S2SRNNBeamSearcher
119
  embedding: !ref <emb>
120
  decoder: !ref <dec>
121
  linear: !ref <seq_lin>
122
- ctc_linear: !ref <ctc_lin>
123
  bos_index: !ref <bos_index>
124
  eos_index: !ref <eos_index>
125
- blank_index: !ref <blank_index>
126
  min_decode_ratio: !ref <min_decode_ratio>
127
  max_decode_ratio: !ref <max_decode_ratio>
128
  beam_size: !ref <test_beam_size>
@@ -130,8 +139,8 @@ decoder: !new:speechbrain.decoders.S2SRNNBeamSearcher
130
  using_max_attn_shift: !ref <using_max_attn_shift>
131
  max_attn_shift: !ref <max_attn_shift>
132
  coverage_penalty: !ref <coverage_penalty>
133
- ctc_weight: !ref <ctc_weight_decode>
134
  temperature: !ref <temperature>
 
135
 
136
  modules:
137
  normalizer: !ref <normalizer>
 
115
  normalize: !ref <normalizer>
116
  model: !ref <enc>
117
 
118
+
119
+ ctc_scorer: !new:speechbrain.decoders.scorer.CTCScorer
120
+ eos_index: !ref <eos_index>
121
+ blank_index: !ref <blank_index>
122
+ ctc_fc: !ref <ctc_lin>
123
+
124
+ scorer: !new:speechbrain.decoders.scorer.ScorerBuilder
125
+ full_scorers: [!ref <ctc_scorer>]
126
+ weights:
127
+ ctc: !ref <ctc_weight_decode>
128
+
129
  decoder: !new:speechbrain.decoders.S2SRNNBeamSearcher
130
  embedding: !ref <emb>
131
  decoder: !ref <dec>
132
  linear: !ref <seq_lin>
 
133
  bos_index: !ref <bos_index>
134
  eos_index: !ref <eos_index>
 
135
  min_decode_ratio: !ref <min_decode_ratio>
136
  max_decode_ratio: !ref <max_decode_ratio>
137
  beam_size: !ref <test_beam_size>
 
139
  using_max_attn_shift: !ref <using_max_attn_shift>
140
  max_attn_shift: !ref <max_attn_shift>
141
  coverage_penalty: !ref <coverage_penalty>
 
142
  temperature: !ref <temperature>
143
+ scorer: !ref <scorer>
144
 
145
  modules:
146
  normalizer: !ref <normalizer>