Skip to content

Commit

Permalink
Update training_args.py (#11000)
Browse files Browse the repository at this point in the history
In the group by length documentation length is misspelled as legnth
  • Loading branch information
JohnnyC08 authored Mar 31, 2021
1 parent 01068ab commit 455f817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/transformers/training_args.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 455f817

Please sign in to comment.