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