from local
This commit is contained in:
parent
a1ef4531b3
commit
6234335768
Binary file not shown.
@ -159,7 +159,9 @@ class ResidualAdapterModule(nn.Module):
|
||||
residual = x
|
||||
print(residual.size())
|
||||
x = self.adapter_layers[layer_id](x)
|
||||
print(x.size())
|
||||
x = residual + x
|
||||
print(x.size())
|
||||
x = x.transpose(0, 1)
|
||||
return x
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user