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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -78,8 +78,8 @@ def completion(history, model, system_prompt: str, tools=None):
78
  "stream": True,
79
  "max_tokens": 1000,
80
  "temperature": 0.2,
81
- "frequency_penalty": 1,
82
- "extra_body": {"repetition_penalty": 1.1},
83
  }
84
  if tools:
85
  request_params.update({"tool_choice": "auto", "tools": tools})
 
78
  "stream": True,
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})