mirror of
https://github.com/k2-fsa/icefall.git
synced 2025-12-11 06:55:27 +00:00
from local
This commit is contained in:
parent
46be3a7375
commit
3aaa59a2dd
Binary file not shown.
Binary file not shown.
@ -39,7 +39,7 @@ logger = logging.getLogger().setLevel(logging.INFO)
|
||||
class TransformerEncoderAdapter(TransformerEncoder):
|
||||
def __init__(self, args: Wav2Vec2Config):
|
||||
super().__init__(args)
|
||||
self.adapters = ResidualAdapterModule(proj_dim=512)
|
||||
self.adapters = ResidualAdapterModule(proj_dim=32)
|
||||
|
||||
for p in self.adapters.parameters():
|
||||
p.data /= 10.
|
||||
|
||||
@ -58,7 +58,7 @@ else
|
||||
--enable-spec-aug False \
|
||||
--multi-optim False \
|
||||
--world-size 4 \
|
||||
--num-epochs 200 \
|
||||
--num-epochs 100 \
|
||||
--full-libri 1 \
|
||||
--exp-dir ./pruned_transducer_stateless_d2v_v2/$1 \
|
||||
--max-duration 150 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user