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
5042500454
commit
6467acd41d
Binary file not shown.
@ -97,7 +97,8 @@ class TransformerEncoderAdapter(TransformerEncoder):
|
||||
x, (z, lr) = layer(
|
||||
x, self_attn_padding_mask=padding_mask, need_weights=False,
|
||||
)
|
||||
x = self.adapters(x, layer_id=i)
|
||||
#x = self.adapters(x, layer_id=i)
|
||||
x_diff = self.lora(x, layer_id=i)
|
||||
|
||||
if i >= min_layer:
|
||||
layer_results.append((x, z, lr))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user