Update convert-hf-to-gguf.py

Removing the print statement as its not required.

Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
This commit is contained in:
Abhishek Gopinath K 2024-04-03 13:02:17 +05:30 committed by GitHub
parent 57ce61a307
commit d52df2102a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -323,7 +323,6 @@ class Model(ABC):
toktypes: list[int] = [] toktypes: list[int] = []
if not tokenizer_path.is_file(): if not tokenizer_path.is_file():
print(f'Error: Missing {tokenizer_path}', file=sys.stderr)
raise FileNotFoundError(f"File not found: {tokenizer_path}") raise FileNotFoundError(f"File not found: {tokenizer_path}")
tokenizer = SentencePieceProcessor(str(tokenizer_path)) tokenizer = SentencePieceProcessor(str(tokenizer_path))