Chan-Y commited on
Commit
f6a07f3
1 Parent(s): a6ce7fc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -15,7 +15,9 @@ llm = HuggingFaceEndpoint(
15
  repo_id="mistralai/Mistral-7B-Instruct-v0.3",
16
  task="text-generation",
17
  max_new_tokens=4096,
 
18
  do_sample=False,
 
19
  )
20
  llm_engine_hf = ChatHuggingFace(llm=llm)
21
 
 
15
  repo_id="mistralai/Mistral-7B-Instruct-v0.3",
16
  task="text-generation",
17
  max_new_tokens=4096,
18
+ temperature=0.5,
19
  do_sample=False,
20
+ task="summary_text"
21
  )
22
  llm_engine_hf = ChatHuggingFace(llm=llm)
23