thedamn commited on
Commit
ea95047
·
1 Parent(s): d9fd2dd

gooeeeeeed222 commitw

Browse files
Files changed (1) hide show
  1. resource.py +1 -1
resource.py CHANGED
@@ -31,7 +31,7 @@ prompt = PromptTemplate(template=template, input_variables=["question"])
31
 
32
  hf_hub_download(repo_id="dnato/ggml-gpt4all-j-v1.3-groovy.bin", filename="ggml-gpt4all-j-v1.3-groovy.bin", local_dir="/tmp")
33
  local_path= os.getcwd() + "/ggml-gpt4all-j-v1.3-groovy.bin"
34
- llm = GPT4All(model="ggml-gpt4all-j-v1.3-groovy",model_path="/tmp",callbacks=[StreamingStdOutCallbackHandler()] )
35
  llm_chain = LLMChain(prompt=prompt, llm=llm)
36
 
37
 
 
31
 
32
  hf_hub_download(repo_id="dnato/ggml-gpt4all-j-v1.3-groovy.bin", filename="ggml-gpt4all-j-v1.3-groovy.bin", local_dir="/tmp")
33
  local_path= os.getcwd() + "/ggml-gpt4all-j-v1.3-groovy.bin"
34
+ llm = GPT4All(model="/tmp/ggml-gpt4all-j-v1.3-groovy.bin",callbacks=[StreamingStdOutCallbackHandler()] )
35
  llm_chain = LLMChain(prompt=prompt, llm=llm)
36
 
37