Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -10,10 +10,13 @@ from typing import Optional
|
|
10 |
|
11 |
from my_tools import *
|
12 |
|
|
|
|
|
|
|
13 |
# If the agent does not answer, the model is overloaded, please use another model or the original Hugging Face Endpoint for contains qwen2.5 coder:
|
14 |
# 'Qwen/Qwen2.5-Coder-32B-Instruct'
|
15 |
model = HfApiModel(
|
16 |
-
max_tokens=
|
17 |
temperature=0.5,
|
18 |
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud', # Endpoint with 'Qwen/Qwen2.5-Coder-32B-Instruct'
|
19 |
custom_role_conversions=None,
|
|
|
10 |
|
11 |
from my_tools import *
|
12 |
|
13 |
+
# Free Distill-R1 Model:
|
14 |
+
# `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B`
|
15 |
+
|
16 |
# If the agent does not answer, the model is overloaded, please use another model or the original Hugging Face Endpoint for contains qwen2.5 coder:
|
17 |
# 'Qwen/Qwen2.5-Coder-32B-Instruct'
|
18 |
model = HfApiModel(
|
19 |
+
max_tokens=20000,
|
20 |
temperature=0.5,
|
21 |
model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud', # Endpoint with 'Qwen/Qwen2.5-Coder-32B-Instruct'
|
22 |
custom_role_conversions=None,
|