From: Alex Petenchea Date: Tue, 22 Aug 2023 18:58:16 +0000 (+0300) Subject: convert.py : clarifying error message (#2718) X-Git-Tag: gguf-v0.4.0~281 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=3b6cfe7c927df178ca3c11643c3ec93e143471c9;p=pkg%2Fggml%2Fsources%2Fllama.cpp convert.py : clarifying error message (#2718) --- diff --git a/convert.py b/convert.py index 71978d67..e720889f 100644 --- a/convert.py +++ b/convert.py @@ -964,7 +964,7 @@ def load_vocab(path: Path, vocabtype: Optional[str]) -> Union[BpeVocab, Sentence path = path3 else: raise FileNotFoundError( - f"Could not find tokenizer.model in {path} or its parent; " + f"Could not find {vocab_file} in {path} or its parent; " "if it's in another directory, pass the directory as --vocab-dir") print(f"Loading vocab file '{path}', type '{vocabtype}'")