Spaces:
Sleeping
Sleeping
using qwen 2.5 3b
Browse files
app.py
CHANGED
@@ -35,14 +35,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
|
|
35 |
|
36 |
|
37 |
final_answer = FinalAnswerTool()
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
# )
|
45 |
-
model = InferenceClient("https://jc26mwg228mkj8dw.us-east-1.aws.endpoints.huggingface.cloud/")
|
46 |
|
47 |
|
48 |
# Import tool from Hub
|
|
|
35 |
|
36 |
|
37 |
final_answer = FinalAnswerTool()
|
38 |
+
model = HfApiModel(
|
39 |
+
max_tokens=2096,
|
40 |
+
temperature=0.5,
|
41 |
+
model_id='Qwen/Qwen2.5-3B-Instruct',
|
42 |
+
custom_role_conversions=None,
|
43 |
+
)
|
|
|
|
|
44 |
|
45 |
|
46 |
# Import tool from Hub
|