Fixing a typo in the data_collator documentation (#13309)
This commit is contained in:
committed by
GitHub
parent
062300ba7f
commit
11fbc32e3e
@@ -18,7 +18,7 @@ the same type as the elements of :obj:`train_dataset` or :obj:`eval_dataset`.
|
|||||||
|
|
||||||
To be able to build batches, data collators may apply some processing (like padding). Some of them (like
|
To be able to build batches, data collators may apply some processing (like padding). Some of them (like
|
||||||
:class:`~transformers.DataCollatorForLanguageModeling`) also apply some random data augmentation (like random masking)
|
:class:`~transformers.DataCollatorForLanguageModeling`) also apply some random data augmentation (like random masking)
|
||||||
oin the formed batch.
|
on the formed batch.
|
||||||
|
|
||||||
Examples of use can be found in the :doc:`example scripts <../examples>` or :doc:`example notebooks <../notebooks>`.
|
Examples of use can be found in the :doc:`example scripts <../examples>` or :doc:`example notebooks <../notebooks>`.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user