diff --git "a/code/7.3 LoRA\345\237\272\347\241\200.py" "b/code/7.3 LoRA\345\237\272\347\241\200.py" index f76c2a6..63fcbbe 100644 --- "a/code/7.3 LoRA\345\237\272\347\241\200.py" +++ "b/code/7.3 LoRA\345\237\272\347\241\200.py" @@ -27,4 +27,5 @@ def forward(self, input): lora_output = self.B(self.A(self.dropout(input))) # 将标准线性输出与缩放后的LoRA输出相加,得到最终输出 - return linear_output + lora_output \ No newline at end of file + return linear_output + lora_output + # \ No newline at end of file