Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ProtT5 model generate #147

Open
BSharmi opened this issue Mar 29, 2024 · 2 comments
Open

ProtT5 model generate #147

BSharmi opened this issue Mar 29, 2024 · 2 comments

Comments

@BSharmi
Copy link

BSharmi commented Mar 29, 2024

Hi there!

Was ProtT5 trained to predict just the masked position or the full sequence? When I use the
generate function with masked sequences I noticed the model returns full sequence. Is it the default behavior for a model trained on mlm task?

thank you very much

@mheinzinger
Copy link
Collaborator

Hi :)
yes, you are perfectly on spot: ProtT5 was trained on reconstructing the full sequence. Here is an example: #137 (comment)

@BSharmi
Copy link
Author

BSharmi commented Apr 5, 2024

Thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants