claudi47 commited on
Commit
39ea654
·
1 Parent(s): 1ccc559

changed model with provider

Browse files
Files changed (1) hide show
  1. app.py +3 -5
app.py CHANGED
@@ -106,12 +106,10 @@ class BasicAgent:
106
 
107
  model = InferenceClientModel(
108
  model_id=(
109
- "Qwen/Qwen2.5-72B-Instruct"
110
  ),
 
111
  token=os.getenv("HF_TOKEN"),
112
- # If you have HF PRO, try a faster
113
- # provider like "novita" or "hyperbolic"
114
- # provider="novita",
115
  )
116
 
117
  self.file_tool = GaiaFileFetcherTool(
@@ -128,7 +126,7 @@ class BasicAgent:
128
  VisitWebpageTool(),
129
  self.file_tool,
130
  ],
131
- max_steps=15,
132
  verbosity_level=0,
133
  additional_authorized_imports=[
134
  "json",
 
106
 
107
  model = InferenceClientModel(
108
  model_id=(
109
+ "Qwen/Qwen2.5-Coder-32B-Instruct"
110
  ),
111
+ provider="novita",
112
  token=os.getenv("HF_TOKEN"),
 
 
 
113
  )
114
 
115
  self.file_tool = GaiaFileFetcherTool(
 
126
  VisitWebpageTool(),
127
  self.file_tool,
128
  ],
129
+ max_steps=10,
130
  verbosity_level=0,
131
  additional_authorized_imports=[
132
  "json",