Skip to content

Commit 3853e3a

Browse files
committed
convert-hf : remove duplicated initialization of variables
1 parent 8a30bd0 commit 3853e3a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

convert-hf-to-gguf.py

-4
Original file line numberDiff line numberDiff line change
@@ -2785,10 +2785,6 @@ def set_vocab(self):
27852785

27862786
tokenizer_path = self.dir_model / 'spiece.model'
27872787

2788-
tokens: list[bytes] = []
2789-
scores: list[float] = []
2790-
toktypes: list[int] = []
2791-
27922788
if not tokenizer_path.is_file():
27932789
raise FileNotFoundError(f"File not found: {tokenizer_path}")
27942790

0 commit comments

Comments
 (0)