Closed scherbakovdmitri closed 9 months ago
Sorry, this is a same error as https://github.com/starmpcc/Asclepius/commit/927eb0c7bac75b801175b1164c750a320335b6d5
Please modify the below two lines:
from transformers import AutoTokenizer, AutoModel
to from transformers import AutoTokenizer, AutoModelForCausalLM
model = AutoModel.from_pretrained({DOWNLOADED_PATH})
to model = AutoModelForCausalLM.from_pretrained({DOWNLOADED_PATH})
.
We would update the instruction immediately.
Thank you!
Hello all, I have followed installation requirements outlines in the model page by setting up conda, python, and downloading model checkpoints. I get this error: