mohamedemam commited on
Commit
1a21a35
1 Parent(s): 5158f90

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +0 -1
app.py CHANGED
@@ -71,7 +71,6 @@ def generate_qa(context, recommended_word, temperature, top_p,num_seq, num_sampl
71
  max_length=100,
72
  num_beams=6,
73
  length_penalty=1.4,
74
- top_k=0
75
  )
76
  #
77
  generated_text = tokenizer.batch_decode(output, skip_special_tokens=True)
 
71
  max_length=100,
72
  num_beams=6,
73
  length_penalty=1.4,
 
74
  )
75
  #
76
  generated_text = tokenizer.batch_decode(output, skip_special_tokens=True)