thedamn commited on
Commit
0dbd0a0
·
1 Parent(s): 64a3da7

bye32222 commit

Browse files
Files changed (1) hide show
  1. resource.py +4 -4
resource.py CHANGED
@@ -33,10 +33,10 @@ def langu():
33
  prompt = PromptTemplate(template=template, input_variables=["question"])
34
 
35
  hf_hub_download(repo_id="dnato/ggml-gpt4all-j-v1.3-groovy.bin", filename="ggml-gpt4all-j-v1.3-groovy.bin", local_dir="/tmp")
36
- local_path= "/tmp/ggml-gpt4all-j-v1.3-groovy.bin"
37
- llm = GPT4All(model=local_path,callbacks=[StreamingStdOutCallbackHandler()] )
38
- llm_chain = LLMChain(prompt=prompt, llm=llm)
39
- return llm_chain
40
 
41
 
42
 
 
33
  prompt = PromptTemplate(template=template, input_variables=["question"])
34
 
35
  hf_hub_download(repo_id="dnato/ggml-gpt4all-j-v1.3-groovy.bin", filename="ggml-gpt4all-j-v1.3-groovy.bin", local_dir="/tmp")
36
+ #local_path= "/tmp/ggml-gpt4all-j-v1.3-groovy.bin"
37
+ #llm = GPT4All(model=local_path,callbacks=[StreamingStdOutCallbackHandler()] )
38
+ #llm_chain = LLMChain(prompt=prompt, llm=llm)
39
+ return 0
40
 
41
 
42