Spaces:
Running
Running
Samuel Thomas
commited on
Commit
·
27d6c77
1
Parent(s):
92fb29b
update bot
Browse files
app.py
CHANGED
|
@@ -27,7 +27,8 @@ llm = HuggingFaceEndpoint(
|
|
| 27 |
#repo_id="HuggingFaceH4/zephyr-7b-beta",
|
| 28 |
#repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 29 |
#repo_id="deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
|
| 30 |
-
repo_id="deepseek-ai/DeepSeek-Coder-V2-Instruct",
|
|
|
|
| 31 |
task="text-generation",
|
| 32 |
max_new_tokens=512,
|
| 33 |
do_sample=False,
|
|
@@ -87,7 +88,6 @@ def predict(message, history):
|
|
| 87 |
|
| 88 |
# setup agents
|
| 89 |
tools = [hub_stats_tool]
|
| 90 |
-
#tools = [guest_info_tool]
|
| 91 |
chat_with_tools = model.bind_tools(tools)
|
| 92 |
|
| 93 |
# Generate the AgentState and Agent graph
|
|
|
|
| 27 |
#repo_id="HuggingFaceH4/zephyr-7b-beta",
|
| 28 |
#repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
|
| 29 |
#repo_id="deepseek-ai/DeepSeek-Coder-V2-Lite-Instruct",
|
| 30 |
+
#repo_id="deepseek-ai/DeepSeek-Coder-V2-Instruct",
|
| 31 |
+
repo_id="migtissera/Trinity-2-Codestral-22B",
|
| 32 |
task="text-generation",
|
| 33 |
max_new_tokens=512,
|
| 34 |
do_sample=False,
|
|
|
|
| 88 |
|
| 89 |
# setup agents
|
| 90 |
tools = [hub_stats_tool]
|
|
|
|
| 91 |
chat_with_tools = model.bind_tools(tools)
|
| 92 |
|
| 93 |
# Generate the AgentState and Agent graph
|