ankush13r commited on
Commit
9ac6155
·
verified ·
1 Parent(s): c6111b7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -79,8 +79,9 @@ Only produce the summary after fully reading and understanding the input text.
79
  "stream": False,
80
  "max_tokens": 1000,
81
  "temperature": 0.2,
82
- #"frequency_penalty": 0.2,
83
- "extra_body": {"repetition_penalty": 1.1},
 
84
  }
85
 
86
  return client.chat.completions.create(**request_params)
 
79
  "stream": False,
80
  "max_tokens": 1000,
81
  "temperature": 0.2,
82
+ "presence_penalty": 0.2
83
+ "frequency_penalty": 0.2,
84
+ "extra_body": {"repetition_penalty": 0.7},
85
  }
86
 
87
  return client.chat.completions.create(**request_params)