Removing extra blank lines that were breaking Lint. (#8067)

This commit is contained in:
Clint Herron 2024-06-22 14:28:18 -04:00 committed by GitHub
parent 3e58b0ee35
commit b5a5f34efa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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