ldhldh commited on
Commit
dfb45b9
Β·
1 Parent(s): b503737

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,9 +48,9 @@ def chat(x):
48
  x,# str representing input in 'User input' Textbox component
49
  0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
50
  50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
51
- 0.8, # float, representing input in 'Temperature' Slider component
52
  25, # int, representing input in 'Max New Tokens' Slider component
53
- 1.05, # float, representing input in 'repetition_penalty' Slider component
54
  fn_index=0
55
  )
56
  output = result[len(x)-3:]
 
48
  x,# str representing input in 'User input' Textbox component
49
  0.91, # float, representing input in 'Top-p (nucleus sampling)' Slider component
50
  50, # int, representing input in 'Top-k (nucleus sampling)' Slider component
51
+ 0.7, # float, representing input in 'Temperature' Slider component
52
  25, # int, representing input in 'Max New Tokens' Slider component
53
+ 1.1, # float, representing input in 'repetition_penalty' Slider component
54
  fn_index=0
55
  )
56
  output = result[len(x)-3:]