bio_embeddings
bio_embeddings copied to clipboard
Add support for ESM-2 and ESMFold
I wonder how to use the bio_embeddings.embed.ESM1bEmbedder() if I just want to get the trained animo acid vectors?
I tired several times install it but when I am usting
from bio_embeddings.embed import ESM1bEmbedder
embedder = ESM1bEmbedder()
embedding = embedder.embed("SEQVENCE")
it will show unexpected EOF, expected 4802126 more bytes. The file might be corrupted.
You need to delete the file ~/.cache/bio_embeddings/esm1b/model_file and try again. You have to be patient, it takes a long time to run. If you cancel the job you will get the error the next time you try to run it, since the model_file has only been created partially.