Closed csjackson0 closed 9 months ago
Thank you @csjackson0!
It would be more practical for us down to the line to perform contact prediction in a python script vs in a notebook, so that we can more easily kick off a full evaluation routine (including fitness prediction and design) for each model variant we will train. Would it be possible to adjust the PR accordingly?
Regarding testing, perhaps we could have a test unit that loads ESM2 and the same datasets as in the notebook and confirm we match the same results?
Sounds good! I will adjust the PR to perform contact prediction in a python script.
I will also add the test unit you suggested.
@pascalnotin The PR is adjusted so that contact prediction is performed in a python script.
For testing, I ran the ESM2 notebook using the provided .a3m files and confirmed we match the same results.
Adding two contact prediction methods to evaluation framework per issue #19
Both methods are implemented in contact_prediction.ipynb file under evalutation/scripts. Integrated functions from the esm contact_prediction.ipynb https://github.com/facebookresearch/esm/blob/main/examples/contact_prediction.ipynb