MCPcopy Create free account
hub / github.com/ZinYY/TreeLoRA / __len__

Method __len__

utils/data/data_utils.py:231–232  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

229 assert len(self.prompt_dataset) == len(self.answer_dataset)
230
231 def __len__(self):
232 return len(self.prompt_dataset)
233
234 def __getitem__(self, idx):
235 return {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected