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
What model is needed for regression_data in esm.pretrained.load_model_and_alphabet_local? #103
Comments
The 0.3.1 version uses the try except statement, so there is no regression-related model in the load and no error will be reported, but I still want to know what this regression does? |
Yes you need a second file to load the regression weights, aka weights of the ContactPredictionHead. |
Ah yes - we should update that table with link to both model weights and regression. |
@xmhh is your problem solved? |
Sry for bothering,but I can‘t run your esm-1v code for losing contact-regression.pt. I try to download from pretrained:load_regression_hub(), but failed again.However, I can download esm-1b.Did you forget to upload or ...? |
@Mountain-White |
thx ,the problem is solved. |
Bug description
Use esm.pretrained.load_model_and_alphabet_local(
'esm1_t12_85M_UR50S.pt'), i need to load esm1_t12_85M_UR50S-contact-regression.pt, but in fact this is not provided.
Logs
Additional context
If you want to load the local esm model, besides the esm1_t12_85M_UR50S.pt you provided, do you need any regression model? What is the meaning of regression_data in your code esm.pretrained.load_model_and_alphabet_local
.
The text was updated successfully, but these errors were encountered: