kevindiependaele commited on
Commit
b5a53e1
·
1 Parent(s): fb68d8c

model id fix?

Browse files
Files changed (1) hide show
  1. app.py +5 -6
app.py CHANGED
@@ -39,15 +39,14 @@ final_answer = FinalAnswerTool()
39
  weather_api = WeatherApiTool()
40
 
41
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
42
- # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
43
- model_id = "https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud/models/Qwen/Qwen2.5-Coder-32B-Instruct"
44
  # model_id='Qwen/Qwen2.5-Coder-32B-Instruct' # it is possible that this model may be overloaded
45
 
46
  model = HfApiModel(
47
- max_tokens=2096,
48
- temperature=0.5,
49
- model_id=model_id,
50
- custom_role_conversions=None,
51
  )
52
 
53
 
 
39
  weather_api = WeatherApiTool()
40
 
41
  # If the agent does not answer, the model is overloaded, please use another model or the following Hugging Face Endpoint that also contains qwen2.5 coder:
42
+ model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
 
43
  # model_id='Qwen/Qwen2.5-Coder-32B-Instruct' # it is possible that this model may be overloaded
44
 
45
  model = HfApiModel(
46
+ max_tokens=2096,
47
+ temperature=0.5,
48
+ model_id=model_id,
49
+ custom_role_conversions=None,
50
  )
51
 
52