Fix grammar error in summarization pipeline (#23080)
Fix minor grammar issue
This commit is contained in:
@@ -273,7 +273,7 @@ class SummarizationPipeline(Text2TextGenerationPipeline):
|
||||
|
||||
if input_length < max_length:
|
||||
logger.warning(
|
||||
f"Your max_length is set to {max_length}, but you input_length is only {input_length}. You might "
|
||||
f"Your max_length is set to {max_length}, but your input_length is only {input_length}. You might "
|
||||
f"consider decreasing max_length manually, e.g. summarizer('...', max_length={input_length//2})"
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user