Norod78 commited on
Commit
565eb8e
1 Parent(s): 6833f86

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -77,7 +77,7 @@ def generate(
77
  pad_token_id = tokenizer.eos_token_id,
78
  repetition_penalty=repetition_penalty,
79
  no_repeat_ngram_size=5,
80
- early_stopping=True,
81
  )
82
  t = Thread(target=model.generate, kwargs=generate_kwargs)
83
  t.start()
 
77
  pad_token_id = tokenizer.eos_token_id,
78
  repetition_penalty=repetition_penalty,
79
  no_repeat_ngram_size=5,
80
+ early_stopping=False,
81
  )
82
  t = Thread(target=model.generate, kwargs=generate_kwargs)
83
  t.start()