ankush13r commited on
Commit
38ba18a
·
verified ·
1 Parent(s): 83793ce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -70,7 +70,7 @@ def completion(history, model, system_prompt: str, tools=None):
70
  "max_tokens": 1000,
71
  "temperature": 0.2,
72
  #"frequency_penalty": 1.0,
73
- "extra_body": {"repetition_penalty": 0.8},
74
  }
75
  if tools:
76
  request_params.update({"tool_choice": "auto", "tools": tools})
 
70
  "max_tokens": 1000,
71
  "temperature": 0.2,
72
  #"frequency_penalty": 1.0,
73
+ "extra_body": {"repetition_penalty": 1.1},
74
  }
75
  if tools:
76
  request_params.update({"tool_choice": "auto", "tools": tools})