facebookresearch / esm

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

Allow using load_model_and_alphabet_local with the cpu #10

Closed konstin closed 3 years ago

konstin commented 3 years ago

Analogous to load_model_and_alphabet_hub, this change allows using load_model_and_alphabet_local with the cpu

facebook-github-bot commented 3 years ago

Hi @konstin!

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file.

In order for us to review and merge your code, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!