ankush13r commited on
Commit
1a75e9d
·
verified ·
1 Parent(s): 09e26f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -71,7 +71,7 @@ def completion(history, model, system_prompt: str, tools=None):
71
  "temperature": 0.2,
72
  #"top_p": 0.3,
73
  #"frequency_penalty": 0.2,
74
- "extra_body": {"repetition_penalty": 1.2, "top_k": 15}, #"min_p": 0.4
75
  }
76
  if tools:
77
  request_params.update({"tool_choice": "auto", "tools": tools})
 
71
  "temperature": 0.2,
72
  #"top_p": 0.3,
73
  #"frequency_penalty": 0.2,
74
+ "extra_body": {"repetition_penalty": 1.1}, #"min_p": 0.4 , "top_k": 15
75
  }
76
  if tools:
77
  request_params.update({"tool_choice": "auto", "tools": tools})