How to reset a corrupted model download?
ms337 opened this issue · 2 comments
ms337 commented
Tried to use the ESM1-b embedder. When init for the first time, ran out of space on disk. So the download was incomplete.
Now when I try to run the script again, the module tries to use the corrupted downloaded file:
Python Error: RuntimeError: unexpected EOF, expected 3194894 more bytes. The file might be corrupted.
Is there a force_download=True
argument? Or is there anyway to delete the downloaded model manually and reinit?
Thanks!
konstin commented
You can delete the esm1b folder in ~/.cache/bio_embeddings
, then it should do the download again
ms337 commented
Dont have a .cache
directory in my home directory