pszemraj commited on
Commit
a79c40a
·
1 Parent(s): b6fced7

increase max length for large

Browse files

Signed-off-by: peter szemraj <peterszemraj@gmail.com>

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -28,7 +28,7 @@ def proc_submission(
28
  length_penalty,
29
  repetition_penalty,
30
  no_repeat_ngram_size,
31
- max_input_length: int = 768,
32
  ):
33
  """
34
  proc_submission - a helper function for the gradio module to process submissions
@@ -41,7 +41,7 @@ def proc_submission(
41
  length_penalty (float): the length penalty to use
42
  repetition_penalty (float): the repetition penalty to use
43
  no_repeat_ngram_size (int): the no repeat ngram size to use
44
- max_input_length (int, optional): the maximum input length to use. Defaults to 768.
45
 
46
  Returns:
47
  str in HTML format, string of the summary, str of score
 
28
  length_penalty,
29
  repetition_penalty,
30
  no_repeat_ngram_size,
31
+ max_input_length: int = 1024,
32
  ):
33
  """
34
  proc_submission - a helper function for the gradio module to process submissions
 
41
  length_penalty (float): the length penalty to use
42
  repetition_penalty (float): the repetition penalty to use
43
  no_repeat_ngram_size (int): the no repeat ngram size to use
44
+ max_input_length (int, optional): the maximum input length to use. Defaults to 1024.
45
 
46
  Returns:
47
  str in HTML format, string of the summary, str of score