simonpc commited on
Commit
aa5a9d0
·
verified ·
1 Parent(s): c226fb8

using qwen 2.5 3b

Browse files
Files changed (1) hide show
  1. app.py +6 -8
app.py CHANGED
@@ -35,14 +35,12 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
 
36
 
37
  final_answer = FinalAnswerTool()
38
- # model = HfApiModel(
39
- # max_tokens=2096,
40
- # temperature=0.5,
41
- # #model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
42
- # model_id='meta-llama/Llama-3.2-3B-Instruct',
43
- # custom_role_conversions=None,
44
- # )
45
- model = InferenceClient("https://jc26mwg228mkj8dw.us-east-1.aws.endpoints.huggingface.cloud/")
46
 
47
 
48
  # Import tool from Hub
 
35
 
36
 
37
  final_answer = FinalAnswerTool()
38
+ model = HfApiModel(
39
+ max_tokens=2096,
40
+ temperature=0.5,
41
+ model_id='Qwen/Qwen2.5-3B-Instruct',
42
+ custom_role_conversions=None,
43
+ )
 
 
44
 
45
 
46
  # Import tool from Hub