MCPcopy Create free account
hub / github.com/zai-org/CodeGeeX / __init__

Method __init__

codegeex/megatron/data/indexed_dataset.py:465–472  ·  view source on GitHub ↗
(self, path, skip_warmup=False)

Source from the content-addressed store, hash-verified

463 return self._len
464
465 def __init__(self, path, skip_warmup=False):
466 super().__init__()
467
468 self._path = None
469 self._index = None
470 self._bin_buffer = None
471
472 self._do_init(path, skip_warmup)
473
474 def __getstate__(self):
475 return self._path

Callers

nothing calls this directly

Calls 2

_do_initMethod · 0.95
__init__Method · 0.45

Tested by

no test coverage detected