Quintino Fernandes commited on
Commit
a897978
·
1 Parent(s): da25e0f

better model parameters

Browse files
Files changed (1) hide show
  1. models/summarization.py +2 -2
models/summarization.py CHANGED
@@ -21,8 +21,8 @@ class SummarizationModel:
21
  inputs,
22
  max_length=512,
23
  min_length=128,
24
- num_beams=3,
25
- no_repeat_ngram_size=4,
26
  early_stopping=False,
27
  )
28
 
 
21
  inputs,
22
  max_length=512,
23
  min_length=128,
24
+ num_beams=5,
25
+ no_repeat_ngram_size=3,
26
  early_stopping=False,
27
  )
28