mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Use 2 groups in whitening for NonlinAttentionModule; limit 40->20.
This commit is contained in:
parent
b3b5e8b9b9
commit
71f118e725
@ -1424,8 +1424,8 @@ class NonlinAttentionModule(nn.Module):
|
|||||||
)
|
)
|
||||||
# give it a high limit, because it is quite high-dimensional and is
|
# give it a high limit, because it is quite high-dimensional and is
|
||||||
# a projection of a lower-dimensional embedding.
|
# a projection of a lower-dimensional embedding.
|
||||||
self.whiten = Whiten(num_groups=1,
|
self.whiten = Whiten(num_groups=2,
|
||||||
whitening_limit=40.0,
|
whitening_limit=20.0,
|
||||||
prob=(0.025, 0.25),
|
prob=(0.025, 0.25),
|
||||||
grad_scale=0.01)
|
grad_scale=0.01)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user