MCPcopy
hub / github.com/huggingface/transformers / on_train_end

Method on_train_end

src/transformers/trainer_callback.py:356–359  ·  view source on GitHub ↗

Event called at the end of training.

(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs)

Source from the content-addressed store, hash-verified

354 """
355
356 def on_train_end(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs):
357 """
358 Event called at the end of training.
359 """
360
361 def on_epoch_begin(self, args: TrainingArguments, state: TrainerState, control: TrainerControl, **kwargs):
362 """

Callers 2

_finalize_trainingMethod · 0.45
_report_to_hp_searchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected