MCPcopy Create free account
hub / github.com/OpenBitSys/BitDistiller / __len__

Method __len__

train/train.py:208–209  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

206 print(f"Using {len(self.sources)} samples to evaluation")
207
208 def __len__(self):
209 return len(self.sources)
210
211 def __getitem__(self, i):
212 return dict(input_ids=self.sources[i], labels=self.targets[i])

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected