ankush13r commited on
Commit
98b4357
·
verified ·
1 Parent(s): 84e8a66

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -79,7 +79,7 @@ def completion(history, model, system_prompt: str, tools=None):
79
  "max_tokens": 1000,
80
  "temperature": 0.2,
81
  #"frequency_penalty": 1,
82
- "extra_body": {"repetition_penalty": 0.8},
83
  }
84
  if tools:
85
  request_params.update({"tool_choice": "auto", "tools": tools})
 
79
  "max_tokens": 1000,
80
  "temperature": 0.2,
81
  #"frequency_penalty": 1,
82
+ "extra_body": {"repetition_penalty": 1.2},
83
  }
84
  if tools:
85
  request_params.update({"tool_choice": "auto", "tools": tools})