fix: fixed typo
Browse files- modeling_lora.py +1 -1
modeling_lora.py
CHANGED
@@ -101,7 +101,7 @@ class BertLoRA(BertPreTrainedModel):
|
|
101 |
return self.bert(*args, **kwargs)
|
102 |
|
103 |
def parameters(self, recurse: bool = True) -> Iterator[Parameter]:
|
104 |
-
for _
|
105 |
yield param
|
106 |
|
107 |
def named_parameters(
|
|
|
101 |
return self.bert(*args, **kwargs)
|
102 |
|
103 |
def parameters(self, recurse: bool = True) -> Iterator[Parameter]:
|
104 |
+
for _, param in self.named_parameters(recurse=recurse):
|
105 |
yield param
|
106 |
|
107 |
def named_parameters(
|