mirror of
https://github.com/ml-explore/mlx-examples.git
synced 2025-08-28 15:08:37 +08:00
Minor fix
This commit is contained in:
parent
4890870053
commit
69282ab7fc
@ -116,7 +116,7 @@ class CompletionsDatasetCollection:
|
|||||||
|
|
||||||
def get_prompt_and_completion(self, idx: int):
|
def get_prompt_and_completion(self, idx: int):
|
||||||
def getitem(dataset: CompletionsDataset, index: 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)
|
return self.__fetch_and_process_item__(idx, getitem)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user