Difference between using or not compute_metric

Compute metrics is to help track how the training is performing. It does not affect the training itself.
So think of it is a reporting function that calculates extended metrics to help you evaluate the quality of training. You can then use the metrics it reports to fine tune the training.

see this example here.

1 Like