Skip to content

Commit

Permalink
fix: removed record type properties
Browse files Browse the repository at this point in the history
  • Loading branch information
bpiwowar committed Mar 6, 2024
1 parent 18973c8 commit 151fbdf
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/datamaestro_text/data/ir/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,16 +303,6 @@ class PairwiseSample(ABC):
"""Non relevant documents, organized in a dictionary where keys
are the algorithm used to retrieve the negatives"""

@property
@abstractmethod
def topic_recordtype(self) -> Type[DocumentRecord]:
"""The class for topics"""

@property
@abstractmethod
def document_recordtype(self) -> Type[DocumentRecord]:
"""The class for documents"""


class PairwiseSampleDataset(Base, ABC):
"""Datasets where each record is a query with positive and negative samples"""
Expand Down

0 comments on commit 151fbdf

Please sign in to comment.