mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
Further tune lr scales; increase base-lr
This commit is contained in:
parent
f6f088489d
commit
5564a0efb0
@ -209,7 +209,7 @@ class Zipformer(EncoderInterface):
|
|||||||
)
|
)
|
||||||
# we are adding a new attribute here.
|
# we are adding a new attribute here.
|
||||||
# this will be interpreted by get_named_parameter_groups_with_lrs().
|
# this will be interpreted by get_named_parameter_groups_with_lrs().
|
||||||
encoder.lr_scale = downsampling_factor[i] ** -0.25
|
encoder.lr_scale = downsampling_factor[i] ** -0.2
|
||||||
encoders.append(encoder)
|
encoders.append(encoder)
|
||||||
self.encoders = nn.ModuleList(encoders)
|
self.encoders = nn.ModuleList(encoders)
|
||||||
|
|
||||||
@ -1480,7 +1480,7 @@ class NonlinAttention(nn.Module):
|
|||||||
) -> None:
|
) -> None:
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
self.lr_scale = 0.9
|
self.lr_scale = 0.95
|
||||||
|
|
||||||
self.hidden_channels = hidden_channels
|
self.hidden_channels = hidden_channels
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user