Skip to content

Commit

Permalink
Removing extra blank lines that were breaking Lint. (ggerganov#8067)
Browse files Browse the repository at this point in the history
  • Loading branch information
HanClinto authored Jun 22, 2024
1 parent 3e58b0e commit b5a5f34
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions convert-hf-to-gguf.py
Original file line number Diff line number Diff line change
Expand Up @@ -973,8 +973,6 @@ def set_vocab(self):
if max_vocab_index >= vocab_size:
raise ValueError("Vocabulary size exceeds expected maximum size.")



reverse_vocab: dict[int, str] = {id_: encoded_tok for encoded_tok, id_ in tokenizer.vocab.items()}
added_vocab = tokenizer.get_added_vocab()

Expand Down

0 comments on commit b5a5f34

Please sign in to comment.