mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Increase dropout rate for PosEmb from 0.1 to 0.2.
This commit is contained in:
parent
70408d22fe
commit
4a5a13b678
@ -573,7 +573,7 @@ class ZipformerEncoder(nn.Module):
|
||||
# so that we can keep this consistent across worker tasks (for efficiency).
|
||||
self.module_seed = torch.randint(0, 1000, ()).item()
|
||||
|
||||
self.encoder_pos = RelPositionalEncoding(pos_dim, dropout)
|
||||
self.encoder_pos = RelPositionalEncoding(pos_dim, dropout_rate=0.2)
|
||||
|
||||
self.layers = nn.ModuleList(
|
||||
[copy.deepcopy(encoder_layer) for i in range(num_layers)]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user