Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
transformers
Commits
455f8171
Unverified
Commit
455f8171
authored
Mar 31, 2021
by
JohnnyC08
Committed by
GitHub
Mar 31, 2021
Browse files
Update training_args.py (#11000)
In the group by length documentation length is misspelled as legnth
parent
01068abd
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/transformers/training_args.py
src/transformers/training_args.py
+1
-1
No files found.
src/transformers/training_args.py
View file @
455f8171
...
...
@@ -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 le
g
nth in the training dataset (to minimize
Whether or not to group together samples of roughly the same len
g
th 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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment