Closed JavierCastellD closed 2 weeks ago
Hi @JavierCastellD,
Is the peft
library also installed in your environment? The loading only works if both peft
and transformers
library is installed.
Alternatively, you can also load using llm2vec library, as documented here.
Let me know if you have any further questions.
Hi.
Both libraries were installed. Apparently the problem was that I did not properly set the huggingface access token permissions.
So now it is correctly working.
Thanks!
Hello,
I have followed the steps to install LLM2Vec from the GitHub repository and I'm trying to run the example code found on HuggingFace: https://huggingface.co/McGill-NLP/LLM2Vec-Mistral-7B-Instruct-v2-mntp.
However, when I execute it, I get the following error when loading the AutoModel.from_pretrained(...):
The supposedly missing files are in https://huggingface.co/mistralai/Mistral-7B-Instruct-v0.2/tree/main so I am not entirely sure why I am getting that error or how could I solve it.