Spaces:
Sleeping
Sleeping
| from abc import ABC, abstractmethod | |
| from .datatypes import QAPair | |
| class BaseEvaluator(ABC): | |
| def evaluate(self, pair: QAPair) -> float: | |
| """ | |
| Evaluate the text and return a score. | |
| """ | |