mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-25 10:54:36 +00:00
Removing extra blank lines that were breaking Lint. (#8067)
This commit is contained in:
parent
3e58b0ee35
commit
b5a5f34efa
@ -973,8 +973,6 @@ class XverseModel(Model):
|
|||||||
if max_vocab_index >= vocab_size:
|
if max_vocab_index >= vocab_size:
|
||||||
raise ValueError("Vocabulary size exceeds expected maximum 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()}
|
reverse_vocab: dict[int, str] = {id_: encoded_tok for encoded_tok, id_ in tokenizer.vocab.items()}
|
||||||
added_vocab = tokenizer.get_added_vocab()
|
added_vocab = tokenizer.get_added_vocab()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user