diff options
author | Alex Petenchea <alex.petenchea@gmail.com> | 2023-08-22 21:58:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 21:58:16 +0300 |
commit | 3b6cfe7c927df178ca3c11643c3ec93e143471c9 (patch) | |
tree | f1aee314aa5740422886c4ca3c5fc0798634d203 | |
parent | 800c9635b4a9390126f397870f3a825fc7455bd1 (diff) |
convert.py : clarifying error message (#2718)
-rw-r--r-- | convert.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}'") |