MCPcopy Create free account
hub / github.com/InternScience/SciReason / build

Method build

opencompass/models/interntrain.py:22–29  ·  view source on GitHub ↗
(module_path)

Source from the content-addressed store, hash-verified

20
21 @staticmethod
22 def build(module_path):
23 sys.path.insert(0, module_path)
24 try:
25 from internlm.core.context.registry import \
26 register_model_initializer # noqa: F401
27 return CurrentInternTrainManager(module_path)
28 except ImportError:
29 return LegacyInternTrainManager(module_path)
30
31
32class CurrentInternTrainManager(InternTrainManager):

Callers 15

print_promptsFunction · 0.80
build_from_cfgFunction · 0.80
build_dataset_from_cfgFunction · 0.80
build_model_from_cfgFunction · 0.80
launchMethod · 0.80
submitMethod · 0.80
_launchMethod · 0.80
submitFunction · 0.80
launchMethod · 0.80
_launchMethod · 0.80
_launchMethod · 0.80
__init__Method · 0.80

Calls 2

Tested by

no test coverage detected