Skip to content

Commit 5a8b154

Browse files
committed
updates
1 parent c62bb11 commit 5a8b154

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/MMLLM/庖丁解牛BLIP2.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,7 @@ class BertLMHeadModel(BertPreTrainedModel):
613613
reduction="mean",
614614
):
615615
...
616+
# 调用 BertModel 进行文本编码 (结合缓存的attention key&value)
616617
outputs = self.bert(
617618
input_ids,
618619
attention_mask=attention_mask,

0 commit comments

Comments
 (0)