howard-hou commited on
Commit
43e9368
1 Parent(s): b9bf03b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -41,8 +41,8 @@ def generate(
41
  token_count=200,
42
  temperature=0.2,
43
  top_p=0.3,
44
- presencePenalty = 0.1,
45
- countPenalty = 0.1,
46
  ):
47
  args = PIPELINE_ARGS(temperature = max(0.2, float(temperature)), top_p = float(top_p),
48
  alpha_frequency = countPenalty,
 
41
  token_count=200,
42
  temperature=0.2,
43
  top_p=0.3,
44
+ presencePenalty = 0.0,
45
+ countPenalty = 1.0,
46
  ):
47
  args = PIPELINE_ARGS(temperature = max(0.2, float(temperature)), top_p = float(top_p),
48
  alpha_frequency = countPenalty,