Spaces:
Sleeping
Sleeping
model to deepseek
Browse filesCommented out default added, deepseek according to smolagents doc
app.py
CHANGED
|
@@ -60,11 +60,16 @@ final_answer = FinalAnswerTool()
|
|
| 60 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
| 61 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 62 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 63 |
model = HfApiModel(
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 67 |
-
custom_role_conversions=None,
|
| 68 |
)
|
| 69 |
|
| 70 |
|
|
|
|
| 60 |
# If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
|
| 61 |
# model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
|
| 62 |
|
| 63 |
+
# model = HfApiModel(
|
| 64 |
+
# max_tokens=2096,
|
| 65 |
+
# temperature=0.5,
|
| 66 |
+
# model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
|
| 67 |
+
# custom_role_conversions=None,
|
| 68 |
+
# )
|
| 69 |
+
|
| 70 |
model = HfApiModel(
|
| 71 |
+
model_id="deepseek-ai/DeepSeek-R1",
|
| 72 |
+
provider="together",
|
|
|
|
|
|
|
| 73 |
)
|
| 74 |
|
| 75 |
|