mic3333 commited on
Commit
3fd1485
·
verified ·
1 Parent(s): 59c9957

edit model params

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -37,9 +37,9 @@ def summarize(text):
37
  # Generate summary
38
  output = pipe(
39
  formatted_input,
40
- max_new_tokens=512,
41
  do_sample=True,
42
- temperature=0.7,
43
  top_p=0.9,
44
  return_full_text=False
45
  )
 
37
  # Generate summary
38
  output = pipe(
39
  formatted_input,
40
+ max_new_tokens=2000,
41
  do_sample=True,
42
+ temperature=0.3,
43
  top_p=0.9,
44
  return_full_text=False
45
  )