MCPcopy Index your code
hub / github.com/deepspeedai/DeepSpeedExamples / get_mapping_header

Function get_mapping_header

Megatron-LM/scripts/split_json.py:89–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

87 write_file(m, path)
88
89def get_mapping_header():
90 return 'file\tline #'
91
92if not os.path.exists(args.output_dir):
93 os.makedirs(args.output_dir)

Callers 1

write_mapping_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected