MCPcopy Create free account
hub / github.com/THUDM/LongWriter / __len__

Method __len__

train/dataset.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 }
69
70 def __len__(self):
71 return self.input_ids.size(0)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected