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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -13,11 +13,10 @@ from langchain_huggingface import ChatHuggingFace, HuggingFaceEndpoint
13
 
14
  llm = HuggingFaceEndpoint(
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
 
 
13
 
14
  llm = HuggingFaceEndpoint(
15
  repo_id="mistralai/Mistral-7B-Instruct-v0.3",
16
+ task="summarization",
17
  max_new_tokens=4096,
18
  temperature=0.5,
19
  do_sample=False,
 
20
  )
21
  llm_engine_hf = ChatHuggingFace(llm=llm)
22