Closed luquitared closed 1 year ago
Can confirm that I am using transformers==4.28.1
Can you try uninstalling and re-installing transformers
again the error indicates not finding the GPTBigCode architecture.
Since it's an issue with loading the model, to debug you can try running this and make sure the model loads
from transformers import AutoModelForCausalLM
model = AutoModelForCausalLM.from_pretrained(YOUR_PATH)
Did you fix the issue?
closing as issue is inactive
Hi. Thank you for your hard work!
I am trying to run bigcode/starcoder model on a server. I downloaded the huggingface repo with git and transferred the folder to the server.
To be extra sure I wasn't passing the path wrong, I modified main.py:
Once I run
python main.py
I get:Any idea on how to fix this issue? Had trouble authenticating my huggingface that is why I am trying to load a local model.