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
3710b3dd43
commit
d904bc9572
Binary file not shown.
@ -99,6 +99,8 @@ class TransformerEncoderAdapter(TransformerEncoder):
|
||||
)
|
||||
x_diff = self.lora(x, layer_idx=i)
|
||||
|
||||
x += x_diff
|
||||
|
||||
if i >= min_layer:
|
||||
layer_results.append((x, z, lr))
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user