instadeepai / instadeepai/protein-sequence-bfn

How to control the protein length

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
53
Forks
4
PR merge metrics
No merged PRs in 30d

Description

Hi,

Thanks for your excellent work. I have a question about how to control the protein length. As stated in the paper, "Each sequence is represented by its amino acids followed by an end-of-sequence (EOS) token. All other tokens after EOS are PAD tokens, which are treated as normal tokens for the purposes of noisy observations, predictions and loss."

Does this mean that during the training process, you padded all sequences to the same length, such as 256 for antibodies? Additionally, do you need the model to learn to generate EOS and PAD tokens, and ensure that during sampling, PAD tokens only appear after the EOS token in the sequences?

Best regards.

Contributor guide

No contributing guide indexed for this repository

Research direction

The issue does not name a file, test, or entry point. First read the repository's training and sampling documentation and compare it with the paper's description of EOS and PAD handling. Done means documenting whether sequences are padded, how EOS and PAD are trained, and how sampling enforces their order.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
bioinformatics, machine-learning
Issue type
Documentation
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.