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
@@ -64,6 +64,7 @@ Transformer: !new:speechbrain.lobes.models.transformer.TransformerASR.Transforme
|
|
64 |
dropout: !ref <transformer_dropout>
|
65 |
activation: !ref <activation>
|
66 |
normalize_before: False
|
|
|
67 |
|
68 |
ctc_lin: !new:speechbrain.nnet.linear.Linear
|
69 |
input_size: !ref <d_model>
|
|
|
64 |
dropout: !ref <transformer_dropout>
|
65 |
activation: !ref <activation>
|
66 |
normalize_before: False
|
67 |
+
causal: False
|
68 |
|
69 |
ctc_lin: !new:speechbrain.nnet.linear.Linear
|
70 |
input_size: !ref <d_model>
|