UNIST-Eunchan
commited on
Commit
•
b79a664
1
Parent(s):
08748c3
Update README.md
Browse files
README.md
CHANGED
@@ -92,7 +92,7 @@ Paper Summarization
|
|
92 |
```(python)
|
93 |
model.generate(input_ids =inputs["input_ids"].to(device),
|
94 |
attention_mask=inputs["attention_mask"].to(device),
|
95 |
-
num_beam_groups=
|
96 |
|
97 |
```
|
98 |
|
|
|
92 |
```(python)
|
93 |
model.generate(input_ids =inputs["input_ids"].to(device),
|
94 |
attention_mask=inputs["attention_mask"].to(device),
|
95 |
+
num_beam_groups=16,diversity_penalty=1.0,num_beams=16,min_length=100,max_length=128*4)
|
96 |
|
97 |
```
|
98 |
|