Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: compilade <[email protected]>
  • Loading branch information
mofosyne and compilade authored Jun 17, 2024
1 parent 51032b1 commit 6200b43
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gguf-py/scripts/gguf-dump.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]] = []
Expand Down

0 comments on commit 6200b43

Please sign in to comment.