from local
This commit is contained in:
parent
3b08a49f2b
commit
a716ead748
Binary file not shown.
@ -98,7 +98,7 @@ class TransformerEncoderAdapter(TransformerEncoder):
|
||||
)
|
||||
print(x.size())
|
||||
print(i)
|
||||
x = self.adapters(x, layer_id=i)
|
||||
x = self.adapters.forward(x, layer_id=i)
|
||||
|
||||
if i >= min_layer:
|
||||
layer_results.append((x, z, lr))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user