Skip to content

Commit

Permalink
fix order
Browse files Browse the repository at this point in the history
  • Loading branch information
BishopLiu committed Sep 13, 2023
1 parent 165b72c commit 11394e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions recbole/model/sequential_recommender/bert4rec.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ def forward(self, item_seq):
input_emb, extended_attention_mask, output_all_encoded_layers=True
)
ffn_output = self.output_ffn(trm_output[-1])
ffn_output = self.output_ln(ffn_output)
output = self.output_gelu(ffn_output)
ffn_output = self.output_gelu(ffn_output)
output = self.output_ln(ffn_output)
return output # [B L H]

def multi_hot_embed(self, masked_index, max_length):
Expand Down

0 comments on commit 11394e9

Please sign in to comment.