Skip to content

Commit

Permalink
BUG: Fix reference to undefined att_mask -> mask
Browse files Browse the repository at this point in the history
  • Loading branch information
scottclowe committed Feb 9, 2025
1 parent b684071 commit cb6a88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion baselines/finetuning.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def forward(self, sequences=None, mask=None, labels=None):
out = self.base_model(sequences, attention_mask=mask)[0]

elif self.backbone == "BarcodeBERT":
out = self.base_model(sequences, att_mask).hidden_states[-1]
out = self.base_model(sequences, mask).hidden_states[-1]

# if backbone != "BarcodeBERT":
# print(out.shape)
Expand Down

0 comments on commit cb6a88a

Please sign in to comment.