Segizu commited on
Commit
b648216
·
1 Parent(s): 51592cd

primer commit

Browse files
Files changed (2) hide show
  1. agent.json +2 -2
  2. app.py +3 -3
agent.json CHANGED
@@ -8,10 +8,10 @@
8
  "class": "HfApiModel",
9
  "data": {
10
  "max_tokens": 2096,
11
- "temperature": 0.5,
12
  "last_input_token_count": null,
13
  "last_output_token_count": null,
14
- "model_id": "Qwen/Qwen2.5-Coder-7B-Instruct",
15
  "custom_role_conversions": null
16
  }
17
  },
 
8
  "class": "HfApiModel",
9
  "data": {
10
  "max_tokens": 2096,
11
+ "temperature": 0.1,
12
  "last_input_token_count": null,
13
  "last_output_token_count": null,
14
+ "model_id": "Qwen/Qwen2.5-Coder-32B-Instruct",
15
  "custom_role_conversions": null
16
  }
17
  },
app.py CHANGED
@@ -37,8 +37,8 @@ def get_current_time_in_timezone(timezone: str) -> str:
37
  final_answer = FinalAnswerTool()
38
  model = HfApiModel(
39
  max_tokens=2096,
40
- temperature=0.5,
41
- model_id='Qwen/Qwen2.5-Coder-7B-Instruct',
42
  custom_role_conversions=None,
43
  )
44
 
@@ -51,7 +51,7 @@ with open("prompts.yaml", 'r') as stream:
51
 
52
  agent = CodeAgent(
53
  model=model,
54
- tools=[final_answer], # add your tools here (don't remove final_answer)
55
  max_steps=6,
56
  verbosity_level=1,
57
  grammar=None,
 
37
  final_answer = FinalAnswerTool()
38
  model = HfApiModel(
39
  max_tokens=2096,
40
+ temperature=0.1,
41
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
42
  custom_role_conversions=None,
43
  )
44
 
 
51
 
52
  agent = CodeAgent(
53
  model=model,
54
+ tools=[final_answer, image_generation_tool], # add your tools here (don't remove final_answer)
55
  max_steps=6,
56
  verbosity_level=1,
57
  grammar=None,