Refer the model on HuggingFace

#26
by vidhiparikh - opened

I've been trying to include the model in my app.py file on HuggingFace. However, I keep facing the model not found value error. Attaching the snippet below.

File "/home/user/app/app.py", line 142, in
conversation_chain = create_conversational_chain(vector_database)
File "/home/user/app/app.py", line 89, in create_conversational_chain
model = AutoModelForCausalLM.from_pretrained(model_path)
File "/home/user/.local/lib/python3.10/site-packages/ctransformers/hub.py", line 151, in from_pretrained
config = config or AutoConfig.from_pretrained(
File "/home/user/.local/lib/python3.10/site-packages/ctransformers/hub.py", line 40, in from_pretrained
raise ValueError(f"Model path '{model_path_or_repo_id}' doesn't exist.")
ValueError: Model path 'https://huggingface.co/TheBloke/Llama-2-7B-Chat-GGUF/blob/main/llama-2-7b-chat.Q8_0.gguf' doesn't exist.

Sign up or log in to comment