Accept suggestion
Co-authored-by: Sourab Mangrulkar <13534540+pacman100@users.noreply.github.com>
This commit is contained in:
parent
112c4c4e9b
commit
f3105b9eec
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue