codelion commited on
Commit
6d91895
1 Parent(s): c02d7fb

Update app.py

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