From 73e420865c96069f28ee75fa6ed1d1a43e420570 Mon Sep 17 00:00:00 2001 From: Daniel Povey Date: Tue, 29 Nov 2022 15:53:29 +0800 Subject: [PATCH] Revert min_abs in NonlinAttentionModule from 2.0 to 1.5 --- egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py b/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py index eec36f053..074b65b4a 100644 --- a/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py +++ b/egs/librispeech/ASR/pruned_transducer_stateless7/zipformer.py @@ -1464,7 +1464,7 @@ class NonlinAttentionModule(nn.Module): channels // (2 * ratio), channel_dim=-1, min_positive=ScheduledFloat((0.0, 0.1), (8000.0, 0.05)), max_positive=1.0, - min_abs=2.0, + min_abs=1.5, max_abs=ScheduledFloat((0.0, 5.0), (8000.0, 10.0), default=1.0), ) self.sigmoid = nn.Sigmoid()