Accept suggestion

Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>
This commit is contained in:
Pedro Cuenca
2024-04-19 22:12:20 +02:00
committed by GitHub
parent 112c4c4e9b
commit f3105b9eec
+1 -1
View File
@@ -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()