MCPcopy Create free account
hub / github.com/CONE-MT/LLaMAX / __init__

Method __init__

scripts/inference/eval.py:19–25  ·  view source on GitHub ↗
(self, yamlf)

Source from the content-addressed store, hash-verified

17class YamlReader():
18
19 def __init__(self, yamlf):
20
21 if os.path.exists(yamlf):
22 self.yamlf = yamlf
23 else:
24 raise FileExistsError("文件不存在!")
25 self._data = None # 私有属性
26
27 @property
28 def data(self):

Callers 1

__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected