Skip to content

Commit

Permalink
singular
Browse files Browse the repository at this point in the history
  • Loading branch information
CISC authored Sep 25, 2024
1 parent 87793d4 commit 41efa86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gguf-py/scripts/gguf_new_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def copy_with_new_metadata(reader: gguf.GGUFReader, writer: gguf.GGUFWriter, new
del new_metadata[gguf.Keys.Tokenizer.CHAT_TEMPLATE]

if gguf.Keys.Tokenizer.INVERSE_TEMPLATE in new_metadata:
logger.debug('Adding inverse template(s)')
logger.debug('Adding inverse template')
writer.add_inverse_template(new_metadata[gguf.Keys.Tokenizer.INVERSE_TEMPLATE].value)
del new_metadata[gguf.Keys.Tokenizer.INVERSE_TEMPLATE]

Expand Down

0 comments on commit 41efa86

Please sign in to comment.