facebookresearch / esm

Evolutionary Scale Modeling (esm): Pretrained language models for proteins
MIT License
3.26k stars 643 forks source link

Fix: move sequence truncation into BatchConverter #278

Closed Alexperiments closed 2 years ago

Alexperiments commented 2 years ago

Fixes Issue #157

As a side note: I've just noticed that the commit I made to sync my fork is listed in my PR. This is not intended, but I don't know how to remove it directly. If the PR gets approved I can eventually drop it while rebasing.

Alexperiments commented 2 years ago

Thank you @tomsercu for your feedback. Tell me if there is something else that I need to change.