From: Clint Herron Date: Sat, 22 Jun 2024 18:28:18 +0000 (-0400) Subject: Removing extra blank lines that were breaking Lint. (#8067) X-Git-Tag: upstream/0.0.4488~1284 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=b5a5f34efadec8d8f0057b35cb04742abfeb2ef5;p=pkg%2Fggml%2Fsources%2Fllama.cpp Removing extra blank lines that were breaking Lint. (#8067) --- diff --git a/convert-hf-to-gguf.py b/convert-hf-to-gguf.py index 166e5ded..3107b69f 100755 --- a/convert-hf-to-gguf.py +++ b/convert-hf-to-gguf.py @@ -973,8 +973,6 @@ class XverseModel(Model): 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()