Spaces:
Running
Running
num_beam_groups to 1 default
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def generate_text(
|
|
20 |
num_beams=4,
|
21 |
no_repeat_ngram_size=2,
|
22 |
length_penalty=1.0,
|
23 |
-
num_beam_groups=
|
24 |
# perma params (not set by user)
|
25 |
repetition_penalty=3.5,
|
26 |
abs_max_length=512,
|
|
|
20 |
num_beams=4,
|
21 |
no_repeat_ngram_size=2,
|
22 |
length_penalty=1.0,
|
23 |
+
num_beam_groups=1,
|
24 |
# perma params (not set by user)
|
25 |
repetition_penalty=3.5,
|
26 |
abs_max_length=512,
|