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

Method exists

codegeex/megatron/data/indexed_dataset.py:558–561  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

556
557 @staticmethod
558 def exists(path):
559 return os.path.exists(index_file_path(path)) and os.path.exists(
560 data_file_path(path)
561 )
562
563
564class MMapIndexedDatasetBuilder(object):

Callers

nothing calls this directly

Calls 3

index_file_pathFunction · 0.85
data_file_pathFunction · 0.85
existsMethod · 0.45

Tested by

no test coverage detected