alisamak commited on
Commit
a6ebdf6
·
verified ·
1 Parent(s): 831550a

update model

Browse files
Files changed (1) hide show
  1. app.py +7 -1
app.py CHANGED
@@ -7,7 +7,13 @@ from tools import DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool
7
  from retriever import load_guest_dataset
8
 
9
  # Initialize the Hugging Face model
10
- model = HfApiModel()
 
 
 
 
 
 
11
 
12
  # Initialize the web search tool
13
  search_tool = DuckDuckGoSearchTool()
 
7
  from retriever import load_guest_dataset
8
 
9
  # Initialize the Hugging Face model
10
+ # model = HfApiModel()
11
+ model = HfApiModel(
12
+ max_tokens=2096,
13
+ temperature=0.5,
14
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
15
+ custom_role_conversions=None,
16
+ )
17
 
18
  # Initialize the web search tool
19
  search_tool = DuckDuckGoSearchTool()