Rahmat82 commited on
Commit
8a6d2b6
·
verified ·
1 Parent(s): f2dd7d6

options edited

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -13,7 +13,7 @@ async def summarize(text):
13
  "options": {
14
  "max_new_tokens": 50,
15
  "min_length": 20,
16
- "max_length": 500,
17
  "length_penalty": 2.0,
18
  "num_beams": 3,
19
  "early_stopping": True
 
13
  "options": {
14
  "max_new_tokens": 50,
15
  "min_length": 20,
16
+ "max_length": 300,
17
  "length_penalty": 2.0,
18
  "num_beams": 3,
19
  "early_stopping": True