evo-design / evo

Biological foundation modeling from molecular to genome scale
Apache License 2.0
874 stars 99 forks source link

Inquiry Regarding Local Model Usage and Importing Model Files #22

Closed yyly6 closed 4 months ago

yyly6 commented 4 months ago

Due to connectivity issues with my server, I am unable to directly access the HuggingFace. As a result, I encountered difficulties when attempting to import models using the standard methods, such as Evo('evo-1-131k-base'). Even when attempting to import models using a local path, I have not been successful.

Could you please provide guidance on how to successfully import them into a local environment?

Thank you very much for your attention to this matter. I am eager to receive your guidance and assistance.

Zymrael commented 4 months ago

Did you clone the HF model repo? I'd recommend posting this in the transformers library issue tracker.

Licko0909 commented 4 months ago

I also encountered the same issue; this can help you solve it.

HF_ENDPOINT=https://hf-mirror.com python your_script.py

image