Unverified Commit b2309cc6 authored by Arnav Sharma's avatar Arnav Sharma Committed by GitHub
Browse files

Typo fix in `training` doc (#5495)

parent 7ecff0cc
...@@ -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 provides by your dataset and returns a takes in the data in the format provided 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``.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment