alakxender commited on
Commit
910b9f4
1 Parent(s): 0453eb7
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -13,6 +13,8 @@ def generate_text(prompt, max_length, temperature):
13
  generated = generator(
14
  prompt,
15
  max_length=max_length,
 
 
16
  temperature=temperature,
17
  do_sample=True,
18
  repetition_penalty=1.4
 
13
  generated = generator(
14
  prompt,
15
  max_length=max_length,
16
+ #num_beams=10,
17
+ #no_repeat_ngram_size=2,
18
  temperature=temperature,
19
  do_sample=True,
20
  repetition_penalty=1.4