transformers/docs/source/en/internal/trainer_utils.md
jiaqiw09 a502b0d427
translate internal folder files to chinese (#27638)
* translate

* update

* update

---------

Co-authored-by: jiaqiw <wangjiaqi50@huawei.com>
2023-12-04 10:04:28 -08:00

1.4 KiB

Utilities for Trainer

This page lists all the utility functions used by [Trainer].

Most of those are only useful if you are studying the code of the Trainer in the library.

Utilities

autodoc EvalPrediction

autodoc IntervalStrategy

autodoc enable_full_determinism

autodoc set_seed

autodoc torch_distributed_zero_first

Callbacks internals

autodoc trainer_callback.CallbackHandler

Distributed Evaluation

autodoc trainer_pt_utils.DistributedTensorGatherer

Trainer Argument Parser

autodoc HfArgumentParser

Debug Utilities

autodoc debug_utils.DebugUnderflowOverflow