mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-08-10 02:22:17 +00:00
Reduce initial_speed from 0.5 to 0.25
This commit is contained in:
parent
e59db01b7c
commit
fcb0dba2cf
@ -62,9 +62,9 @@ class Transducer(nn.Module):
|
|||||||
self.joiner = joiner
|
self.joiner = joiner
|
||||||
|
|
||||||
self.simple_am_proj = ScaledLinear(embedding_dim, vocab_size,
|
self.simple_am_proj = ScaledLinear(embedding_dim, vocab_size,
|
||||||
initial_speed=0.5)
|
initial_speed=0.25)
|
||||||
self.simple_lm_proj = ScaledLinear(embedding_dim, vocab_size,
|
self.simple_lm_proj = ScaledLinear(embedding_dim, vocab_size,
|
||||||
initial_speed=0.5)
|
initial_speed=0.25)
|
||||||
with torch.no_grad():
|
with torch.no_grad():
|
||||||
# Initialize the two projections to be the same; this will be
|
# Initialize the two projections to be the same; this will be
|
||||||
# convenient for the real joiner, which adds the endcoder
|
# convenient for the real joiner, which adds the endcoder
|
||||||
|
Loading…
x
Reference in New Issue
Block a user