From f3105b9eec4b967fafc6ea6ecba8ee8018c74fcc Mon Sep 17 00:00:00 2001 From: Pedro Cuenca Date: Fri, 19 Apr 2024 22:12:20 +0200 Subject: [PATCH] Accept suggestion Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com> --- convert-hf-to-gguf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convert-hf-to-gguf.py b/convert-hf-to-gguf.py index ecc53d803..86c5f0ac5 100755 --- a/convert-hf-to-gguf.py +++ b/convert-hf-to-gguf.py @@ -1303,7 +1303,7 @@ class LlamaModel(Model): except FileNotFoundError: try: self._set_vocab_llama_hf() - except TypeError: + except (FileNotFoundError, TypeError): # Llama 3 self._set_vocab_gpt2()