MCPcopy Create free account
hub / github.com/Pints-AI/1.5-Pints / write_meta

Method write_meta

tokenizer/convert/convert.py:1073–1075  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1071 self.gguf.add_tensor_info(name, tensor.shape, data_type, data_nbytes, raw_dtype=raw_dtype)
1072
1073 def write_meta(self) -> None:
1074 self.gguf.write_header_to_file()
1075 self.gguf.write_kv_data_to_file()
1076
1077 def write_tensor_info(self) -> None:
1078 self.gguf.write_ti_data_to_file()

Callers 2

write_vocab_onlyMethod · 0.95
write_allMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected