zachlopez commited on
Commit
2c3fe50
1 Parent(s): 6784a78

Changed parameters

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -748,7 +748,7 @@ discrim_weights=None
748
  discrim_meta=None
749
  class_label=0
750
  length=100
751
- stepsize=0.32
752
  temperature=1.0
753
  top_k=2
754
  sample=True
@@ -813,7 +813,7 @@ for param in model.parameters():
813
 
814
  eot_token = "<|endoftext|>"
815
 
816
- def get_reply(response, username = None, histories = {}, in_stepsize = 0.32, in_horizon_length = 1, in_num_iterations = 10, in_top_k = 2):
817
  if username == None or username == "": return "<div class='chatbot'>Enter a username</div>", histories
818
  stepsize = in_stepsize
819
  horizon_length = int(in_horizon_length)
 
748
  discrim_meta=None
749
  class_label=0
750
  length=100
751
+ stepsize=0.99
752
  temperature=1.0
753
  top_k=2
754
  sample=True
 
813
 
814
  eot_token = "<|endoftext|>"
815
 
816
+ def get_reply(response, username = None, histories = {}, in_stepsize = 0.99, in_horizon_length = 1, in_num_iterations = 10, in_top_k = 2):
817
  if username == None or username == "": return "<div class='chatbot'>Enter a username</div>", histories
818
  stepsize = in_stepsize
819
  horizon_length = int(in_horizon_length)