from local
This commit is contained in:
parent
cbb1dd8025
commit
d18563ba6b
Binary file not shown.
@ -162,7 +162,6 @@ class ResidualAdapterModule(nn.Module):
|
||||
)
|
||||
|
||||
def forward(self, x, layer_id=-1):
|
||||
layer_id = 0
|
||||
x = x.transpose(0, 1)
|
||||
residual = x
|
||||
x = self.adapter_layers[layer_id](x)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user