MCPcopy Index your code
hub / github.com/microsoft/BitNet / get_model_name

Function get_model_name

setup_env.py:87–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 return platform.system(), ARCH_ALIAS[platform.machine()]
86
87def get_model_name():
88 if args.hf_repo:
89 return SUPPORTED_HF_MODELS[args.hf_repo]["model_name"]
90 return os.path.basename(os.path.normpath(args.model_dir))
91
92def run_command(command, shell=False, log_step=None):
93 """Run a system command and ensure it succeeds."""

Callers 1

gen_codeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected