From 455f81711f9e7fb058e1a545609f03ed99feb02c Mon Sep 17 00:00:00 2001 From: JohnnyC08 Date: Wed, 31 Mar 2021 15:28:07 -0700 Subject: [PATCH] Update training_args.py (#11000) In the group by length documentation length is misspelled as legnth --- src/transformers/training_args.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/transformers/training_args.py b/src/transformers/training_args.py index 3a870ee81c5a..9e5535529065 100644 --- a/src/transformers/training_args.py +++ b/src/transformers/training_args.py @@ -281,7 +281,7 @@ class TrainingArguments: Whether or not to use the :class:`~transformers.Adafactor` optimizer instead of :class:`~transformers.AdamW`. group_by_length (:obj:`bool`, `optional`, defaults to :obj:`False`): - Whether or not to group together samples of roughly the same legnth in the training dataset (to minimize + Whether or not to group together samples of roughly the same length in the training dataset (to minimize padding applied and be more efficient). Only useful if applying dynamic padding. length_column_name (:obj:`str`, `optional`, defaults to :obj:`"length"`): Column name for precomputed lengths. If the column exists, grouping by length will use these values rather