bio_embeddings icon indicating copy to clipboard operation
bio_embeddings copied to clipboard

Add support for ESM-2 and ESMFold

Open fedorn opened this issue 2 years ago • 3 comments

fedorn avatar Nov 11 '22 15:11 fedorn

I wonder how to use the bio_embeddings.embed.ESM1bEmbedder() if I just want to get the trained animo acid vectors?

yxnyu avatar Dec 09 '22 06:12 yxnyu

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.

yxnyu avatar Dec 09 '22 15:12 yxnyu

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.

9las avatar Jun 06 '23 13:06 9las