Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jlamypoirier committed Jan 16, 2025
1 parent 6ef932c commit 7f24b9b
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions fast_llm/data/dataset/gpt/indexed.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,6 @@


class GPTIndexedDataset(IndexedDataset):
"""
A GPT dataset containing a list of samples.
"""

# def get(self, index: int, offset: int = 0, length: int | None = None):
# pass

# def __len__(self) -> int:
# """
# Number of documents in the dataset.
# Can be calculated from document sizes but may be overridden if there is a better method.
# """
# return len(self.get_document_sizes())

@abc.abstractmethod
def get_document_sizes(self) -> np.ndarray:
"""
Expand Down

0 comments on commit 7f24b9b

Please sign in to comment.