MCPcopy Create free account
hub / github.com/Tele-AI/Telechat / __init__

Method __init__

deepspeed-telechat/utils/data/data_utils.py:40–42  ·  view source on GitHub ↗
(self, chosen_dataset)

Source from the content-addressed store, hash-verified

38class PromptDataset(Dataset):
39
40 def __init__(self, chosen_dataset) -> None:
41 super().__init__()
42 self.dataset = chosen_dataset
43
44 def __len__(self):
45 length = len(self.dataset)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected