from local
This commit is contained in:
parent
bf17e501f4
commit
7e696f2be5
Binary file not shown.
@ -96,6 +96,8 @@ class TransformerEncoderAdapter(TransformerEncoder):
|
|||||||
x, (z, lr) = layer(
|
x, (z, lr) = layer(
|
||||||
x, self_attn_padding_mask=padding_mask, need_weights=False,
|
x, self_attn_padding_mask=padding_mask, need_weights=False,
|
||||||
)
|
)
|
||||||
|
print(x.size())
|
||||||
|
print(i)
|
||||||
x = self.adapters(x, layer_id=i)
|
x = self.adapters(x, layer_id=i)
|
||||||
|
|
||||||
if i >= min_layer:
|
if i >= min_layer:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user