From 3830b3f74a57b3bcf6f14016c483fb0bb14b01ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A1rton=20Makrai?= Date: Sat, 24 Dec 2022 08:07:06 +0100 Subject: [PATCH] Fixes typo in the help text for --max_length (#20883) --- examples/pytorch/text-classification/run_glue_no_trainer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pytorch/text-classification/run_glue_no_trainer.py b/examples/pytorch/text-classification/run_glue_no_trainer.py index 75aeb52e6f..f6c9af68d2 100644 --- a/examples/pytorch/text-classification/run_glue_no_trainer.py +++ b/examples/pytorch/text-classification/run_glue_no_trainer.py @@ -88,7 +88,7 @@ def parse_args(): default=128, help=( "The maximum total input sequence length after tokenization. Sequences longer than this will be truncated," - " sequences shorter will be padded if `--pad_to_max_lengh` is passed." + " sequences shorter will be padded if `--pad_to_max_length` is passed." ), ) parser.add_argument(