MCPcopy Create free account
hub / github.com/HA-Transformer/MAT / train

Function train

fairseq_cli/train.py:101–166  ·  view source on GitHub ↗

Train the model for one epoch.

(args, trainer, task, epoch_itr)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.70

Calls 12

AverageMeterClass · 0.90
get_meterMethod · 0.80
save_checkpointMethod · 0.80
get_training_statsFunction · 0.70
validateFunction · 0.70
next_epoch_itrMethod · 0.45
train_stepMethod · 0.45
updateMethod · 0.45
logMethod · 0.45
resetMethod · 0.45
get_num_updatesMethod · 0.45
printMethod · 0.45

Tested by

no test coverage detected