Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -7,7 +7,7 @@ from langchain_huggingface import HuggingFaceEndpoint
|
|
7 |
# Initialize the LLM and other components
|
8 |
llm = HuggingFaceEndpoint(
|
9 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
10 |
-
task="text-
|
11 |
max_new_tokens=64,
|
12 |
temperature=0.5,
|
13 |
do_sample=False,
|
|
|
7 |
# Initialize the LLM and other components
|
8 |
llm = HuggingFaceEndpoint(
|
9 |
repo_id="mistralai/Mistral-7B-Instruct-v0.3",
|
10 |
+
task="text-classification",
|
11 |
max_new_tokens=64,
|
12 |
temperature=0.5,
|
13 |
do_sample=False,
|