Typo fix in training doc (#5495)
This commit is contained in:
@@ -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``.
|
||||||
|
|||||||
Reference in New Issue
Block a user