Files
2026-05-12 17:10:15 +09:00

9 lines
219 B
Python

from abc import ABC, abstractmethod
from typing import List, Optional, Tuple
class BaseReranker(ABC):
@abstractmethod
def predict(self, sentences: List[Tuple[str, str]]) -> Optional[List[float]]:
pass