Fixes typo in the help text for --max_length (#20883)

This commit is contained in:
Márton Makrai
2022-12-24 08:07:06 +01:00
committed by GitHub
parent a081f292ca
commit 3830b3f74a

View File

@@ -88,7 +88,7 @@ def parse_args():
default=128, default=128,
help=( help=(
"The maximum total input sequence length after tokenization. Sequences longer than this will be truncated," "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( parser.add_argument(