AmineLemsih commited on
Commit
54f2aef
·
verified ·
1 Parent(s): 0653303

Changement de modèle

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -67,10 +67,9 @@ final_answer = FinalAnswerTool()
67
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
68
 
69
  model = HfApiModel(
70
- max_tokens=2096,
71
- temperature=0.5,
72
- model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
73
- custom_role_conversions=None,
74
  )
75
 
76
 
 
67
  # model_id='https://pflgm2locj2t89co.us-east-1.aws.endpoints.huggingface.cloud'
68
 
69
  model = HfApiModel(
70
+ model_id="HuggingFaceH4/zephyr-7b-beta", # ou mistralai/Mixtral-8x7B-Instruct-v0.1
71
+ temperature=0.5,
72
+ max_tokens=2048
 
73
  )
74
 
75