Skip to content

Commit 6200b43

Browse files
mofosynecompilade
andauthored
Apply suggestions from code review
Co-authored-by: compilade <[email protected]>
1 parent 51032b1 commit 6200b43

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

gguf-py/scripts/gguf-dump.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -225,11 +225,11 @@ def translate_tensor_name(name):
225225
def dump_markdown_metadata(reader: GGUFReader, args: argparse.Namespace) -> None:
226226
host_endian, file_endian = get_file_host_endian(reader)
227227
markdown_content = ""
228-
markdown_content += f'# {args.model} - GGUF Internal File Dump\n'
229-
markdown_content += f'* Endian: {file_endian} endian\n'
228+
markdown_content += f'# {args.model} - GGUF Internal File Dump\n\n'
229+
markdown_content += f'- Endian: {file_endian} endian\n'
230230
markdown_content += '\n'
231231
markdown_content += '## Key Value Metadata Store\n\n'
232-
markdown_content += f'There is {len(reader.fields)} key/value pair(s) in this file\n'
232+
markdown_content += f'There are {len(reader.fields)} key-value pairs in this file\n'
233233
markdown_content += '\n'
234234

235235
kv_dump_table: list[dict[str, str | int]] = []

0 commit comments

Comments
 (0)