-
Notifications
You must be signed in to change notification settings - Fork 30
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
Disable validation/test stages in ESM-2 and Geneformer #492
Conversation
/build-ci |
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.
Can you also add a test to lock in this support?
Will do. Just disabled auto-merge. |
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.
Would you add this support to infer/fintetune datamodule here as well?
b4a7b5f
to
a61d0b5
Compare
/build-ci |
Done! |
sub-packages/bionemo-geneformer/tests/bionemo/geneformer/scripts/test_train_geneformer.py
Show resolved
Hide resolved
0eeb34b
to
2f89e94
Compare
/build-ci |
ddc9672
to
8b50d57
Compare
/build-ci |
8b50d57
to
386ad33
Compare
/build-ci |
/build-ci |
Summary
Allow
--limit-val-batches=0.
to disable validation. Same applies for testing in geneformer.Details
Previously validation dataset cannot be created when
limit_val_batches = 0.
. Now this is caught and the validation dataset is set toNone
. Same applies to test dataset.Tests
Implemented in
sub-packages/bionemo-geneformer/tests/bionemo/esm2/scripts/test_train_esm2.py::test_val_dataloader_in_main_runs_with_limit_val_batches
and that in geneformer.Out of scope