mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-28 15:18:26 +01:00
Accept suggestion
Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>
This commit is contained in:
parent
112c4c4e9b
commit
f3105b9eec
@ -1303,7 +1303,7 @@ class LlamaModel(Model):
|
|||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
try:
|
try:
|
||||||
self._set_vocab_llama_hf()
|
self._set_vocab_llama_hf()
|
||||||
except TypeError:
|
except (FileNotFoundError, TypeError):
|
||||||
# Llama 3
|
# Llama 3
|
||||||
self._set_vocab_gpt2()
|
self._set_vocab_gpt2()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user