from local

This commit is contained in:
dohe0342 2023-01-03 16:55:17 +09:00
parent 519fd887de
commit 0a3eb2838d
2 changed files with 2 additions and 0 deletions

View File

@ -144,6 +144,8 @@ class ResidualAdapterModule(nn.Module):
) -> None:
super().__init__()
self.type = 'linear'
def build_adapter(embedding_dim, proj_dim, type_='linear'):
if type_ == 'conv':