Skip to content

Commit

Permalink
convert-hf : correct wrong variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
sszymczy committed Jun 14, 2024
1 parent b6694e2 commit b885765
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert-hf-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -2800,7 +2800,7 @@ def set_vocab(self):
self.gguf_writer.add_token_scores(scores)
self.gguf_writer.add_token_types(toktypes)
self.gguf_writer.add_add_space_prefix(add_prefix)
self.gguf_writer.add_remove_extra_whitespaces(add_prefix)
self.gguf_writer.add_remove_extra_whitespaces(remove_whitespaces)
if precompiled_charsmap:
self.gguf_writer.add_precompiled_charsmap(precompiled_charsmap)

Expand Down

0 comments on commit b885765

Please sign in to comment.