Spaces:
Sleeping
Sleeping
Update app.py
Browse filesChanged from Qwen, potentially overloaded to llama
app.py
CHANGED
|
@@ -103,12 +103,15 @@ search_tool = DuckDuckGoSearchTool()
|
|
| 103 |
model = HfApiModel(
|
| 104 |
max_tokens=2096,
|
| 105 |
temperature=0.5,
|
| 106 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
|
|
|
| 107 |
custom_role_conversions=None,
|
| 108 |
)
|
| 109 |
|
| 110 |
model = InferenceClientModel(model_id="Qwen/Qwen2.5-72B-Instruct")
|
| 111 |
|
|
|
|
|
|
|
| 112 |
|
| 113 |
# Import tool from Hub
|
| 114 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|
|
|
|
| 103 |
model = HfApiModel(
|
| 104 |
max_tokens=2096,
|
| 105 |
temperature=0.5,
|
| 106 |
+
#model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 107 |
+
model_id="meta-llama/Llama-3.3-70B-Instruct",
|
| 108 |
custom_role_conversions=None,
|
| 109 |
)
|
| 110 |
|
| 111 |
model = InferenceClientModel(model_id="Qwen/Qwen2.5-72B-Instruct")
|
| 112 |
|
| 113 |
+
model = InferenceClientModel(model_id="meta-llama/Llama-3.3-70B-Instruct")
|
| 114 |
+
|
| 115 |
|
| 116 |
# Import tool from Hub
|
| 117 |
image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_code=True)
|