from local
This commit is contained in:
parent
d18563ba6b
commit
63b77c600c
Binary file not shown.
@ -145,7 +145,7 @@ class ResidualAdapterModule(nn.Module):
|
|||||||
|
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
def build_adapter(embedding_dim, proj_dim, type_='conv'):
|
def build_adapter(embedding_dim, proj_dim, type_='linear'):
|
||||||
if type_ == 'conv':
|
if type_ == 'conv':
|
||||||
return ConvolutionModule(768, 31)
|
return ConvolutionModule(768, 31)
|
||||||
else:
|
else:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user