tiantian-paris commited on
Commit
1de824b
·
1 Parent(s): 597ab6f
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -115,7 +115,7 @@ def provide_my_information(query: str) -> str:
115
  return "I'm sorry, I don't have information on that. Please ask about my name, location, occupation, education, skills, hobbies, or contact details."
116
 
117
 
118
- qcm_tool = QCMTool("info/questions.json")
119
  final_answer = FinalAnswerTool()
120
  visit_webpage = VisitWebpageTool()
121
  web_search = DuckDuckGoSearchTool()
@@ -124,11 +124,10 @@ web_search = DuckDuckGoSearchTool()
124
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
125
 
126
  model = HfApiModel(
127
- max_tokens=2096,
128
- temperature=0.5,
129
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
130
- #model_id='deepseek-ai/DeepSeek-R1',Qwen/Qwen2.5-14B-Instruct-1M
131
- custom_role_conversions=None,
132
  )
133
 
134
 
 
115
  return "I'm sorry, I don't have information on that. Please ask about my name, location, occupation, education, skills, hobbies, or contact details."
116
 
117
 
118
+ #qcm_tool = QCMTool("info/questions.json")
119
  final_answer = FinalAnswerTool()
120
  visit_webpage = VisitWebpageTool()
121
  web_search = DuckDuckGoSearchTool()
 
124
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
125
 
126
  model = HfApiModel(
127
+ max_tokens=2096,
128
+ temperature=0.5,
129
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct', # it is possible that this model may be overloaded
130
+ custom_role_conversions=None,
 
131
  )
132
 
133