MCPcopy Index your code
hub / github.com/zai-org/CodeGeeX / exists

Method exists

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

Source from the content-addressed store, hash-verified

221
222 @staticmethod
223 def exists(path):
224 return os.path.exists(index_file_path(path)) and os.path.exists(
225 data_file_path(path)
226 )
227
228 @property
229 def supports_prefetch(self):

Callers 15

ensure_directory_existsFunction · 0.45
infer_dataset_implFunction · 0.45
make_datasetFunction · 0.45
dataset_existsFunction · 0.45
existsMethod · 0.45
from_pretrainedMethod · 0.45
unsafe_executeFunction · 0.45
inspect_resultFunction · 0.45

Calls 2

index_file_pathFunction · 0.85
data_file_pathFunction · 0.85

Tested by

no test coverage detected