Closed gokceuludogan closed 5 months ago
EvalPrediction can have inputs as well.
I had added something for this in my branch for QA. Can you check it? It should now be merged anyway.
Fixed and tested! It seems to be working fine. For future reference, I believe it would be beneficial to have a separate PR for this.
Fixed and tested! It seems to be working fine. For future reference, I believe it would be beneficial to have a separate PR for this.
I don't have a PR 😅
This pull request fixes the case when
compute_metrics
gets anEvalPrediction
parameter rather than a tuple.A condition is added to handle such case.
The new version is tested on summarization.