Minor fix

This commit is contained in:
Chime Ogbuji 2024-11-06 12:58:00 -05:00
parent e45ce38f86
commit 90e2da881c

View File

@ -113,7 +113,7 @@ class CompletionsDatasetCollection:
def get_prompt_and_completion(self, idx: int):
def getitem(dataset: CompletionsDataset, index: int):
dataset.get_prompt_and_completion(index)
return dataset.get_prompt_and_completion(index)
return self.__fetch_and_process_item__(idx, getitem)