trying to figure out everything needed when I train a custom model with trainer.
- As far as I understand - output should be tuple with loss value first.
- the function provided to compute_metrics takes EvalPrediction. How is the value passed to my compute metrics function created? How does trainer know how to build the input to this compute_metrics function