rageval
rageval copied to clipboard
enhance base metric
Enhance the base metric for robust evaluation:
- add attribute:
self.task
to distinguish input format. - add function:
def _validate_data(self, input: Dataset) -> bool
to check the validity of the data.