Spaces:
Sleeping
Sleeping
Quintino Fernandes
commited on
Commit
·
a897978
1
Parent(s):
da25e0f
better model parameters
Browse files- 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=
|
25 |
-
no_repeat_ngram_size=
|
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 |
|