Docfile commited on
Commit
60988f0
Β·
1 Parent(s): c042da4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -22,12 +22,12 @@ documents = SimpleDirectoryReader('data').load_data()
22
  model_kwargs = {'device': 'cpu'}
23
  encode_kwargs = {'normalize_embeddings': True}
24
  embed_model = HuggingFaceInstructEmbeddings(
25
- model_name="hkunlp/instructor-xl", model_kwargs=model_kwargs,
26
  encode_kwargs=encode_kwargs
27
  )
28
  llm= LLM = G4FLLM(
29
  model=models.gpt_35_turbo,
30
- provider=Provider.Aichat,
31
  )
32
 
33
  llm = LangChainLLM(llm=llm)
 
22
  model_kwargs = {'device': 'cpu'}
23
  encode_kwargs = {'normalize_embeddings': True}
24
  embed_model = HuggingFaceInstructEmbeddings(
25
+ model_name="hkunlp/instructor-large", model_kwargs=model_kwargs,
26
  encode_kwargs=encode_kwargs
27
  )
28
  llm= LLM = G4FLLM(
29
  model=models.gpt_35_turbo,
30
+ provider=Provider.ChatForAi,
31
  )
32
 
33
  llm = LangChainLLM(llm=llm)