Adel-Moumen commited on
Commit
11f9186
1 Parent(s): 68c030a

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +6 -3
hyperparams.yaml CHANGED
@@ -120,11 +120,15 @@ 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>
@@ -138,7 +142,6 @@ decoder: !new:speechbrain.decoders.S2SRNNBeamSearcher
138
  eos_threshold: !ref <eos_threshold>
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
 
 
120
  eos_index: !ref <eos_index>
121
  blank_index: !ref <blank_index>
122
  ctc_fc: !ref <ctc_lin>
123
+
124
+ coverage_scorer: !new:speechbrain.decoders.scorer.CoverageScorer
125
+ vocab_size: !ref <output_neurons>
126
+
127
  scorer: !new:speechbrain.decoders.scorer.ScorerBuilder
128
+ full_scorers: [!ref <ctc_scorer>, !ref <coverage_scorer>]
129
  weights:
130
  ctc: !ref <ctc_weight_decode>
131
+ coverage: !ref <coverage_penalty>
132
 
133
  decoder: !new:speechbrain.decoders.S2SRNNBeamSearcher
134
  embedding: !ref <emb>
 
142
  eos_threshold: !ref <eos_threshold>
143
  using_max_attn_shift: !ref <using_max_attn_shift>
144
  max_attn_shift: !ref <max_attn_shift>
 
145
  temperature: !ref <temperature>
146
  scorer: !ref <scorer>
147