from local

This commit is contained in:
dohe0342 2023-05-18 17:11:25 +09:00
parent 016876a900
commit 5042500454
2 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class TransformerEncoderAdapter(TransformerEncoder):
self.lora = LoRAModule()
def forward(self, x, padding_mask=None, layer=None, tgt_layer=None):
x, layer_results = self.extract_features_with_adapter(
x, layer_results = self.extract_features_with_lora(
x,
padding_mask=padding_mask,
tgt_layer=tgt_layer