Apply suggestions from code review
Co-authored-by: compilade <git@compilade.net>
This commit is contained in:
parent
51032b15e1
commit
6200b43661
1 changed files with 3 additions and 3 deletions
|
@ -225,11 +225,11 @@ def translate_tensor_name(name):
|
|||
def dump_markdown_metadata(reader: GGUFReader, args: argparse.Namespace) -> None:
|
||||
host_endian, file_endian = get_file_host_endian(reader)
|
||||
markdown_content = ""
|
||||
markdown_content += f'# {args.model} - GGUF Internal File Dump\n'
|
||||
markdown_content += f'* Endian: {file_endian} endian\n'
|
||||
markdown_content += f'# {args.model} - GGUF Internal File Dump\n\n'
|
||||
markdown_content += f'- Endian: {file_endian} endian\n'
|
||||
markdown_content += '\n'
|
||||
markdown_content += '## Key Value Metadata Store\n\n'
|
||||
markdown_content += f'There is {len(reader.fields)} key/value pair(s) in this file\n'
|
||||
markdown_content += f'There are {len(reader.fields)} key-value pairs in this file\n'
|
||||
markdown_content += '\n'
|
||||
|
||||
kv_dump_table: list[dict[str, str | int]] = []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue