Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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="
|
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 |
|