Skip to content

Commit

Permalink
Fix wavlm bundles (pytorch#3660)
Browse files Browse the repository at this point in the history
The `encoder_layer_norm_first` should be set to True for the Large model of WavLM.
Address pytorch#3347
  • Loading branch information
nateanl authored and mthrok committed Oct 19, 2023
1 parent fe6d41c commit e331c1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchaudio/pipelines/_wav2vec2/impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@ def _get_state_dict(self, dl_kwargs):
"encoder_ff_interm_features": 4096,
"encoder_ff_interm_dropout": 0.0,
"encoder_dropout": 0.1,
"encoder_layer_norm_first": False,
"encoder_layer_norm_first": True,
"encoder_layer_drop": 0.05,
"aux_num_out": None,
},
Expand Down

0 comments on commit e331c1a

Please sign in to comment.