Unverified Commit 9062d1ba authored by Stephen Kaplan's avatar Stephen Kaplan Committed by GitHub
Browse files

Fix grammar error in summarization pipeline (#23080)

Fix minor grammar issue
parent 849367cc
......@@ -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})"
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment