plugins.hf_seq_classification.module_classes
#
HfSeqClassificationModule ObjectsTask specific ModuleInterface used with a trainer.
The data
and model
properties must be set.
Arguments:
ModuleInterface
[type] - [description]
#
__init__Initialize training module.
Arguments:
args
arguments.ModuleArguments - Dataclassdata
HfSeqClassificationDataInterface - PyMarlin data interfsce
#
on_end_val_epochCompute metrics at the end of each val epoch. Metric function is specified by args.metric. values contains all values returned by val_step all_gathered over all processes and all steps