Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyaptamer/aptatrans/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ def _make_encoder(

encoder_module = nn.ModuleList([embedding, pos_encoding, encoder])

# pass the the encoder a padding mask to ignore zero-padded tokens
# pass the encoder a padding mask to ignore zero-padded tokens
encoder_module.forward = lambda x: encoder(
pos_encoding(embedding(x)),
src_key_padding_mask=(x == 0), # padding mask
Expand Down
2 changes: 1 addition & 1 deletion pyaptamer/aptatrans/_pipeline.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
AptaTrans' complete pipeline for for aptamer-protein interaction prediction and
AptaTrans' complete pipeline for aptamer-protein interaction prediction and
candidate aptamers recommendation.
"""

Expand Down