Spaces:
Sleeping
Sleeping
max-kwon Claude Opus 5.5 (1M context) commited on
Commit ·
a145672
1
Parent(s): f66b95d
Format app.py imports and model config
Browse filesCo-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
app.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from smolagents import CodeAgent,DuckDuckGoSearchTool, HfApiModel,load_tool,tool
|
| 2 |
import datetime
|
| 3 |
import requests
|
| 4 |
import pytz
|
|
@@ -39,10 +39,10 @@ final_answer = FinalAnswerTool()
|
|
| 39 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 40 |
|
| 41 |
model = HfApiModel(
|
| 42 |
-
max_tokens=2096,
|
| 43 |
-
temperature=0.5,
|
| 44 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 45 |
-
custom_role_conversions=None,
|
| 46 |
)
|
| 47 |
|
| 48 |
|
|
|
|
| 1 |
+
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool, tool
|
| 2 |
import datetime
|
| 3 |
import requests
|
| 4 |
import pytz
|
|
|
|
| 39 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 40 |
|
| 41 |
model = HfApiModel(
|
| 42 |
+
max_tokens=2096,
|
| 43 |
+
temperature=0.5,
|
| 44 |
+
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 45 |
+
custom_role_conversions=None,
|
| 46 |
)
|
| 47 |
|
| 48 |
|