thedamn commited on
Commit
cdd9fd1
·
1 Parent(s): 5d56519
Files changed (1) hide show
  1. resource.py +2 -2
resource.py CHANGED
@@ -27,8 +27,8 @@ Answer:"""
27
 
28
  prompt = PromptTemplate(template=template, input_variables=["report"])
29
 
30
- hf_hub_download(repo_id="dnato/ggml-gpt4all-j-v1.3-groovy.bin", filename="ggml-gpt4all-j-v1.3-groovy.bin", local_dir="/tmp")
31
- local_path="/tmp" + "/ggml-gpt4all-j-v1.3-groovy.bin"
32
  llm = GPT4All(model=local_path,callbacks=[StreamingStdOutCallbackHandler()] )
33
  llm_chain = LLMChain(prompt=prompt, llm=llm)
34
 
 
27
 
28
  prompt = PromptTemplate(template=template, input_variables=["report"])
29
 
30
+ hf_hub_download(repo_id="dnato/ggml-gpt4all-j-v1.3-groovy.bin", filename="ggml-gpt4all-j-v1.3-groovy.bin", local_dir="/code")
31
+ local_path="/code" + "/ggml-gpt4all-j-v1.3-groovy.bin"
32
  llm = GPT4All(model=local_path,callbacks=[StreamingStdOutCallbackHandler()] )
33
  llm_chain = LLMChain(prompt=prompt, llm=llm)
34