Fix SB 1.0 compatibility
Browse filesSee: https://github.com/speechbrain/speechbrain/issues/2604
This model was trained with `causal: True` (the default), but this functionality was broken pre-1.0.
Upon checking, the `TransformerASR` for this model doesn't seem to have anything else affected by the switch from `causal: True` to `causal: False`.
- hyperparams.yaml +1 -0
hyperparams.yaml
CHANGED
@@ -73,6 +73,7 @@ Transformer: !new:speechbrain.lobes.models.transformer.TransformerASR.Transforme
|
|
73 |
dropout: !ref <transformer_dropout>
|
74 |
activation: !ref <activation>
|
75 |
normalize_before: True
|
|
|
76 |
|
77 |
ctc_lin: !new:speechbrain.nnet.linear.Linear
|
78 |
input_size: !ref <d_model>
|
|
|
73 |
dropout: !ref <transformer_dropout>
|
74 |
activation: !ref <activation>
|
75 |
normalize_before: True
|
76 |
+
causal: False
|
77 |
|
78 |
ctc_lin: !new:speechbrain.nnet.linear.Linear
|
79 |
input_size: !ref <d_model>
|