Skip to content

Commit

Permalink
Update s2d CrossEncoder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chungimungi authored Oct 16, 2023
1 parent 29b9c14 commit a6ee6e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion s2d CrossEncoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def __getitem__(self, index):

return torch.LongTensor(padded_input_seq), torch.LongTensor([label])

# Define your custom model architecture
# model architecture
class CustomCrossEncoder(nn.Module):
def __init__(self, vocab_size, embed_dim, hidden_dim, num_classes, dropout_prob=0.5):
super(CustomCrossEncoder, self).__init__()
Expand Down

0 comments on commit a6ee6e0

Please sign in to comment.