MCPcopy Create free account
hub / github.com/BeastyZ/ConvSearch-R1 / __init__

Method __init__

index/dense/utils.py:117–121  ·  view source on GitHub ↗
(self, elements, fn)

Source from the content-addressed store, hash-verified

115
116class StreamingDataset(IterableDataset):
117 def __init__(self, elements, fn):
118 super().__init__()
119 self.elements = elements
120 self.fn = fn
121 self.num_replicas = -1
122
123 def __iter__(self):
124 if dist.is_initialized():

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected