Chan-Y commited on
Commit
1e5ee0a
1 Parent(s): 76f12fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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-generation",
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,