codys12 commited on
Commit
7fb7eb7
1 Parent(s): 958acd2

better reps

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -64,7 +64,7 @@ def generate(
64
  #top_k=top_k,
65
  #temperature=temperature,
66
  #num_beams=1,
67
- repetition_penalty=0.01,#repetition_penalty,
68
  )
69
  t = Thread(target=model.generate, kwargs=generate_kwargs)
70
  t.start()
 
64
  #top_k=top_k,
65
  #temperature=temperature,
66
  #num_beams=1,
67
+ repetition_penalty=0.8,#repetition_penalty,
68
  )
69
  t = Thread(target=model.generate, kwargs=generate_kwargs)
70
  t.start()