Removing extra blank lines that were breaking Lint.

This commit is contained in:
Clint Herron 2024-06-22 14:10:46 -04:00
parent 3e58b0ee35
commit 3f6a259dc3

View file

@ -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()