1 validation error for LlamaCpp __root__. Could not load Llama model from path: ./model/llama-7b.ggmlv3.q4_0.bin. Received error [WinError -1073741795] Windows Error 0xc000001d (type=value_error)

#3
by Gautam18k12 - opened

i am getting below error while loading the model. any help on this.
ValidationError Traceback (most recent call last)
Cell In[4], line 2
1 # initialize the LLM & Embeddings
----> 2 llm = LlamaCpp(model_path="C:/Users/Gautam/OneDrive/Desktop/ChatBot/LocalLLMQnA/model/llama-7b.ggmlv3.q4_0.bin")
3 #embeddings = LlamaCppEmbeddings(model_path="./model/llama-7b.ggmlv3.q4_0.bin")
4 #llm_chain = LLMChain(llm=llm, prompt=prompt)

File ~\anaconda3\envs\llm_llama\lib\site-packages\langchain\load\serializable.py:64, in Serializable.init(self, **kwargs)
63 def init(self, **kwargs: Any) -> None:
---> 64 super().init(**kwargs)
65 self._lc_kwargs = kwargs

File ~\anaconda3\envs\llm_llama\lib\site-packages\pydantic\main.py:341, in pydantic.main.BaseModel.init()

ValidationError: 1 validation error for LlamaCpp
root
Could not load Llama model from path: C:/Users/Gautam/OneDrive/Desktop/ChatBot/LocalLLMQnA/model/llama-7b.ggmlv3.q4_0.bin. Received error [WinError -1073741795] Windows Error 0xc000001d (type=value_error)

Sign up or log in to comment