Output the training statistics

Is there a way to access the accuracy and F1 score data of DIET Classifier of each epoch after the training? It would be useful for creating for visualizations of the statistics.