-
Notifications
You must be signed in to change notification settings - Fork 33
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
ESM-2 to NeMo checkpoint conversion #537
ESM-2 to NeMo checkpoint conversion #537
Conversation
046a747
to
bd8668a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So neat. Learned something here.
sub-packages/bionemo-esm2/tests/bionemo/esm2/model/test_convert.py
Outdated
Show resolved
Hide resolved
bd8668a
to
de854e7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Can we close #180 once this merges?
f92ec72
to
1e42a13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
sub-packages/bionemo-esm2/tests/bionemo/esm2/model/test_convert.py
Outdated
Show resolved
Hide resolved
sub-packages/bionemo-esm2/tests/bionemo/esm2/model/test_convert.py
Outdated
Show resolved
Hide resolved
1e42a13
to
4407b39
Compare
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
4407b39
to
cc62c2b
Compare
Signed-off-by: Peter St. John <[email protected]>
Signed-off-by: Peter St. John <[email protected]>
sub-packages/bionemo-testing/src/bionemo/testing/megatron_parallel_state_utils.py
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #537 +/- ##
==========================================
+ Coverage 86.63% 86.78% +0.14%
==========================================
Files 116 118 +2
Lines 6966 7044 +78
==========================================
+ Hits 6035 6113 +78
Misses 931 931 ☔ View full report in Codecov by Sentry. |
Adds a conversion script to convert from huggingface to ESM-2 checkpoints