Skip to content

Commit

Permalink
Update BERT.py
Browse files Browse the repository at this point in the history
  • Loading branch information
RuifengYuan authored Mar 25, 2023
1 parent 419b654 commit 1185af1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions model/BERT.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,11 +377,11 @@ def forward(self, x, mask_cls):
return sent_scores


class ExtSummarizer(nn.Module):
class ExtSummarizer_F(nn.Module):

def __init__(self):

super(ExtSummarizer, self).__init__()
super(ExtSummarizer_F, self).__init__()

self.bert = BertModel.from_pretrained('bert-base-uncased')

Expand Down

0 comments on commit 1185af1

Please sign in to comment.