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
b2309cc6
Unverified
Commit
b2309cc6
authored
Jul 06, 2020
by
Arnav Sharma
Committed by
GitHub
Jul 06, 2020
Browse files
Typo fix in `training` doc (#5495)
parent
7ecff0cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/source/training.rst
docs/source/training.rst
+1
-1
No files found.
docs/source/training.rst
View file @
b2309cc6
...
@@ -272,7 +272,7 @@ optimize.
...
@@ -272,7 +272,7 @@ optimize.
:func:`~transformers.Trainer` uses a built-in default function to collate
:func:`~transformers.Trainer` uses a built-in default function to collate
batches and prepare them to be fed into the model. If needed, you can also
batches and prepare them to be fed into the model. If needed, you can also
use the ``data_collator`` argument to pass your own collator function which
use the ``data_collator`` argument to pass your own collator function which
takes in the data in the format provide
s
by your dataset and returns a
takes in the data in the format provide
d
by your dataset and returns a
batch ready to be fed into the model. Note that
batch ready to be fed into the model. Note that
:func:`~transformers.TFTrainer` expects the passed datasets to be dataset
:func:`~transformers.TFTrainer` expects the passed datasets to be dataset
objects from ``tensorflow_datasets``.
objects from ``tensorflow_datasets``.
...
...
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