MCPcopy Create free account
hub / github.com/kyegomez/BitNet / __len__

Method __len__

train.py:66–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

64 return full_seq
65
66 def __len__(self):
67 return self.data.size(0) // self.seq_len
68
69
70train_dataset = TextSamplerDataset(data_train, SEQ_LEN)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected