Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -467,7 +467,7 @@ from langchain_huggingface import HuggingFaceEndpoint
|
|
467 |
# Initialize the HuggingFaceEndpoint with the desired model and parameters
|
468 |
llm = HuggingFaceEndpoint(
|
469 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
470 |
-
task="
|
471 |
huggingfacehub_api_token=hf_token,
|
472 |
temperature=0.7,
|
473 |
max_new_tokens=1024
|
|
|
467 |
# Initialize the HuggingFaceEndpoint with the desired model and parameters
|
468 |
llm = HuggingFaceEndpoint(
|
469 |
repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
470 |
+
task="conversational",
|
471 |
huggingfacehub_api_token=hf_token,
|
472 |
temperature=0.7,
|
473 |
max_new_tokens=1024
|