hey @dbejarano31, assuming that you want to log the training metrics during training, i think there are (at least) two options:
- subclass
TrainerCallback
(docs) to create a custom callback that logs the training metrics by triggering an event withon_evaluate
- subclass
Trainer
and override theevaluate
function (docs) to inject the additional evaluation code
option 2 might be easier to implement since you can use the existing logic as a template