Update TransformersEstimator._compute_metrics_by_dataset_name
Open
enhancement
- Dominant language
- Jupyter Notebook
- Stars
- 4.4k
- Forks
- 565
- Avg merge
- 5d 8m
- Merged PRs (30d)
- 17
Description
Update TransformersEstimator._compute_metrics_by_dataset_name so it can merge the two cases into one function: (1) when the metric is a string, (2) when the metric is a custom function.
Use self._metric(eval_pred, self) to merge the two cases.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.