github-actions[bot]
GitHub deploy: 80a39906aa5c7b13aa2c54023368c295ec269a79
f36f7ce
from abc import ABC, abstractmethod
from typing import Optional, List, Tuple
class BaseReranker(ABC):
@abstractmethod
def predict(self, sentences: List[Tuple[str, str]]) -> Optional[List[float]]:
pass