Getting: HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/tiiuae/falcon-7b/resolve/main/configuration_RW.py
#86
by
f5-lolabhattu
- opened
Getting HTTPError: 404 Client Error: Not Found for url: https://huggingface.co/tiiuae/falcon-7b/resolve/main/configuration_RW.py error when I try to load model from huggingface.
model = AutoModelForCausalLM.from_pretrained(
model_name,
quantization_config=bnb_config,
trust_remote_code=True
)
Please help me resolve this. This code was working before, It think something change in the falcon-7b repo. Please correct me.
Thank you
You have to use FalconForCausalLM after latest changes I think.